-rw-r--r-- | core/launcher/serverapp.cpp | 2 | ||||
-rw-r--r-- | core/launcher/serverapp.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index be6b972..75d4ac1 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -291,17 +291,17 @@ void ServerApplication::switchLCD( bool on ) dapp-> m_screensaver-> setBacklight ( -3 ); } else dapp-> m_screensaver-> setDisplayState ( false ); } ServerApplication::ServerApplication( int& argc, char **argv, Type t ) - : QPEApplication( argc, argv, t ) + : Opie::Core::OApplication( argc, argv, t ) { ms_is_starting = true; // We know we'll have lots of cached pixmaps due to App/DocLnks QPixmapCache::setCacheLimit(512); m_ps = new PowerStatus; m_ps_last = new PowerStatus; 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 @@ -16,17 +16,17 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #ifndef SERVERAPP_H #define SERVERAPP_H -#include <qtopia/qpeapplication.h> +#include <opie2/oapplication.h> #include <qwidget.h> #ifdef QWS #include <qwindowsystem_qws.h> #endif #include "shutdownimpl.h" @@ -80,17 +80,17 @@ signals: private: bool keyRegistered( int key ); int held_tid; const Opie::Core::ODeviceButton* heldButton; KeyRegisterList m_keys; }; -class ServerApplication : public QPEApplication +class ServerApplication : public Opie::Core::OApplication { Q_OBJECT public: ServerApplication( int& argc, char **argv, Type t ); ~ServerApplication(); static bool doRestart; static bool allowRestart; |