summaryrefslogtreecommitdiffstats
path: root/src/imports/multimedia/qdeclarativeplaylist_p.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-11 15:10:11 +0300
committerYoann Lopes <yoann.lopes@qt.io>2016-12-12 15:29:53 +0000
commit32e35a8839085d88ddbf289ba2669c6745e9a04a (patch)
tree8a009ea34d44114ee4cfabf275cdf95fb9bf159a /src/imports/multimedia/qdeclarativeplaylist_p.h
parentc89e2ea249015142f59c8ea440b6e36bac6f96c9 (diff)
Add missing override and remove redundant virtual
Change-Id: Ifd439abf21877adff57080489324bea729ee5279 Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/imports/multimedia/qdeclarativeplaylist_p.h')
-rw-r--r--src/imports/multimedia/qdeclarativeplaylist_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/imports/multimedia/qdeclarativeplaylist_p.h b/src/imports/multimedia/qdeclarativeplaylist_p.h
index 22c85360..fa221a05 100644
--- a/src/imports/multimedia/qdeclarativeplaylist_p.h
+++ b/src/imports/multimedia/qdeclarativeplaylist_p.h
@@ -126,12 +126,12 @@ public:
QString errorString() const;
QMediaPlaylist *mediaPlaylist() const { return m_playlist; }
- int rowCount(const QModelIndex &parent = QModelIndex()) const;
- QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
- QHash<int, QByteArray> roleNames() const;
+ int rowCount(const QModelIndex &parent = QModelIndex()) const override;
+ QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
+ QHash<int, QByteArray> roleNames() const override;
- void classBegin();
- void componentComplete();
+ void classBegin() override;
+ void componentComplete() override;
QQmlListProperty<QDeclarativePlaylistItem> items() {
return QQmlListProperty<QDeclarativePlaylistItem>(