summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/serverapp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/serverapp.h b/core/launcher/serverapp.h
index 0a3259a..fe3f24a 100644
--- a/core/launcher/serverapp.h
+++ b/core/launcher/serverapp.h
@@ -56,49 +56,49 @@ typedef QMap<int, QCopKeyRegister> KeyRegisterList;
56class KeyFilter : public QObject { 56class KeyFilter : public QObject {
57 Q_OBJECT 57 Q_OBJECT
58public: 58public:
59 KeyFilter(QObject* parent); 59 KeyFilter(QObject* parent);
60 void registerKey( const QCopKeyRegister& ); 60 void registerKey( const QCopKeyRegister& );
61 void unregisterKey( const QCopKeyRegister& ); 61 void unregisterKey( const QCopKeyRegister& );
62 bool checkButtonAction( bool, int, int, int ); 62 bool checkButtonAction( bool, int, int, int );
63 63
64 64
65 65
66protected: 66protected:
67 void timerEvent(QTimerEvent*); 67 void timerEvent(QTimerEvent*);
68 68
69signals: 69signals:
70 void launch(); 70 void launch();
71 void power(); 71 void power();
72 void backlight(); 72 void backlight();
73 void symbol(); 73 void symbol();
74 void numLockStateToggle(); 74 void numLockStateToggle();
75 void capsLockStateToggle(); 75 void capsLockStateToggle();
76 void activate(const Opie::ODeviceButton*,bool); 76 void activate(const Opie::ODeviceButton*,bool);
77 77
78 78
79private: 79private:
80 inline bool keyRegistered( int key ); 80 bool keyRegistered( int key );
81 int held_tid; 81 int held_tid;
82 const Opie::ODeviceButton* heldButton; 82 const Opie::ODeviceButton* heldButton;
83 KeyRegisterList m_keys; 83 KeyRegisterList m_keys;
84}; 84};
85 85
86class ServerApplication : public QPEApplication 86class ServerApplication : public QPEApplication
87{ 87{
88 Q_OBJECT 88 Q_OBJECT
89public: 89public:
90 ServerApplication( int& argc, char **argv, Type t ); 90 ServerApplication( int& argc, char **argv, Type t );
91 ~ServerApplication(); 91 ~ServerApplication();
92 92
93 static bool doRestart; 93 static bool doRestart;
94 static bool allowRestart; 94 static bool allowRestart;
95 static bool screenLocked(); 95 static bool screenLocked();
96 static void login(bool at_poweron); 96 static void login(bool at_poweron);
97 97
98 static void switchLCD ( bool on ); // only for togglePower in Desktop 98 static void switchLCD ( bool on ); // only for togglePower in Desktop
99 static void soundAlarm(); // only because QCop soundAlarm() is defined in QPE/TaskBar 99 static void soundAlarm(); // only because QCop soundAlarm() is defined in QPE/TaskBar
100 100
101 void restart(); 101 void restart();
102 102
103signals: 103signals:
104 void menu(); 104 void menu();