Diffstat (limited to 'x11/libqpe-x11/qpe/qpeapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | x11/libqpe-x11/qpe/qpeapplication.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.h b/x11/libqpe-x11/qpe/qpeapplication.h index 3713251..cd385db 100644 --- a/x11/libqpe-x11/qpe/qpeapplication.h +++ b/x11/libqpe-x11/qpe/qpeapplication.h | |||
@@ -6,12 +6,13 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <qapplication.h> | 8 | #include <qapplication.h> |
9 | 9 | ||
10 | #include <qpe/timestring.h> | 10 | #include <qpe/timestring.h> |
11 | 11 | ||
12 | class QCopChannel; | ||
12 | class QPEApplication : public QApplication { | 13 | class QPEApplication : public QApplication { |
13 | Q_OBJECT | 14 | Q_OBJECT |
14 | public: | 15 | public: |
15 | QPEApplication(int& argc, char** argv, Type=GuiClient ); | 16 | QPEApplication(int& argc, char** argv, Type=GuiClient ); |
16 | ~QPEApplication(); | 17 | ~QPEApplication(); |
17 | 18 | ||
@@ -32,13 +33,13 @@ public: | |||
32 | static StylusMode stylusOperation( QWidget* ); | 33 | static StylusMode stylusOperation( QWidget* ); |
33 | 34 | ||
34 | void showMainWidget( QWidget*, bool nomax = FALSE ); | 35 | void showMainWidget( QWidget*, bool nomax = FALSE ); |
35 | void showMainDocumentWidget( QWidget*, bool nomax = FALSE ); | 36 | void showMainDocumentWidget( QWidget*, bool nomax = FALSE ); |
36 | 37 | ||
37 | static void showDialog( QDialog*, bool nomax = FALSE ); | 38 | static void showDialog( QDialog*, bool nomax = FALSE ); |
38 | static void execDialog( QDialog*, bool nomax = FALSE ); | 39 | static int execDialog( QDialog*, bool nomax = FALSE ); |
39 | 40 | ||
40 | static void setKeepRunning(); | 41 | static void setKeepRunning(); |
41 | bool keepRunning()const; | 42 | bool keepRunning()const; |
42 | 43 | ||
43 | bool keyboardGrabbed()const; | 44 | bool keyboardGrabbed()const; |
44 | int exec(); | 45 | int exec(); |
@@ -52,9 +53,18 @@ signals: | |||
52 | void appMessage( const QCString& msg, const QByteArray& data); | 53 | void appMessage( const QCString& msg, const QByteArray& data); |
53 | void weekChanged( bool startOnMonday ); | 54 | void weekChanged( bool startOnMonday ); |
54 | void dateFormatChanged( DateFormat ); | 55 | void dateFormatChanged( DateFormat ); |
55 | void flush(); | 56 | void flush(); |
56 | void reload(); | 57 | void reload(); |
57 | 58 | ||
59 | private: | ||
60 | void initTranslations(); | ||
61 | void internalSetStyle(const QString&); | ||
62 | |||
63 | private: | ||
64 | class Private; | ||
65 | Private* d; | ||
66 | QCopChannel *m_sys; | ||
67 | QCopChannel *m_pid; | ||
58 | }; | 68 | }; |
59 | 69 | ||
60 | #endif | 70 | #endif |