summaryrefslogtreecommitdiff
path: root/src/sensors/gestures
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2011-11-22 18:29:03 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-22 10:29:24 +0100
commitf0b3d0f65e1be0bc15c5686baa125a2d4a0354b8 (patch)
tree8f479e43db6c200fd16163ef92ed0f38f5b749eb /src/sensors/gestures
parent4e80bd41bca2f027d348341e36b9a6027d54a2b9 (diff)
downloadqtsensors-f0b3d0f65e1be0bc15c5686baa125a2d4a0354b8.tar.gz
Fixed QtSensors namespace compilation.
Change-Id: If31a32c903034585ef8211fa17abb6747e64951f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'src/sensors/gestures')
-rw-r--r--src/sensors/gestures/qsensorgesturemanager.cpp4
-rw-r--r--src/sensors/gestures/qsensorgesturemanagerprivate_p.h4
-rw-r--r--src/sensors/gestures/qsensorgestureplugininterface.h3
3 files changed, 10 insertions, 1 deletions
diff --git a/src/sensors/gestures/qsensorgesturemanager.cpp b/src/sensors/gestures/qsensorgesturemanager.cpp
index cdc3f5f..7f38c2e 100644
--- a/src/sensors/gestures/qsensorgesturemanager.cpp
+++ b/src/sensors/gestures/qsensorgesturemanager.cpp
@@ -44,6 +44,8 @@
Q_GLOBAL_STATIC(QSensorGestureManagerPrivate, sensorGestureManagerPrivate)
+QT_BEGIN_NAMESPACE
+
/*!
\class QSensorGestureManager
\ingroup sensorgestures_main
@@ -125,3 +127,5 @@ QSensorGestureRecognizer *QSensorGestureManager::sensorGestureRecognizer(const Q
{
return sensorGestureManagerPrivate()->sensorGestureRecognizer(id);
}
+
+QT_END_NAMESPACE
diff --git a/src/sensors/gestures/qsensorgesturemanagerprivate_p.h b/src/sensors/gestures/qsensorgesturemanagerprivate_p.h
index 1bf527a..94773c7 100644
--- a/src/sensors/gestures/qsensorgesturemanagerprivate_p.h
+++ b/src/sensors/gestures/qsensorgesturemanagerprivate_p.h
@@ -52,6 +52,8 @@
#include "qsensorgesture.h"
#include "qsensorgesturerecognizer.h"
+QT_BEGIN_NAMESPACE
+
class QFactoryLoader;
class QSensorGestureManagerPrivate : public QObject
@@ -79,4 +81,6 @@ Q_SIGNALS:
void newSensorGestureAvailable();
};
+QT_END_NAMESPACE
+
#endif // QSENSORGESTUREMANAGERPRIVATE_P_H
diff --git a/src/sensors/gestures/qsensorgestureplugininterface.h b/src/sensors/gestures/qsensorgestureplugininterface.h
index f5ce846..dd67af6 100644
--- a/src/sensors/gestures/qsensorgestureplugininterface.h
+++ b/src/sensors/gestures/qsensorgestureplugininterface.h
@@ -67,7 +67,8 @@ private:
QStringList keys() const;
};
-QT_END_NAMESPACE
Q_DECLARE_INTERFACE(QSensorGesturePluginInterface, QSensorGestureFactoryInterface_iid);
+QT_END_NAMESPACE
+
#endif // QSENSORGESTUREPLUGININTERFACE_H