diff options
Diffstat (limited to 'src/ui/MxcMediaProxy.h')
-rw-r--r-- | src/ui/MxcMediaProxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/MxcMediaProxy.h b/src/ui/MxcMediaProxy.h index 5c2eac33..d245dcae 100644 --- a/src/ui/MxcMediaProxy.h +++ b/src/ui/MxcMediaProxy.h @@ -8,6 +8,7 @@ #include <QMediaPlayer> #include <QObject> #include <QPointer> +#include <QQuickItem> #include <QString> #include <QUrl> #include <QVideoSink> @@ -21,6 +22,8 @@ class TimelineModel; class MxcMediaProxy : public QMediaPlayer { Q_OBJECT + QML_NAMED_ELEMENT(MxcMedia) + Q_PROPERTY(TimelineModel *roomm READ room WRITE setRoom NOTIFY roomChanged REQUIRED) Q_PROPERTY(QString eventId READ eventId WRITE setEventId NOTIFY eventIdChanged) Q_PROPERTY(bool loaded READ loaded NOTIFY loadedChanged) |