src/gui/kernel/qapplication.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    84 class QSymbianEvent;
    84 class QSymbianEvent;
    85 #endif
    85 #endif
    86 
    86 
    87 class QApplication;
    87 class QApplication;
    88 class QApplicationPrivate;
    88 class QApplicationPrivate;
    89 class QGestureRecognizer;
       
    90 #if defined(qApp)
    89 #if defined(qApp)
    91 #undef qApp
    90 #undef qApp
    92 #endif
    91 #endif
    93 #define qApp (static_cast<QApplication *>(QCoreApplication::instance()))
    92 #define qApp (static_cast<QApplication *>(QCoreApplication::instance()))
    94 
    93 
   285     static Q_DECL_DEPRECATED void setKeypadNavigationEnabled(bool);
   284     static Q_DECL_DEPRECATED void setKeypadNavigationEnabled(bool);
   286     static bool keypadNavigationEnabled();
   285     static bool keypadNavigationEnabled();
   287     static void setNavigationMode(Qt::NavigationMode mode);
   286     static void setNavigationMode(Qt::NavigationMode mode);
   288     static Qt::NavigationMode navigationMode();
   287     static Qt::NavigationMode navigationMode();
   289 #endif
   288 #endif
   290 
       
   291     Qt::GestureType registerGestureRecognizer(QGestureRecognizer *recognizer);
       
   292     void unregisterGestureRecognizer(Qt::GestureType type);
       
   293 
   289 
   294 Q_SIGNALS:
   290 Q_SIGNALS:
   295     void lastWindowClosed();
   291     void lastWindowClosed();
   296     void focusChanged(QWidget *old, QWidget *now);
   292     void focusChanged(QWidget *old, QWidget *now);
   297     void fontDatabaseChanged();
   293     void fontDatabaseChanged();