aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquicktoolbutton_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/qquicktoolbutton_p.h')
-rw-r--r--src/templates/qquicktoolbutton_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/qquicktoolbutton_p.h b/src/templates/qquicktoolbutton_p.h
index d3bb4fe7..25f2134d 100644
--- a/src/templates/qquicktoolbutton_p.h
+++ b/src/templates/qquicktoolbutton_p.h
@@ -63,8 +63,8 @@ protected:
QFont defaultFont() const Q_DECL_OVERRIDE;
};
-Q_DECLARE_TYPEINFO(QQuickToolButton, Q_COMPLEX_TYPE);
-
QT_END_NAMESPACE
+QML_DECLARE_TYPE(QQuickToolButton)
+
#endif // QQUICKTOOLBUTTON_P_H