-rw-r--r-- | noncore/games/kcheckers/kcheckers.cpp | 5 | ||||
-rw-r--r-- | noncore/games/kcheckers/kcheckers.h | 3 | ||||
-rw-r--r-- | noncore/games/kcheckers/kcheckers.pro | 5 | ||||
-rw-r--r-- | noncore/games/kcheckers/main.cpp | 12 | ||||
-rw-r--r-- | noncore/games/kcheckers/opie-kcheckers.control | 2 |
5 files changed, 10 insertions, 17 deletions
diff --git a/noncore/games/kcheckers/kcheckers.cpp b/noncore/games/kcheckers/kcheckers.cpp index c2eba0d..2eb37e5 100644 --- a/noncore/games/kcheckers/kcheckers.cpp +++ b/noncore/games/kcheckers/kcheckers.cpp | |||
@@ -44,5 +44,6 @@ const int KCheckers::t[]={6,7,8,9,11,12,13,14,17,18,19,20,22,23, | |||
44 | 44 | ||
45 | KCheckers::KCheckers():QMainWindow(0,0,WStyle_DialogBorder) | 45 | KCheckers::KCheckers(QWidget *p, const char* n, WFlags ) |
46 | :QMainWindow(p,n,WStyle_DialogBorder) | ||
46 | { | 47 | { |
47 | setCaption("KCheckers"); | 48 | setCaption(tr("KCheckers") ); |
48 | setIcon(QPixmap(biglogo_xpm)); | 49 | setIcon(QPixmap(biglogo_xpm)); |
diff --git a/noncore/games/kcheckers/kcheckers.h b/noncore/games/kcheckers/kcheckers.h index ccf5bae..bd4afc7 100644 --- a/noncore/games/kcheckers/kcheckers.h +++ b/noncore/games/kcheckers/kcheckers.h | |||
@@ -31,3 +31,4 @@ class KCheckers:public QMainWindow | |||
31 | public: | 31 | public: |
32 | KCheckers(); | 32 | static QString appName() { return QString::fromLatin1("kcheckers"); } |
33 | KCheckers(QWidget *parent, const char* name, WFlags fl); | ||
33 | 34 | ||
diff --git a/noncore/games/kcheckers/kcheckers.pro b/noncore/games/kcheckers/kcheckers.pro index a23e83a..0d417bf 100644 --- a/noncore/games/kcheckers/kcheckers.pro +++ b/noncore/games/kcheckers/kcheckers.pro | |||
@@ -1,3 +1,2 @@ | |||
1 | TEMPLATE= app | 1 | CONFIG = qt warn_on release quick-app |
2 | CONFIG = qt warn_on release | ||
3 | HEADERS = checkers.h \ | 2 | HEADERS = checkers.h \ |
@@ -16,5 +15,5 @@ INCLUDEPATH += $(OPIEDIR)/include | |||
16 | LIBS += -lqpe | 15 | LIBS += -lqpe |
17 | DESTDIR = $(OPIEDIR)/bin | ||
18 | TARGET = kcheckers | 16 | TARGET = kcheckers |
19 | 17 | ||
18 | |||
20 | include ( $(OPIEDIR)/include.pro ) | 19 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/games/kcheckers/main.cpp b/noncore/games/kcheckers/main.cpp index b8dd620..6ac570a 100644 --- a/noncore/games/kcheckers/main.cpp +++ b/noncore/games/kcheckers/main.cpp | |||
@@ -5,14 +5,6 @@ | |||
5 | #include "kcheckers.h" | 5 | #include "kcheckers.h" |
6 | #include <opie/oapplicationfactory.h> | ||
6 | 7 | ||
8 | OPIE_EXPORT_APP( OApplicationFactory<KCheckers> ) | ||
7 | 9 | ||
8 | int main(int argc, char *argv[]) | ||
9 | { | ||
10 | QPEApplication app(argc,argv); | ||
11 | |||
12 | KCheckers kcheckers; | ||
13 | app.setMainWidget(&kcheckers); | ||
14 | kcheckers.showMaximized(); | ||
15 | |||
16 | return app.exec(); | ||
17 | } | ||
18 | 10 | ||
diff --git a/noncore/games/kcheckers/opie-kcheckers.control b/noncore/games/kcheckers/opie-kcheckers.control index e228209..71f83af 100644 --- a/noncore/games/kcheckers/opie-kcheckers.control +++ b/noncore/games/kcheckers/opie-kcheckers.control | |||
@@ -1,3 +1,3 @@ | |||
1 | Package: opie-kcheckers | 1 | Package: opie-kcheckers |
2 | Files: bin/kcheckers apps/Games/kcheckers.desktop pics/kcheckers | 2 | Files: plugins/application/libkcheckers.so* bin/kcheckers apps/Games/kcheckers.desktop pics/kcheckers |
3 | Priority: optional | 3 | Priority: optional |