diff options
author | Mathias Hasselmann <mathias.hasselmann@kdab.com> | 2013-10-19 23:18:23 +0200 |
---|---|---|
committer | Mathias Hasselmann <mathias.hasselmann@kdab.com> | 2013-10-19 23:18:23 +0200 |
commit | 8dc7502ac0a86569945769d790ed79b4cd966079 (patch) | |
tree | 14fe506c9d02164fc358ae1988197008b0d5815d /src/object.h | |
parent | 05c12c6d9af430c3637d43866059e88af28c034b (diff) | |
download | qtquickstreamer-8dc7502ac0a86569945769d790ed79b4cd966079.tar.gz qtquickstreamer-8dc7502ac0a86569945769d790ed79b4cd966079.tar.xz |
Emit signals upon property change
Diffstat (limited to 'src/object.h')
-rw-r--r-- | src/object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object.h b/src/object.h index 43fe227..60b8e0e 100644 --- a/src/object.h +++ b/src/object.h @@ -3,6 +3,7 @@ #include <QObject> +typedef struct _GParamSpec GParamSpec; typedef struct _GstObject GstObject; namespace QQuickStreamer { @@ -28,6 +29,7 @@ public: protected: int readProperty(int id, QVariant *value); int writeProperty(int id, const QVariant &value); + static void emitPropertyChanged(Object *self, GParamSpec *pspec); private: GstObject *const m_target; |