equal
deleted
inserted
replaced
70 #ifdef Q_WS_QWS |
70 #ifdef Q_WS_QWS |
71 #include "QtGui/qscreen_qws.h" |
71 #include "QtGui/qscreen_qws.h" |
72 #include <private/qgraphicssystem_qws_p.h> |
72 #include <private/qgraphicssystem_qws_p.h> |
73 #endif |
73 #endif |
74 #ifdef Q_OS_SYMBIAN |
74 #ifdef Q_OS_SYMBIAN |
75 #include <w32std.h> |
75 #include <w32std.h> |
76 #endif |
76 #endif |
77 |
77 |
78 QT_BEGIN_NAMESPACE |
78 QT_BEGIN_NAMESPACE |
79 |
79 |
80 class QClipboard; |
80 class QClipboard; |
82 class QGraphicsSystem; |
82 class QGraphicsSystem; |
83 class QInputContext; |
83 class QInputContext; |
84 class QObject; |
84 class QObject; |
85 class QWidget; |
85 class QWidget; |
86 class QSocketNotifier; |
86 class QSocketNotifier; |
87 class QGestureManager; |
|
88 |
87 |
89 extern bool qt_is_gui_used; |
88 extern bool qt_is_gui_used; |
90 #ifndef QT_NO_CLIPBOARD |
89 #ifndef QT_NO_CLIPBOARD |
91 extern QClipboard *qt_clipboard; |
90 extern QClipboard *qt_clipboard; |
92 #endif |
91 #endif |
439 static bool widgetCount; // Coupled with -widgetcount switch |
438 static bool widgetCount; // Coupled with -widgetcount switch |
440 static bool load_testability; // Coupled with -testability switch |
439 static bool load_testability; // Coupled with -testability switch |
441 #ifdef Q_WS_MAC |
440 #ifdef Q_WS_MAC |
442 static bool native_modal_dialog_active; |
441 static bool native_modal_dialog_active; |
443 #endif |
442 #endif |
444 #if defined(Q_WS_WIN) && !defined(Q_WS_WINCE) |
|
445 static bool inSizeMove; |
|
446 #endif |
|
447 |
443 |
448 static void setSystemPalette(const QPalette &pal); |
444 static void setSystemPalette(const QPalette &pal); |
449 static void setPalette_helper(const QPalette &palette, const char* className, bool clearWidgetPaletteHash); |
445 static void setPalette_helper(const QPalette &palette, const char* className, bool clearWidgetPaletteHash); |
450 static void initializeWidgetPaletteHash(); |
446 static void initializeWidgetPaletteHash(); |
451 static void setSystemFont(const QFont &font); |
447 static void setSystemFont(const QFont &font); |
511 #endif |
507 #endif |
512 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS) |
508 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS) |
513 void sendSyntheticEnterLeave(QWidget *widget); |
509 void sendSyntheticEnterLeave(QWidget *widget); |
514 #endif |
510 #endif |
515 |
511 |
516 QGestureManager *gestureManager; |
512 QWidget *gestureWidget; |
517 |
513 |
518 QMap<int, QWidget *> widgetForTouchPointId; |
514 QMap<int, QWeakPointer<QWidget> > widgetForTouchPointId; |
519 QMap<int, QTouchEvent::TouchPoint> appCurrentTouchPoints; |
515 QMap<int, QTouchEvent::TouchPoint> appCurrentTouchPoints; |
520 static void updateTouchPointsForWidget(QWidget *widget, QTouchEvent *touchEvent); |
516 static void updateTouchPointsForWidget(QWidget *widget, QTouchEvent *touchEvent); |
521 void initializeMultitouch(); |
517 void initializeMultitouch(); |
522 void initializeMultitouch_sys(); |
518 void initializeMultitouch_sys(); |
523 void cleanupMultitouch(); |
519 void cleanupMultitouch(); |