diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-19 04:25:45 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2010-03-19 05:32:17 (GMT) |
commit | ace866a969cd438b9f1dc11b7d40a99f53a13009 (patch) | |
tree | 723d5855bceb2d0b6aa755c7a85395b2db6292cd /src/imports/multimedia/qdeclarativemediabase_p.h | |
parent | 0d4572595698502e04f491bfea3e16bb1851b645 (diff) | |
download | Qt-ace866a969cd438b9f1dc11b7d40a99f53a13009.zip Qt-ace866a969cd438b9f1dc11b7d40a99f53a13009.tar.gz Qt-ace866a969cd438b9f1dc11b7d40a99f53a13009.tar.bz2 |
Add autoLoad property to multimedia declarative elements.
Task-number: QTBUG-8947
Reviewed-by: Andrew den Exter
Diffstat (limited to 'src/imports/multimedia/qdeclarativemediabase_p.h')
-rw-r--r-- | src/imports/multimedia/qdeclarativemediabase_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/imports/multimedia/qdeclarativemediabase_p.h b/src/imports/multimedia/qdeclarativemediabase_p.h index d279f4a..43df54d 100644 --- a/src/imports/multimedia/qdeclarativemediabase_p.h +++ b/src/imports/multimedia/qdeclarativemediabase_p.h @@ -76,6 +76,9 @@ public: QUrl source() const; void setSource(const QUrl &url); + bool isAutoLoad() const; + void setAutoLoad(bool autoLoad); + bool isPlaying() const; void setPlaying(bool playing); @@ -115,6 +118,7 @@ protected: void setObject(QObject *object); virtual void sourceChanged() = 0; + virtual void autoLoadChanged() = 0; virtual void playingChanged() = 0; virtual void pausedChanged() = 0; @@ -146,6 +150,8 @@ protected: bool m_paused; bool m_playing; + bool m_autoLoad; + bool m_loaded; bool m_muted; int m_position; qreal m_volume; |