-rw-r--r-- | core/launcher/main.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp index 347eee9..b3c331b 100644 --- a/core/launcher/main.cpp +++ b/core/launcher/main.cpp @@ -30,4 +30,6 @@ #endif +#include <opie/odevice.h> + #include <qfile.h> #include <qwindowsystem_qws.h> @@ -35,6 +37,4 @@ #include <qpe/alarmserver.h> -#include <opie/ohwinfo.h> - #include <stdlib.h> #include <stdio.h> @@ -194,5 +194,5 @@ public: bool doinst = false; - m_model = OHwInfo::inst ( )-> model ( ); + m_model = ODevice::inst ( )-> model ( ); m_power_timer = 0; @@ -209,5 +209,5 @@ public: } - virtual bool filter ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) + virtual bool filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, bool autoRepeat ) { bool kill = false; @@ -268,6 +268,5 @@ public: private: - OHwModel m_model; - bool m_power_press; + OModel m_model; int m_power_timer; }; |