summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qgesture_p.h')
-rw-r--r--src/gui/kernel/qgesture_p.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/kernel/qgesture_p.h b/src/gui/kernel/qgesture_p.h
index 745590b..8a76186 100644
--- a/src/gui/kernel/qgesture_p.h
+++ b/src/gui/kernel/qgesture_p.h
@@ -56,11 +56,14 @@
#include "qrect.h"
#include "qpoint.h"
#include "qdatetime.h"
+#include "private/qobject_p.h"
QT_BEGIN_NAMESPACE
-class QGesturePrivate
+class QGesturePrivate : public QObjectPrivate
{
+ Q_DECLARE_PUBLIC(QGesture)
+
public:
QGesturePrivate()
: duration(0) { }
@@ -90,6 +93,8 @@ public:
class QPannableGesturePrivate : public QGesturePrivate
{
+ Q_DECLARE_PUBLIC(QPannableGesture)
+
public:
QPannableGesture::DirectionType lastDirection;
QPannableGesture::DirectionType direction;