summaryrefslogtreecommitdiff
path: root/src/dialogs/qquickabstractcolordialog_p.h
diff options
context:
space:
mode:
authorAlexander Volkov <avolkov@astralinux.ru>2020-05-20 17:12:14 +0300
committerAlexander Volkov <avolkov@astralinux.ru>2020-05-25 08:54:56 +0000
commita2f9eaf552b58a258beb25d29691fff97276e198 (patch)
tree29b532f84ce4f73168297a8ae5ecb92b8e6231d3 /src/dialogs/qquickabstractcolordialog_p.h
parent052eb295cd5c0d7aa101e7fe30e53ecf3f894361 (diff)
downloadqtquickcontrols-a2f9eaf552b58a258beb25d29691fff97276e198.tar.gz
Add missing override
Pick-to: 5.15 Change-Id: Iba896b0af174ed28a27413d7343427cf9b4600d3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/dialogs/qquickabstractcolordialog_p.h')
-rw-r--r--src/dialogs/qquickabstractcolordialog_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dialogs/qquickabstractcolordialog_p.h b/src/dialogs/qquickabstractcolordialog_p.h
index 16b39c26..e65c2556 100644
--- a/src/dialogs/qquickabstractcolordialog_p.h
+++ b/src/dialogs/qquickabstractcolordialog_p.h
@@ -73,7 +73,7 @@ public:
QQuickAbstractColorDialog(QObject *parent = 0);
virtual ~QQuickAbstractColorDialog();
- virtual QString title() const;
+ QString title() const override;
bool showAlphaChannel() const;
QColor color() const { return m_color; }
QColor currentColor() const { return m_currentColor; }
@@ -83,9 +83,9 @@ public:
qreal currentAlpha() const { return m_currentColor.alphaF(); }
public Q_SLOTS:
- void setVisible(bool v);
- void setModality(Qt::WindowModality m);
- void setTitle(const QString &t);
+ void setVisible(bool v) override;
+ void setModality(Qt::WindowModality m) override;
+ void setTitle(const QString &t) override;
void setColor(QColor arg);
void setCurrentColor(QColor currentColor);
void setShowAlphaChannel(bool arg);
@@ -97,7 +97,7 @@ Q_SIGNALS:
void selectionAccepted();
protected Q_SLOTS:
- virtual void accept();
+ void accept() override;
protected:
QPlatformColorDialogHelper *m_dlgHelper;