author | zecke <zecke> | 2002-10-15 21:38:43 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-15 21:38:43 (UTC) |
commit | b774e015816e51ac65e5d1c685306f8404a3a19e (patch) (unidiff) | |
tree | ccb4881ffce2a027b6c0b95854623bb713b69554 /x11/libqpe-x11/qpe/qpeapplication.h | |
parent | fb99aec5215da635abfa28288d170f110114bba3 (diff) | |
download | opie-b774e015816e51ac65e5d1c685306f8404a3a19e.zip opie-b774e015816e51ac65e5d1c685306f8404a3a19e.tar.gz opie-b774e015816e51ac65e5d1c685306f8404a3a19e.tar.bz2 |
More OPIE X11 Stuff
Some empty stubs to compile against Qt2/X
it will not link though
Diffstat (limited to 'x11/libqpe-x11/qpe/qpeapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | x11/libqpe-x11/qpe/qpeapplication.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/x11/libqpe-x11/qpe/qpeapplication.h b/x11/libqpe-x11/qpe/qpeapplication.h new file mode 100644 index 0000000..3713251 --- a/dev/null +++ b/x11/libqpe-x11/qpe/qpeapplication.h | |||
@@ -0,0 +1,60 @@ | |||
1 | #ifndef OPIE_QPE_APPLICATION_H | ||
2 | #define OPIE_QPE_APPLICATION_H | ||
3 | |||
4 | /** | ||
5 | * LGPLed | ||
6 | */ | ||
7 | |||
8 | #include <qapplication.h> | ||
9 | |||
10 | #include <qpe/timestring.h> | ||
11 | |||
12 | class QPEApplication : public QApplication { | ||
13 | Q_OBJECT | ||
14 | public: | ||
15 | QPEApplication(int& argc, char** argv, Type=GuiClient ); | ||
16 | ~QPEApplication(); | ||
17 | |||
18 | static QString qpeDir(); | ||
19 | static QString documentDir(); | ||
20 | void applyStyle(); | ||
21 | |||
22 | static int defaultRotation(); | ||
23 | static void setDefaultRotation( int r ); | ||
24 | static void grabKeyboard(); | ||
25 | static void ungrabKeyboard(); | ||
26 | |||
27 | enum StylusMode { | ||
28 | LeftOnly, | ||
29 | RightOnHold | ||
30 | }; | ||
31 | static void setStylusOperation( QWidget*, StylusMode ); | ||
32 | static StylusMode stylusOperation( QWidget* ); | ||
33 | |||
34 | void showMainWidget( QWidget*, bool nomax = FALSE ); | ||
35 | void showMainDocumentWidget( QWidget*, bool nomax = FALSE ); | ||
36 | |||
37 | static void showDialog( QDialog*, bool nomax = FALSE ); | ||
38 | static void execDialog( QDialog*, bool nomax = FALSE ); | ||
39 | |||
40 | static void setKeepRunning(); | ||
41 | bool keepRunning()const; | ||
42 | |||
43 | bool keyboardGrabbed()const; | ||
44 | int exec(); | ||
45 | |||
46 | signals: | ||
47 | void clientMoused(); | ||
48 | void timeChanged(); | ||
49 | void clockChanged( bool pm ); | ||
50 | void micChanged( bool muted ); | ||
51 | void volumeChanged( bool muted ); | ||
52 | void appMessage( const QCString& msg, const QByteArray& data); | ||
53 | void weekChanged( bool startOnMonday ); | ||
54 | void dateFormatChanged( DateFormat ); | ||
55 | void flush(); | ||
56 | void reload(); | ||
57 | |||
58 | }; | ||
59 | |||
60 | #endif | ||