author | zecke <zecke> | 2004-11-03 22:35:36 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-03 22:35:36 (UTC) |
commit | 9a753348fd31dfb5309408c469cce8ea5eadf8ea (patch) (unidiff) | |
tree | 4945b66e2ff79c5961f29b53906edff644ad6f5e /core/launcher/serverapp.h | |
parent | da3c9206558e9b03be2270ab5e9b3406d9c3cad8 (diff) | |
download | opie-9a753348fd31dfb5309408c469cce8ea5eadf8ea.zip opie-9a753348fd31dfb5309408c469cce8ea5eadf8ea.tar.gz opie-9a753348fd31dfb5309408c469cce8ea5eadf8ea.tar.bz2 |
Switch to OApplication
-rw-r--r-- | core/launcher/serverapp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/serverapp.h b/core/launcher/serverapp.h index 916d83c..27be28b 100644 --- a/core/launcher/serverapp.h +++ b/core/launcher/serverapp.h | |||
@@ -12,25 +12,25 @@ | |||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef SERVERAPP_H | 21 | #ifndef SERVERAPP_H |
22 | #define SERVERAPP_H | 22 | #define SERVERAPP_H |
23 | 23 | ||
24 | #include <qtopia/qpeapplication.h> | 24 | #include <opie2/oapplication.h> |
25 | 25 | ||
26 | #include <qwidget.h> | 26 | #include <qwidget.h> |
27 | #ifdef QWS | 27 | #ifdef QWS |
28 | #include <qwindowsystem_qws.h> | 28 | #include <qwindowsystem_qws.h> |
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | #include "shutdownimpl.h" | 31 | #include "shutdownimpl.h" |
32 | 32 | ||
33 | class PowerStatus; | 33 | class PowerStatus; |
34 | class DesktopPowerAlerter; | 34 | class DesktopPowerAlerter; |
35 | 35 | ||
36 | class OpieScreenSaver; | 36 | class OpieScreenSaver; |
@@ -76,25 +76,25 @@ signals: | |||
76 | void numLockStateToggle(); | 76 | void numLockStateToggle(); |
77 | void capsLockStateToggle(); | 77 | void capsLockStateToggle(); |
78 | void activate(const Opie::Core::ODeviceButton*,bool); | 78 | void activate(const Opie::Core::ODeviceButton*,bool); |
79 | 79 | ||
80 | 80 | ||
81 | private: | 81 | private: |
82 | bool keyRegistered( int key ); | 82 | bool keyRegistered( int key ); |
83 | int held_tid; | 83 | int held_tid; |
84 | const Opie::Core::ODeviceButton* heldButton; | 84 | const Opie::Core::ODeviceButton* heldButton; |
85 | KeyRegisterList m_keys; | 85 | KeyRegisterList m_keys; |
86 | }; | 86 | }; |
87 | 87 | ||
88 | class ServerApplication : public QPEApplication | 88 | class ServerApplication : public Opie::Core::OApplication |
89 | { | 89 | { |
90 | Q_OBJECT | 90 | Q_OBJECT |
91 | public: | 91 | public: |
92 | ServerApplication( int& argc, char **argv, Type t ); | 92 | ServerApplication( int& argc, char **argv, Type t ); |
93 | ~ServerApplication(); | 93 | ~ServerApplication(); |
94 | 94 | ||
95 | static bool doRestart; | 95 | static bool doRestart; |
96 | static bool allowRestart; | 96 | static bool allowRestart; |
97 | static bool screenLocked(); | 97 | static bool screenLocked(); |
98 | static void login(bool at_poweron); | 98 | static void login(bool at_poweron); |
99 | 99 | ||
100 | static bool isStarting(); | 100 | static bool isStarting(); |