diff options
author | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-10-03 12:44:31 +0300 |
---|---|---|
committer | Anton Kudryavtsev <a.kudryavtsev@netris.ru> | 2016-10-06 13:18:29 +0000 |
commit | d38e849e2fa3f31a5a979157646f3367488866b7 (patch) | |
tree | 14790a98014109131837fdfc3e2d4233853ad8b6 /src/imports/xmllistmodel/qqmlxmllistmodel_p.h | |
parent | 142a56ecb94be24dad7a9bb753b1abd7f2ada3d9 (diff) |
Imports: add missing 'override'
... and drop redundant 'virtual'
Change-Id: I13246ff07a219d41c9e0fd11fbc6a0b00109912a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/imports/xmllistmodel/qqmlxmllistmodel_p.h')
-rw-r--r-- | src/imports/xmllistmodel/qqmlxmllistmodel_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel_p.h b/src/imports/xmllistmodel/qqmlxmllistmodel_p.h index f0096a9125..409dfa876d 100644 --- a/src/imports/xmllistmodel/qqmlxmllistmodel_p.h +++ b/src/imports/xmllistmodel/qqmlxmllistmodel_p.h @@ -95,10 +95,10 @@ public: QQuickXmlListModel(QObject *parent = 0); ~QQuickXmlListModel(); - QModelIndex index(int row, int column, const QModelIndex &parent) const; - int rowCount(const QModelIndex &parent) const; - QVariant data(const QModelIndex &index, int role) const; - QHash<int, QByteArray> roleNames() const; + QModelIndex index(int row, int column, const QModelIndex &parent) const override; + int rowCount(const QModelIndex &parent) const override; + QVariant data(const QModelIndex &index, int role) const override; + QHash<int, QByteArray> roleNames() const override; int count() const; @@ -124,8 +124,8 @@ public: Q_INVOKABLE QString errorString() const; - virtual void classBegin(); - virtual void componentComplete(); + void classBegin() override; + void componentComplete() override; Q_SIGNALS: void statusChanged(QQuickXmlListModel::Status); |