-rw-r--r-- | noncore/games/go/go.pro | 6 | ||||
-rw-r--r-- | noncore/games/go/gowidget.cpp | 4 | ||||
-rw-r--r-- | noncore/games/go/gowidget.h | 3 | ||||
-rw-r--r-- | noncore/games/go/main.cpp | 11 | ||||
-rw-r--r-- | noncore/games/go/opie-go.control | 4 |
5 files changed, 11 insertions, 17 deletions
diff --git a/noncore/games/go/go.pro b/noncore/games/go/go.pro index 2bc0787..f6c6a54 100644 --- a/noncore/games/go/go.pro +++ b/noncore/games/go/go.pro | |||
@@ -1,4 +1,2 @@ | |||
1 | DESTDIR = $(OPIEDIR)/bin | 1 | CONFIG = qt warn_on release quick-app |
2 | TEMPLATE= app | ||
3 | CONFIG = qt warn_on release | ||
4 | HEADERS = amigo.h \ | 2 | HEADERS = amigo.h \ |
@@ -18,2 +16,4 @@ TARGET = go | |||
18 | 16 | ||
17 | |||
18 | |||
19 | include ( $(OPIEDIR)/include.pro ) | 19 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/games/go/gowidget.cpp b/noncore/games/go/gowidget.cpp index 6d06f3b..cf89267 100644 --- a/noncore/games/go/gowidget.cpp +++ b/noncore/games/go/gowidget.cpp | |||
@@ -53,4 +53,4 @@ static bool smallStones = FALSE; | |||
53 | 53 | ||
54 | GoMainWidget::GoMainWidget( QWidget *parent, const char* name) : | 54 | GoMainWidget::GoMainWidget( QWidget *parent, const char* name, WFlags fl) : |
55 | QMainWindow( parent, name ) | 55 | QMainWindow( parent, name, fl ) |
56 | { | 56 | { |
diff --git a/noncore/games/go/gowidget.h b/noncore/games/go/gowidget.h index 94de2cc..429dc33 100644 --- a/noncore/games/go/gowidget.h +++ b/noncore/games/go/gowidget.h | |||
@@ -33,3 +33,4 @@ class GoMainWidget : public QMainWindow | |||
33 | public: | 33 | public: |
34 | GoMainWidget( QWidget *parent=0, const char* name=0); | 34 | static QString appName() { return QString::fromLatin1("go"); } |
35 | GoMainWidget( QWidget *parent=0, const char* name=0, WFlags fl = 0); | ||
35 | protected: | 36 | protected: |
diff --git a/noncore/games/go/main.cpp b/noncore/games/go/main.cpp index c7e2669..f24e3c3 100644 --- a/noncore/games/go/main.cpp +++ b/noncore/games/go/main.cpp | |||
@@ -24,12 +24,5 @@ | |||
24 | 24 | ||
25 | #include <stdio.h> | 25 | #include <opie/oapplicationfactory.h> |
26 | 26 | ||
27 | int main( int argc, char ** argv) | 27 | OPIE_EXPORT_APP( OApplicationFactory<GoMainWidget> ) |
28 | { | ||
29 | QPEApplication app( argc, argv ); | ||
30 | 28 | ||
31 | GoMainWidget m; | ||
32 | m.setCaption( GoWidget::tr("Go") ); | ||
33 | app.showMainWidget( &m ); | ||
34 | return app.exec(); | ||
35 | } | ||
diff --git a/noncore/games/go/opie-go.control b/noncore/games/go/opie-go.control index b07e8be..95b319e 100644 --- a/noncore/games/go/opie-go.control +++ b/noncore/games/go/opie-go.control | |||
@@ -1,6 +1,6 @@ | |||
1 | Package: opie-go | 1 | Package: opie-go |
2 | Files: bin/go apps/Games/go.desktop pics/go | 2 | Files: plugins/application/libgo.so* bin/go apps/Games/go.desktop pics/go |
3 | Priority: optional | 3 | Priority: optional |
4 | Section: opie/games | 4 | Section: opie/games |
5 | Maintainer: Opie Project <opie@handhelds.org> | 5 | Maintainer: Warwick Allison <warwick@trolltech.com> |
6 | Architecture: arm | 6 | Architecture: arm |