src/gui/kernel/qapplication_p.h
branchRCL_3
changeset 4 3b1da2848fc7
parent 3 41300fa6a67c
child 8 3f74d0d4af4c
equal deleted inserted replaced
3:41300fa6a67c 4:3b1da2848fc7
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
    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;
    87 
    88 
    88 extern bool qt_is_gui_used;
    89 extern bool qt_is_gui_used;
    89 #ifndef QT_NO_CLIPBOARD
    90 #ifndef QT_NO_CLIPBOARD
    90 extern QClipboard *qt_clipboard;
    91 extern QClipboard *qt_clipboard;
    91 #endif
    92 #endif
   498 #ifdef Q_OS_SYMBIAN
   499 #ifdef Q_OS_SYMBIAN
   499     static void setNavigationMode(Qt::NavigationMode mode);
   500     static void setNavigationMode(Qt::NavigationMode mode);
   500     static TUint resolveS60ScanCode(TInt scanCode, TUint keysym);
   501     static TUint resolveS60ScanCode(TInt scanCode, TUint keysym);
   501     QSet<WId> nativeWindows;
   502     QSet<WId> nativeWindows;
   502 
   503 
   503     int symbianProcessWsEvent(const TWsEvent *event);
   504     int symbianProcessWsEvent(const QSymbianEvent *symbianEvent);
   504     int symbianHandleCommand(int command);
   505     int symbianHandleCommand(const QSymbianEvent *symbianEvent);
   505     int symbianResourceChange(int type);
   506     int symbianResourceChange(const QSymbianEvent *symbianEvent);
   506 
   507 
   507 #endif
   508 #endif
   508 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS)
   509 #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS)
   509     void sendSyntheticEnterLeave(QWidget *widget);
   510     void sendSyntheticEnterLeave(QWidget *widget);
   510 #endif
   511 #endif
   511 
   512 
       
   513     QGestureManager *gestureManager;
   512     QWidget *gestureWidget;
   514     QWidget *gestureWidget;
   513 
   515 
   514     QMap<int, QWeakPointer<QWidget> > widgetForTouchPointId;
   516     QMap<int, QWeakPointer<QWidget> > widgetForTouchPointId;
   515     QMap<int, QTouchEvent::TouchPoint> appCurrentTouchPoints;
   517     QMap<int, QTouchEvent::TouchPoint> appCurrentTouchPoints;
   516     static void updateTouchPointsForWidget(QWidget *widget, QTouchEvent *touchEvent);
   518     static void updateTouchPointsForWidget(QWidget *widget, QTouchEvent *touchEvent);