-rw-r--r-- | noncore/games/oyatzee/main.cpp | 12 | ||||
-rw-r--r-- | noncore/games/oyatzee/opie-oyatzee.control | 2 | ||||
-rw-r--r-- | noncore/games/oyatzee/oyatzee.h | 1 | ||||
-rw-r--r-- | noncore/games/oyatzee/oyatzee.pro | 4 |
4 files changed, 5 insertions, 14 deletions
diff --git a/noncore/games/oyatzee/main.cpp b/noncore/games/oyatzee/main.cpp index 1fd51f6..a5c19f0 100644 --- a/noncore/games/oyatzee/main.cpp +++ b/noncore/games/oyatzee/main.cpp @@ -2,12 +2,4 @@ -#include <qpe/qpeapplication.h> +#include <opie2/oapplicationfactory.h> -int main( int argc, char ** argv ) -{ - QPEApplication a( argc, argv ); - - OYatzee mw; - a.showMainWidget(&mw); - - return a.exec(); -} +OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<OYatzee> ) diff --git a/noncore/games/oyatzee/opie-oyatzee.control b/noncore/games/oyatzee/opie-oyatzee.control index 8249fed..4eb096c 100644 --- a/noncore/games/oyatzee/opie-oyatzee.control +++ b/noncore/games/oyatzee/opie-oyatzee.control @@ -1,3 +1,3 @@ Package: opie-oyatzee -Files: bin/oyatzee apps/Games/oyatzee.desktop pics/oyatzee +Files: plugins/applications/liboyatzee.so* bin/oyatzee apps/Games/oyatzee.desktop pics/oyatzee Priority: optional diff --git a/noncore/games/oyatzee/oyatzee.h b/noncore/games/oyatzee/oyatzee.h index 048a733..a38182d 100644 --- a/noncore/games/oyatzee/oyatzee.h +++ b/noncore/games/oyatzee/oyatzee.h @@ -32,2 +32,3 @@ class OYatzee : public QMainWindow { ~OYatzee(); + static QString appName() { return QString::fromLatin1("oyatzee"); } diff --git a/noncore/games/oyatzee/oyatzee.pro b/noncore/games/oyatzee/oyatzee.pro index f505c66..208535a 100644 --- a/noncore/games/oyatzee/oyatzee.pro +++ b/noncore/games/oyatzee/oyatzee.pro @@ -1,4 +1,2 @@ -TEMPLATE = app -CONFIG = qt warn_on -DESTDIR = $(OPIEDIR)/bin +CONFIG = qt quick-app HEADERS = oyatzee.h |