summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpcontentwidget.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-14 03:20:58 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2016-12-14 12:28:34 +0000
commit8df4b1deec1296b562dacb6a0b5c84ed7fdb08cf (patch)
treef46cf70c39eb2bdeb8e57620ee93647f3d7a7bc7 /src/assistant/help/qhelpcontentwidget.h
parent380c6abac71d8d300e088943cf5ce757b378775e (diff)
Assistant: Add missing override and remove redundant virtual
Change-Id: I29ad763c013b9a41862c45a7e39b34d9c856ab04 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'src/assistant/help/qhelpcontentwidget.h')
-rw-r--r--src/assistant/help/qhelpcontentwidget.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/assistant/help/qhelpcontentwidget.h b/src/assistant/help/qhelpcontentwidget.h
index 06a34fe98..a4b0ce273 100644
--- a/src/assistant/help/qhelpcontentwidget.h
+++ b/src/assistant/help/qhelpcontentwidget.h
@@ -88,12 +88,12 @@ public:
void createContents(const QString &customFilterName);
QHelpContentItem *contentItemAt(const QModelIndex &index) const;
- QVariant data(const QModelIndex &index, int role) const;
+ QVariant data(const QModelIndex &index, int role) const override;
QModelIndex index(int row, int column,
- const QModelIndex &parent = QModelIndex()) const;
- QModelIndex parent(const QModelIndex &index) const;
- int rowCount(const QModelIndex &parent = QModelIndex()) const;
- int columnCount(const QModelIndex &parent = QModelIndex()) const;
+ const QModelIndex &parent = QModelIndex()) const override;
+ QModelIndex parent(const QModelIndex &index) const override;
+ int rowCount(const QModelIndex &parent = QModelIndex()) const override;
+ int columnCount(const QModelIndex &parent = QModelIndex()) const override;
bool isCreatingContents() const;
Q_SIGNALS: