summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/input/qtouch3dinputhandler.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2014-01-16 13:33:57 +0200
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2014-01-16 13:49:43 +0200
commit8674307d6bafabfcaedfe175b883313f0e7d88b9 (patch)
tree4428b5c4d3dc305d0290b9929a7f703b11fe73f6 /src/datavisualization/input/qtouch3dinputhandler.cpp
parentd2c37e276d17fb91163188878988894df993e69b (diff)
Reintroduced namespace macros
Task-number: QTRD-2594 Change-Id: I31e1ea20fd590d7bdf3d1218d696915c22c3426b Change-Id: I31e1ea20fd590d7bdf3d1218d696915c22c3426b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization/input/qtouch3dinputhandler.cpp')
-rw-r--r--src/datavisualization/input/qtouch3dinputhandler.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/datavisualization/input/qtouch3dinputhandler.cpp b/src/datavisualization/input/qtouch3dinputhandler.cpp
index f5be97df..909beb74 100644
--- a/src/datavisualization/input/qtouch3dinputhandler.cpp
+++ b/src/datavisualization/input/qtouch3dinputhandler.cpp
@@ -21,7 +21,7 @@
#include <QTimer>
#include <qmath.h>
-namespace QtDataVisualization {
+QT_BEGIN_NAMESPACE_DATAVISUALIZATION
const float maxTapAndHoldJitter = 20.0f;
const int maxPinchJitter = 10;
@@ -36,7 +36,7 @@ const int minZoomLevel = 10;
const int maxZoomLevel = 500;
/*!
- * \class QtDataVisualization::QTouch3DInputHandler
+ * \class QTouch3DInputHandler
* \inmodule QtDataVisualization
* \brief Basic touch display based input handler.
* \since Qt Data Visualization 1.0
@@ -129,10 +129,6 @@ void QTouch3DInputHandler::touchEvent(QTouchEvent *event)
}
}
-/*!
- * \class QtDataVisualization::QTouch3DInputHandlerPrivate
- * \internal
- */
QTouch3DInputHandlerPrivate::QTouch3DInputHandlerPrivate(QTouch3DInputHandler *q)
: q_ptr(q),
m_holdTimer(0)
@@ -213,4 +209,4 @@ void QTouch3DInputHandlerPrivate::handleRotation(const QPointF &position)
}
}
-}
+QT_END_NAMESPACE_DATAVISUALIZATION