diff options
author | hjk <qtc-committer@nokia.com> | 2009-10-15 10:40:46 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-10-15 10:41:11 (GMT) |
commit | 0f3e7310de5b3ca8cfd2ec5da4e408fb638926d8 (patch) | |
tree | 416600b3e84f3b973af8632d3dd9b75dc256fef5 /src | |
parent | 428c56a3a622df3f9164c3e52b729877bc679585 (diff) | |
download | Qt-0f3e7310de5b3ca8cfd2ec5da4e408fb638926d8.zip Qt-0f3e7310de5b3ca8cfd2ec5da4e408fb638926d8.tar.gz Qt-0f3e7310de5b3ca8cfd2ec5da4e408fb638926d8.tar.bz2 |
fix compilation with namespaces
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qgesture.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h index 0034819..02eb526 100644 --- a/src/gui/kernel/qgesture.h +++ b/src/gui/kernel/qgesture.h @@ -51,12 +51,12 @@ QT_BEGIN_HEADER +Q_DECLARE_METATYPE(Qt::GestureState) + QT_BEGIN_NAMESPACE QT_MODULE(Gui) -Q_DECLARE_METATYPE(Qt::GestureState) - class QGesturePrivate; class Q_GUI_EXPORT QGesture : public QObject { @@ -180,8 +180,12 @@ public: friend class QPinchGestureRecognizer; }; +QT_END_NAMESPACE + Q_DECLARE_METATYPE(QPinchGesture::WhatChanged) +QT_BEGIN_NAMESPACE + class QSwipeGesturePrivate; class Q_GUI_EXPORT QSwipeGesture : public QGesture { |