aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickswitch_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/qquickswitch_p.h')
-rw-r--r--src/templates/qquickswitch_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/qquickswitch_p.h b/src/templates/qquickswitch_p.h
index 2670c863..94d0d601 100644
--- a/src/templates/qquickswitch_p.h
+++ b/src/templates/qquickswitch_p.h
@@ -83,8 +83,8 @@ private:
Q_DECLARE_PRIVATE(QQuickSwitch)
};
-Q_DECLARE_TYPEINFO(QQuickSwitch, Q_COMPLEX_TYPE);
-
QT_END_NAMESPACE
+QML_DECLARE_TYPE(QQuickSwitch)
+
#endif // QQUICKSWITCH_P_H