author | zecke <zecke> | 2004-11-14 22:13:19 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-14 22:13:19 (UTC) |
commit | 639ae2f86e57b77e875bdf933534b652b207f1b6 (patch) (unidiff) | |
tree | 338a4aedb3f0dab5708a958a50f1625a53962ecb | |
parent | 489818a4ee9b5328e31d184d5a0b43673b69dff2 (diff) | |
download | opie-639ae2f86e57b77e875bdf933534b652b207f1b6.zip opie-639ae2f86e57b77e875bdf933534b652b207f1b6.tar.gz opie-639ae2f86e57b77e875bdf933534b652b207f1b6.tar.bz2 |
Make OYatzee quick launchable
-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 @@ | |||
2 | 2 | ||
3 | #include <qpe/qpeapplication.h> | 3 | #include <opie2/oapplicationfactory.h> |
4 | 4 | ||
5 | int main( int argc, char ** argv ) | 5 | OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<OYatzee> ) |
6 | { | ||
7 | QPEApplication a( argc, argv ); | ||
8 | |||
9 | OYatzee mw; | ||
10 | a.showMainWidget(&mw); | ||
11 | |||
12 | return a.exec(); | ||
13 | } | ||
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 @@ | |||
1 | Package: opie-oyatzee | 1 | Package: opie-oyatzee |
2 | Files: bin/oyatzee apps/Games/oyatzee.desktop pics/oyatzee | 2 | Files: plugins/applications/liboyatzee.so* bin/oyatzee apps/Games/oyatzee.desktop pics/oyatzee |
3 | Priority: optional | 3 | 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 { | |||
32 | ~OYatzee(); | 32 | ~OYatzee(); |
33 | static QString appName() { return QString::fromLatin1("oyatzee"); } | ||
33 | 34 | ||
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 @@ | |||
1 | TEMPLATE= app | 1 | CONFIG = qt quick-app |
2 | CONFIG = qt warn_on | ||
3 | DESTDIR = $(OPIEDIR)/bin | ||
4 | HEADERS = oyatzee.h | 2 | HEADERS = oyatzee.h |