diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-07 10:01:23 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-11-15 09:43:41 +0000 |
commit | b59336e73aca6915d96bbdc673710693d27e1096 (patch) | |
tree | 78a6f33d49e749c20b1890fafc26f4ea88b40037 /src/quick/handlers/qquickhandlersmodule.cpp | |
parent | 3ae8b478e334fe307ec4b5d6b3ae39eb984fe6b3 (diff) |
add PointHandler
Change-Id: Iad9ba3f8121ff22136e85413ec610bc1ee361e37
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickhandlersmodule.cpp')
-rw-r--r-- | src/quick/handlers/qquickhandlersmodule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/handlers/qquickhandlersmodule.cpp b/src/quick/handlers/qquickhandlersmodule.cpp index 8472c6a062..c9e08fe4f2 100644 --- a/src/quick/handlers/qquickhandlersmodule.cpp +++ b/src/quick/handlers/qquickhandlersmodule.cpp @@ -41,6 +41,7 @@ #include "qquickpointerhandler_p.h" #include "qquickdraghandler_p.h" #include "qquickpinchhandler_p.h" +#include "qquickpointhandler_p.h" #include "qquicktaphandler_p.h" static void initResources() @@ -82,6 +83,7 @@ static void qt_quickhandlers_defineModule(const char *uri, int major, int minor) qmlRegisterUncreatableType<QQuickPointerHandler>(uri,major,minor,"PointerHandler", QQuickPointerHandler::tr("PointerHandler is an abstract base class")); + qmlRegisterType<QQuickPointHandler>(uri,major,minor,"PointHandler"); qmlRegisterType<QQuickDragHandler>(uri,major,minor,"DragHandler"); qmlRegisterUncreatableType<QQuickDragAxis>(uri, major, minor, "DragAxis", QQuickDragHandler::tr("DragAxis is only available as a grouped property of DragHandler")); |