aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickmenu_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/qquickmenu_p.h')
-rw-r--r--src/templates/qquickmenu_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/templates/qquickmenu_p.h b/src/templates/qquickmenu_p.h
index b70ca49f..9ed3f45c 100644
--- a/src/templates/qquickmenu_p.h
+++ b/src/templates/qquickmenu_p.h
@@ -67,7 +67,7 @@ class Q_LABSTEMPLATES_EXPORT QQuickMenu : public QQuickPopup
Q_CLASSINFO("DefaultProperty", "contentData")
public:
- explicit QQuickMenu(QObject *parent = Q_NULLPTR);
+ explicit QQuickMenu(QObject *parent = nullptr);
Q_INVOKABLE QQuickItem *itemAt(int index) const;
Q_INVOKABLE void addItem(QQuickItem *item);
@@ -82,16 +82,16 @@ public:
void setTitle(QString &title);
protected:
- void componentComplete() Q_DECL_OVERRIDE;
- void contentItemChange(QQuickItem *newItem, QQuickItem *oldItem) Q_DECL_OVERRIDE;
- bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE;
+ void componentComplete() override;
+ void contentItemChange(QQuickItem *newItem, QQuickItem *oldItem) override;
+ bool eventFilter(QObject *object, QEvent *event) override;
Q_SIGNALS:
void titleChanged();
protected:
#ifndef QT_NO_ACCESSIBILITY
- QAccessible::Role accessibleRole() const Q_DECL_OVERRIDE;
+ QAccessible::Role accessibleRole() const override;
#endif // QT_NO_ACCESSIBILITY
private: