aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickscrollbar_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/qquickscrollbar_p.h')
-rw-r--r--src/templates/qquickscrollbar_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/templates/qquickscrollbar_p.h b/src/templates/qquickscrollbar_p.h
index 6171d26e..b944f92a 100644
--- a/src/templates/qquickscrollbar_p.h
+++ b/src/templates/qquickscrollbar_p.h
@@ -115,8 +115,6 @@ private:
Q_DECLARE_PRIVATE(QQuickScrollBar)
};
-Q_DECLARE_TYPEINFO(QQuickScrollBar, Q_COMPLEX_TYPE);
-
class QQuickScrollBarAttachedPrivate;
class Q_LABSTEMPLATES_EXPORT QQuickScrollBarAttached : public QObject
@@ -127,6 +125,7 @@ class Q_LABSTEMPLATES_EXPORT QQuickScrollBarAttached : public QObject
public:
explicit QQuickScrollBarAttached(QQuickFlickable *flickable);
+ ~QQuickScrollBarAttached();
QQuickScrollBar *horizontal() const;
void setHorizontal(QQuickScrollBar *horizontal);
@@ -143,10 +142,9 @@ private:
Q_DECLARE_PRIVATE(QQuickScrollBarAttached)
};
-Q_DECLARE_TYPEINFO(QQuickScrollBarAttached, Q_COMPLEX_TYPE);
-
QT_END_NAMESPACE
+QML_DECLARE_TYPE(QQuickScrollBar)
QML_DECLARE_TYPEINFO(QQuickScrollBar, QML_HAS_ATTACHED_PROPERTIES)
#endif // QQUICKSCROLLBAR_P_H