-rw-r--r-- | noncore/games/backgammon/backgammon.control | 2 | ||||
-rw-r--r-- | noncore/games/backgammon/backgammon.h | 1 | ||||
-rw-r--r-- | noncore/games/backgammon/backgammon.pro | 4 | ||||
-rw-r--r-- | noncore/games/backgammon/main.cpp | 10 |
4 files changed, 5 insertions, 12 deletions
diff --git a/noncore/games/backgammon/backgammon.control b/noncore/games/backgammon/backgammon.control index 6468181..d78b547 100644 --- a/noncore/games/backgammon/backgammon.control +++ b/noncore/games/backgammon/backgammon.control | |||
@@ -1,5 +1,5 @@ | |||
1 | Package: backgammon | 1 | Package: backgammon |
2 | Files: bin/backgammon apps/Games/backgammon.desktop pics/backgammon help/en/html/backgammon.html | 2 | Files: plugins/application/libbackgammon.so* bin/backgammon apps/Games/backgammon.desktop pics/backgammon help/en/html/backgammon.html |
3 | Priority: optional | 3 | Priority: optional |
4 | Section: opie/games | 4 | Section: opie/games |
5 | Maintainer: Ralf Waspe <rwaspe@web.de> | 5 | Maintainer: Ralf Waspe <rwaspe@web.de> |
diff --git a/noncore/games/backgammon/backgammon.h b/noncore/games/backgammon/backgammon.h index e3276f1..fb50500 100644 --- a/noncore/games/backgammon/backgammon.h +++ b/noncore/games/backgammon/backgammon.h | |||
@@ -85,6 +85,7 @@ private: | |||
85 | bool gameFinished; | 85 | bool gameFinished; |
86 | 86 | ||
87 | public: | 87 | public: |
88 | static QString appName() { return QString::fromLatin1("backgammon"); } | ||
88 | BackGammon( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 89 | BackGammon( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
89 | ~BackGammon(); | 90 | ~BackGammon(); |
90 | private slots: | 91 | private slots: |
diff --git a/noncore/games/backgammon/backgammon.pro b/noncore/games/backgammon/backgammon.pro index 4be9491..063d617 100644 --- a/noncore/games/backgammon/backgammon.pro +++ b/noncore/games/backgammon/backgammon.pro | |||
@@ -1,5 +1,4 @@ | |||
1 | TEMPLATE = app | 1 | CONFIG = qt warn_on release quick-app |
2 | CONFIG = qt warn_on release | ||
3 | 2 | ||
4 | HEADERS = backgammon.h \ | 3 | HEADERS = backgammon.h \ |
5 | backgammonview.h \ | 4 | backgammonview.h \ |
@@ -28,7 +27,6 @@ TARGET = backgammon | |||
28 | INCLUDEPATH+= $(OPIEDIR)/include | 27 | INCLUDEPATH+= $(OPIEDIR)/include |
29 | DEPENDPATH+= $(OPIEDIR)/include | 28 | DEPENDPATH+= $(OPIEDIR)/include |
30 | LIBS += -lqpe -lstdc++ | 29 | LIBS += -lqpe -lstdc++ |
31 | DESTDIR = $(OPIEDIR)/bin | ||
32 | 30 | ||
33 | 31 | ||
34 | include ( $(OPIEDIR)/include.pro ) | 32 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/games/backgammon/main.cpp b/noncore/games/backgammon/main.cpp index 86b452d..58ced10 100644 --- a/noncore/games/backgammon/main.cpp +++ b/noncore/games/backgammon/main.cpp | |||
@@ -1,14 +1,8 @@ | |||
1 | #include <qpe/qpeapplication.h> | 1 | #include <qpe/qpeapplication.h> |
2 | #include "backgammon.h" | 2 | #include "backgammon.h" |
3 | 3 | ||
4 | #include <opie/oapplicationfactory.h> | ||
4 | 5 | ||
5 | int main( int argc, char** argv ) | 6 | OPIE_EXPORT_APP( OApplicationFactory<BackGammon> ) |
6 | { | ||
7 | QPEApplication app( argc, argv ); | ||
8 | 7 | ||
9 | BackGammon* view= new BackGammon(); | ||
10 | app.showMainWidget(view); | ||
11 | |||
12 | return app.exec(); | ||
13 | } | ||
14 | 8 | ||