diff options
author | Oliver Gutbrod <ext-oliver.gutbrod@nokia.com> | 2010-10-20 12:03:13 (GMT) |
---|---|---|
committer | Oliver Gutbrod <ext-oliver.gutbrod@nokia.com> | 2010-10-20 12:34:17 (GMT) |
commit | de7963fb4aff704b7ee5fb0bcecdec8abc228cdb (patch) | |
tree | ffdc6173e579fcacb5aa9d30cd1077b452607455 /src/gui/kernel/qapplication_win.cpp | |
parent | 4ff077342a6721622d44f3e9435f0190c18d08bb (diff) | |
download | Qt-de7963fb4aff704b7ee5fb0bcecdec8abc228cdb.zip Qt-de7963fb4aff704b7ee5fb0bcecdec8abc228cdb.tar.gz Qt-de7963fb4aff704b7ee5fb0bcecdec8abc228cdb.tar.bz2 |
defines GID_* for Windows Embedded 7
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/gui/kernel/qapplication_win.cpp')
-rw-r--r-- | src/gui/kernel/qapplication_win.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index a32a957..1dab738 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -115,12 +115,25 @@ extern void qt_wince_hide_taskbar(HWND hwnd); //defined in qguifunctions_wince.c # if defined(Q_WS_WINCE) # include <bldver.h> # endif -# include <winable.h> +# if !defined(Q_WS_WINCE) +# include <winable.h> +# endif +#endif + +#ifndef QT_NO_GESTURES +# ifndef GID_ZOOM +# define GID_ZOOM 3 +# define GID_TWOFINGERTAP 6 +# define GID_PRESSANDTAP 7 +# define GID_ROLLOVER GID_PRESSANDTAP +# endif #endif #ifndef WM_TOUCH # define WM_TOUCH 0x0240 +#endif +#ifndef TOUCHEVENTF_MOVE # define TOUCHEVENTF_MOVE 0x0001 # define TOUCHEVENTF_DOWN 0x0002 # define TOUCHEVENTF_UP 0x0004 |