diff options
Diffstat (limited to 'src/platformheaders/windowsfunctions/qwindowswindowfunctions_p.h')
-rw-r--r-- | src/platformheaders/windowsfunctions/qwindowswindowfunctions_p.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/platformheaders/windowsfunctions/qwindowswindowfunctions_p.h b/src/platformheaders/windowsfunctions/qwindowswindowfunctions_p.h index 6b06b40084..780be22a05 100644 --- a/src/platformheaders/windowsfunctions/qwindowswindowfunctions_p.h +++ b/src/platformheaders/windowsfunctions/qwindowswindowfunctions_p.h @@ -60,24 +60,6 @@ class QWindow; class QWindowsWindowFunctions { public: - enum TouchWindowTouchType { - NormalTouch = 0x00000000, - FineTouch = 0x00000001, - WantPalmTouch = 0x00000002 - }; - - Q_DECLARE_FLAGS(TouchWindowTouchTypes, TouchWindowTouchType) - - typedef void (*SetTouchWindowTouchType)(QWindow *window, QWindowsWindowFunctions::TouchWindowTouchTypes touchType); - static const QByteArray setTouchWindowTouchTypeIdentifier() { return QByteArrayLiteral("WindowsSetTouchWindowTouchType"); } - - static void setTouchWindowTouchType(QWindow *window, TouchWindowTouchTypes type) - { - SetTouchWindowTouchType func = reinterpret_cast<SetTouchWindowTouchType>(QGuiApplication::platformFunction(setTouchWindowTouchTypeIdentifier())); - if (func) - func(window, type); - } - typedef void (*SetHasBorderInFullScreen)(QWindow *window, bool border); static const QByteArray setHasBorderInFullScreenIdentifier() { return QByteArrayLiteral("WindowsSetHasBorderInFullScreen"); } static void setHasBorderInFullScreen(QWindow *window, bool border) @@ -98,8 +80,6 @@ public: }; -Q_DECLARE_OPERATORS_FOR_FLAGS(QWindowsWindowFunctions::TouchWindowTouchTypes) - QT_END_NAMESPACE #endif // QWINDOWSWINDOWFUNCTIONS_H |