summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets/icons/imagedelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets/icons/imagedelegate.h')
-rw-r--r--examples/widgets/widgets/icons/imagedelegate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/widgets/widgets/icons/imagedelegate.h b/examples/widgets/widgets/icons/imagedelegate.h
index e3777d4130..7d143d2140 100644
--- a/examples/widgets/widgets/icons/imagedelegate.h
+++ b/examples/widgets/widgets/icons/imagedelegate.h
@@ -54,10 +54,10 @@ public:
//! [1]
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
- const QModelIndex &index) const;
- void setEditorData(QWidget *editor, const QModelIndex &index) const;
+ const QModelIndex &index) const Q_DECL_OVERRIDE;
+ void setEditorData(QWidget *editor, const QModelIndex &index) const Q_DECL_OVERRIDE;
void setModelData(QWidget *editor, QAbstractItemModel *model,
- const QModelIndex &index) const;
+ const QModelIndex &index) const Q_DECL_OVERRIDE;
//! [1] //! [2]
private slots: