author | eilers <eilers> | 2003-09-03 14:38:48 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-09-03 14:38:48 (UTC) |
commit | fa6baf2326a520cde75f1178bab51c9fc3f6cec3 (patch) (side-by-side diff) | |
tree | d8883195eb681b235ab84bc02546ff5fbce45493 | |
parent | a0dc2e500265eff0e76934cf02ef2aedb90cec0d (diff) | |
download | opie-fa6baf2326a520cde75f1178bab51c9fc3f6cec3.zip opie-fa6baf2326a520cde75f1178bab51c9fc3f6cec3.tar.gz opie-fa6baf2326a520cde75f1178bab51c9fc3f6cec3.tar.bz2 |
Inline prevevented me to compile it..
-rw-r--r-- | core/launcher/serverapp.h | 2 |
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 @@ -32,97 +32,97 @@ class PowerStatus; class DesktopPowerAlerter; class OpieScreenSaver; namespace Opie { class ODeviceButton; } struct QCopKeyRegister { QCopKeyRegister(); QCopKeyRegister( int k, const QCString&, const QCString& ); int keyCode()const; QCString channel()const; QCString message()const; inline bool send(); private: int m_keyCode; QCString m_channel, m_message; }; typedef QMap<int, QCopKeyRegister> KeyRegisterList; class KeyFilter : public QObject { Q_OBJECT public: KeyFilter(QObject* parent); void registerKey( const QCopKeyRegister& ); void unregisterKey( const QCopKeyRegister& ); bool checkButtonAction( bool, int, int, int ); protected: void timerEvent(QTimerEvent*); signals: void launch(); void power(); void backlight(); void symbol(); void numLockStateToggle(); void capsLockStateToggle(); void activate(const Opie::ODeviceButton*,bool); private: - inline bool keyRegistered( int key ); + bool keyRegistered( int key ); int held_tid; const Opie::ODeviceButton* heldButton; KeyRegisterList m_keys; }; class ServerApplication : public QPEApplication { Q_OBJECT public: ServerApplication( int& argc, char **argv, Type t ); ~ServerApplication(); static bool doRestart; static bool allowRestart; static bool screenLocked(); static void login(bool at_poweron); static void switchLCD ( bool on ); // only for togglePower in Desktop static void soundAlarm(); // only because QCop soundAlarm() is defined in QPE/TaskBar void restart(); signals: void menu(); void home(); void launch(); void power(); void backlight(); void symbol(); void numLockStateToggle(); void capsLockStateToggle(); void prepareForRestart(); void activate(const Opie::ODeviceButton*,bool); public slots: virtual void systemMessage( const QCString& msg, const QByteArray& ); virtual void launcherMessage( const QCString& msg, const QByteArray& ); void rereadVolumes(); protected: bool eventFilter( QObject*, QEvent* ); #ifdef Q_WS_QWS bool qwsEventFilter( QWSEvent * ); #endif void shutdown(); void checkMemory(); bool recoverMemory(); void keyClick(int keycode, bool press, bool repeat); |