aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/qquickscrollbar_p.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-07-27 14:15:51 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-07-27 13:10:33 +0000
commitd147f3ea83409edbeaa0ea58a5eb45c01e14dd56 (patch)
tree9ceabdb95faf5f7098118da89c349c2be42d5131 /src/controls/qquickscrollbar_p.h
parent81d6b5d262da419f591adf66205e0456f588ba2c (diff)
Use Q_DECLARE_TYPEINFO for all classes.
This is following the advice in the mailing list: http://lists.qt-project.org/pipermail/development/2015-July/022283.html Change-Id: I900f68c0cc6979f413016bb177446a1e93b01bc5 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/controls/qquickscrollbar_p.h')
-rw-r--r--src/controls/qquickscrollbar_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/qquickscrollbar_p.h b/src/controls/qquickscrollbar_p.h
index 9326ccd8..270b2757 100644
--- a/src/controls/qquickscrollbar_p.h
+++ b/src/controls/qquickscrollbar_p.h
@@ -110,6 +110,8 @@ private:
Q_DECLARE_PRIVATE(QQuickScrollBar)
};
+Q_DECLARE_TYPEINFO(QQuickScrollBar, Q_COMPLEX_TYPE);
+
class QQuickScrollBarAttachedPrivate;
class Q_QUICKCONTROLS_EXPORT QQuickScrollBarAttached : public QObject
@@ -136,6 +138,8 @@ private:
Q_DECLARE_PRIVATE(QQuickScrollBarAttached)
};
+Q_DECLARE_TYPEINFO(QQuickScrollBarAttached, Q_COMPLEX_TYPE);
+
QT_END_NAMESPACE
QML_DECLARE_TYPEINFO(QQuickScrollBar, QML_HAS_ATTACHED_PROPERTIES)