summaryrefslogtreecommitdiff
path: root/src/QuickStreamer
diff options
context:
space:
mode:
authorMathias Hasselmann <mathias.hasselmann@kdab.com>2013-11-03 11:15:51 +0100
committerMathias Hasselmann <mathias.hasselmann@kdab.com>2013-11-03 11:15:51 +0100
commit43bcbea6d3807010a5041cc054de5a7ea3c2e146 (patch)
tree0792913bc4f4f8aa0438dfb8d4ca8b6fbdda5fe2 /src/QuickStreamer
parent6e887d4410690f248fc89801969afda40c4af66d (diff)
Rename metapads into itempads
Diffstat (limited to 'src/QuickStreamer')
-rw-r--r--src/QuickStreamer/QuickStreamer.pro14
-rw-r--r--src/QuickStreamer/item.cpp2
-rw-r--r--src/QuickStreamer/itempads.h (renamed from src/QuickStreamer/metapads.h)5
3 files changed, 13 insertions, 8 deletions
diff --git a/src/QuickStreamer/QuickStreamer.pro b/src/QuickStreamer/QuickStreamer.pro
index 68095f2..ac9415f 100644
--- a/src/QuickStreamer/QuickStreamer.pro
+++ b/src/QuickStreamer/QuickStreamer.pro
@@ -8,14 +8,14 @@ CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-1.0
SOURCES = \
- metapads.cpp \
+ itempads.cpp \
plugin.cpp \
item.cpp
HEADERS = \
- metapads.h \
plugin.h \
- item.h
+ item.h \
+ itempads.h
DEPLOY_FILES = \
qmldir
@@ -24,9 +24,9 @@ OTHER_FILES = \
$$DEPLOY_FILES \
quickstreamerplugin.json
-metapads.target = metapads.cpp
-metapads.depends = $$OUT_PWD/../Tools/makemetapads
-metapads.commands = $$OUT_PWD/../Tools/makemetapads 256 4096 > $$metapads.target || rm -f $$metapads.target
-QMAKE_EXTRA_TARGETS += metapads
+itempads.target = itempads.cpp
+itempads.depends = $$OUT_PWD/../Tools/makeitempads
+itempads.commands = $$OUT_PWD/../Tools/makeitempads 256 4096 > $$itempads.target || rm -f $$itempads.target
+QMAKE_EXTRA_TARGETS += itempads
for(FILE, DEPLOY_FILES):QMAKE_POST_LINK += $$quote($$QMAKE_COPY $$PWD/$$FILE $$FILE$$escape_expand(\n\t))
diff --git a/src/QuickStreamer/item.cpp b/src/QuickStreamer/item.cpp
index f710f04..7539d07 100644
--- a/src/QuickStreamer/item.cpp
+++ b/src/QuickStreamer/item.cpp
@@ -1,5 +1,5 @@
#include "item.h"
-#include "metapads.h"
+#include "itempads.h"
#include <gst/gst.h>
diff --git a/src/QuickStreamer/metapads.h b/src/QuickStreamer/itempads.h
index ee16485..744f037 100644
--- a/src/QuickStreamer/metapads.h
+++ b/src/QuickStreamer/itempads.h
@@ -1,3 +1,6 @@
+#ifndef QQUICKSTREAMER_ITEMPADS_H
+#define QQUICKSTREAMER_ITEMPADS_H
+
#include "item.h"
namespace QQuickStreamer {
@@ -16,3 +19,5 @@ struct MetaTypePads
} // namespace QQuickStreamer
} // namespace Private
+
+#endif // QQUICKSTREAMER_ITEMPADS_H