Diffstat (limited to 'x11/libqpe-x11/qpe/qpeapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | x11/libqpe-x11/qpe/qpeapplication.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.h b/x11/libqpe-x11/qpe/qpeapplication.h index cd385db..2af1c66 100644 --- a/x11/libqpe-x11/qpe/qpeapplication.h +++ b/x11/libqpe-x11/qpe/qpeapplication.h @@ -7,4 +7,5 @@ #include <qapplication.h> +#include <qevent.h> #include <qpe/timestring.h> @@ -17,4 +18,5 @@ public: ~QPEApplication(); + static QString qpeDir(); static QString documentDir(); @@ -33,4 +35,12 @@ public: static StylusMode stylusOperation( QWidget* ); + enum InputMethodHint { + Normal, + AlwaysOff, + AlwaysOn + }; + static void setInputMethodHint( QWidget*, InputMethodHint ); + static InputMethodHint inputMethodHint( QWidget* ); + void showMainWidget( QWidget*, bool nomax = FALSE ); void showMainDocumentWidget( QWidget*, bool nomax = FALSE ); @@ -61,4 +71,17 @@ private: void internalSetStyle(const QString&); +private slots: + void hideOrQuit(); + void systemMessage( const QCString&, const QByteArray& ); + void pidMessage( const QCString&, const QByteArray& ); + void removeSenderFromStylusDict(); +protected: + virtual void restart(); + virtual void shutdown(); + bool eventFilter( QObject*, QEvent* ); + void timerEvent( QTimerEvent* ); + void raiseAppropriateWindow(); + virtual void tryQuit(); + private: class Private; |