-rw-r--r-- | noncore/games/wordgame/main.cpp | 10 | ||||
-rw-r--r-- | noncore/games/wordgame/wordgame.h | 1 | ||||
-rw-r--r-- | noncore/games/wordgame/wordgame.pro | 5 |
3 files changed, 5 insertions, 11 deletions
diff --git a/noncore/games/wordgame/main.cpp b/noncore/games/wordgame/main.cpp index cd4600e..f32acff 100644 --- a/noncore/games/wordgame/main.cpp +++ b/noncore/games/wordgame/main.cpp | |||
@@ -23,12 +23,6 @@ | |||
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | #include <opie/oapplicationfactory.h> | ||
24 | 25 | ||
25 | int main( int argc, char ** argv ) | ||
26 | { | ||
27 | QPEApplication a( argc, argv ); | ||
28 | 26 | ||
29 | WordGame mw; | 27 | OPIE_EXPORT_APP( OApplicationFactory<WordGame> ) |
30 | //QPEApplication::setInputMethodHint( &mw, QPEApplication::AlwaysOff ); | ||
31 | a.showMainWidget(&mw); | ||
32 | 28 | ||
33 | return a.exec(); | ||
34 | } | ||
diff --git a/noncore/games/wordgame/wordgame.h b/noncore/games/wordgame/wordgame.h index f73c85a..020a4b5 100644 --- a/noncore/games/wordgame/wordgame.h +++ b/noncore/games/wordgame/wordgame.h | |||
@@ -311,2 +311,3 @@ public: | |||
311 | ~WordGame(); | 311 | ~WordGame(); |
312 | static QString appName() { return QString::fromLatin1("wordgame"); } | ||
312 | 313 | ||
diff --git a/noncore/games/wordgame/wordgame.pro b/noncore/games/wordgame/wordgame.pro index e997adc..7ef2bfd 100644 --- a/noncore/games/wordgame/wordgame.pro +++ b/noncore/games/wordgame/wordgame.pro | |||
@@ -1,4 +1,2 @@ | |||
1 | TEMPLATE= app | 1 | CONFIG = qt warn_on release quick-app |
2 | CONFIG = qt warn_on release | ||
3 | DESTDIR = $(OPIEDIR)/bin | ||
4 | HEADERS = wordgame.h | 2 | HEADERS = wordgame.h |
@@ -12,2 +10,3 @@ LIBS += -lqpe | |||
12 | 10 | ||
11 | |||
13 | include ( $(OPIEDIR)/include.pro ) | 12 | include ( $(OPIEDIR)/include.pro ) |