diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-08-31 14:06:43 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-08-31 17:51:23 +0000 |
commit | cc0829cbf300e56360e3d61efe4dfd20efcabb1c (patch) | |
tree | 93588c45ffe61103f33c0865853c69016579e688 /src/quick | |
parent | 9e1166fd817f93f8819fdd55bed52e43c431434d (diff) |
Remove dubious API features and clutter from Pointer Handler headers
Change-Id: Ica67409f3138828d8a33fef2d67ad799a5a063f5
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/handlers/qquickdraghandler_p.h | 1 | ||||
-rw-r--r-- | src/quick/handlers/qquickpinchhandler_p.h | 2 | ||||
-rw-r--r-- | src/quick/handlers/qquicksinglepointhandler.cpp | 1 | ||||
-rw-r--r-- | src/quick/handlers/qquicksinglepointhandler_p.h | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/src/quick/handlers/qquickdraghandler_p.h b/src/quick/handlers/qquickdraghandler_p.h index c419e26a3d..387a81eb43 100644 --- a/src/quick/handlers/qquickdraghandler_p.h +++ b/src/quick/handlers/qquickdraghandler_p.h @@ -77,7 +77,6 @@ public: void enforceConstraints(); Q_SIGNALS: -// void gestureStarted(QQuickGestureEvent *gesture); void translationChanged(); protected: diff --git a/src/quick/handlers/qquickpinchhandler_p.h b/src/quick/handlers/qquickpinchhandler_p.h index 2dde763080..8f24d18166 100644 --- a/src/quick/handlers/qquickpinchhandler_p.h +++ b/src/quick/handlers/qquickpinchhandler_p.h @@ -154,8 +154,6 @@ private: QVector<PointData> m_startAngles; QMatrix4x4 m_startMatrix; QQuickMatrix4x4 m_transform; - - }; QT_END_NAMESPACE diff --git a/src/quick/handlers/qquicksinglepointhandler.cpp b/src/quick/handlers/qquicksinglepointhandler.cpp index 2e264ec5b6..82e5b1b05d 100644 --- a/src/quick/handlers/qquicksinglepointhandler.cpp +++ b/src/quick/handlers/qquicksinglepointhandler.cpp @@ -163,7 +163,6 @@ void QQuickSinglePointHandler::onGrabChanged(QQuickPointerHandler *grabber, QQui reset(); break; } - emit singlePointGrabChanged(); } void QQuickSinglePointHandler::setIgnoreAdditionalPoints(bool v) diff --git a/src/quick/handlers/qquicksinglepointhandler_p.h b/src/quick/handlers/qquicksinglepointhandler_p.h index 028839ac04..b9e5b12224 100644 --- a/src/quick/handlers/qquicksinglepointhandler_p.h +++ b/src/quick/handlers/qquicksinglepointhandler_p.h @@ -67,7 +67,6 @@ public: Q_SIGNALS: void pointChanged(); - void singlePointGrabChanged(); // QQuickPointerHandler::grabChanged signal can't be a property notifier here protected: bool wantsPointerEvent(QQuickPointerEvent *event) override; |