diff options
Diffstat (limited to 'src/QuickStreamer/item.h')
-rw-r--r-- | src/QuickStreamer/item.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/QuickStreamer/item.h b/src/QuickStreamer/item.h index beff427..bc0bf24 100644 --- a/src/QuickStreamer/item.h +++ b/src/QuickStreamer/item.h @@ -2,6 +2,7 @@ #define QQUICKSTREAMER_ITEM_H #include <QObject> +#include <QQmlListProperty> #include <QQmlParserStatus> typedef unsigned long GType; @@ -33,6 +34,8 @@ public: void classBegin() Q_DECL_OVERRIDE; void componentComplete() Q_DECL_OVERRIDE; + GstObject *target() const; + protected: int readProperty(int id, QVariant *value); int writeProperty(int id, const void *value); @@ -44,4 +47,6 @@ private: } // namespace QQuickStreamer +Q_DECLARE_METATYPE(QQmlListProperty<QQuickStreamer::Item>) + #endif // QQUICKSTREAMER_ITEM_H |