Diffstat (limited to 'noncore/games/mindbreaker/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/mindbreaker/main.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/noncore/games/mindbreaker/main.cpp b/noncore/games/mindbreaker/main.cpp index 2ca16e3..e0993b5 100644 --- a/noncore/games/mindbreaker/main.cpp +++ b/noncore/games/mindbreaker/main.cpp | |||
@@ -20,16 +20,7 @@ | |||
20 | 20 | ||
21 | #include "mindbreaker.h" | 21 | #include "mindbreaker.h" |
22 | 22 | ||
23 | #include <qtopia/qpeapplication.h> | 23 | #include <opie2/oapplicationfactory.h> |
24 | 24 | ||
25 | int main( int argc, char **argv ) | 25 | using namespace Opie::Core; |
26 | { | 26 | OPIE_EXPORT_APP( OApplicationFactory<MindBreaker> ) \ No newline at end of file |
27 | QPEApplication a( argc, argv ); | ||
28 | |||
29 | MindBreaker w; | ||
30 | w.setCaption(MindBreaker::tr("Mind Breaker")); | ||
31 | QPEApplication::setInputMethodHint( &w, QPEApplication::AlwaysOff ); | ||
32 | a.showMainWidget(&w); | ||
33 | |||
34 | return a.exec(); | ||
35 | } | ||