summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt/qwinrtfiledialoghelper.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-11-30 12:47:22 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2016-11-30 10:51:36 +0000
commitaac3a4c032d3aa96c8c25402bbc72c78348401d0 (patch)
tree9642730ae95fd6ca6addb4858e055f5c3c2950eb /src/plugins/platforms/winrt/qwinrtfiledialoghelper.h
parent0a2759e8f8c0fa295eff1a5bb5aefd074851d5d6 (diff)
winrt: Replace Q_DECL_OVERRIDE by override
We can use 'override' keyword directly since Qt 5.7. Change-Id: I31127478a0a96798a4e018d9996842204e307552 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtfiledialoghelper.h')
-rw-r--r--src/plugins/platforms/winrt/qwinrtfiledialoghelper.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtfiledialoghelper.h b/src/plugins/platforms/winrt/qwinrtfiledialoghelper.h
index f88bed76ae..1ff2249bcb 100644
--- a/src/plugins/platforms/winrt/qwinrtfiledialoghelper.h
+++ b/src/plugins/platforms/winrt/qwinrtfiledialoghelper.h
@@ -72,20 +72,20 @@ public:
explicit QWinRTFileDialogHelper();
~QWinRTFileDialogHelper();
- void exec() Q_DECL_OVERRIDE;
- bool show(Qt::WindowFlags, Qt::WindowModality, QWindow *) Q_DECL_OVERRIDE;
- void hide() Q_DECL_OVERRIDE;
+ void exec() override;
+ bool show(Qt::WindowFlags, Qt::WindowModality, QWindow *) override;
+ void hide() override;
#ifdef Q_OS_WINPHONE
- bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE;
+ bool eventFilter(QObject *o, QEvent *e) override;
#endif
- bool defaultNameFilterDisables() const Q_DECL_OVERRIDE { return false; }
- void setDirectory(const QUrl &directory) Q_DECL_OVERRIDE;
- QUrl directory() const Q_DECL_OVERRIDE;
+ bool defaultNameFilterDisables() const override { return false; }
+ void setDirectory(const QUrl &directory) override;
+ QUrl directory() const override;
void selectFile(const QUrl &saveFileName);
- QList<QUrl> selectedFiles() const Q_DECL_OVERRIDE;
- void setFilter() Q_DECL_OVERRIDE { }
- void selectNameFilter(const QString &selectedNameFilter) Q_DECL_OVERRIDE;
+ QList<QUrl> selectedFiles() const override;
+ void setFilter() override { }
+ void selectNameFilter(const QString &selectedNameFilter) override;
QString selectedNameFilter() const;
#ifndef Q_OS_WINPHONE