author | drw <drw> | 2004-03-02 21:18:45 (UTC) |
---|---|---|
committer | drw <drw> | 2004-03-02 21:18:45 (UTC) |
commit | d05254f7566108c436cd825bb26c980582163a92 (patch) (unidiff) | |
tree | 146dacb06a14c619ca9722630da6b385accf39a8 | |
parent | f98648a75f6c5df1a5c16f5e024d367951adda70 (diff) | |
download | opie-d05254f7566108c436cd825bb26c980582163a92.zip opie-d05254f7566108c436cd825bb26c980582163a92.tar.gz opie-d05254f7566108c436cd825bb26c980582163a92.tar.bz2 |
ZSame: libopie -> libopie2
-rw-r--r-- | noncore/games/zsame/ZSameWidget.cpp | 8 | ||||
-rw-r--r-- | noncore/games/zsame/config.in | 2 | ||||
-rw-r--r-- | noncore/games/zsame/opie-zsame.control | 2 | ||||
-rw-r--r-- | noncore/games/zsame/zsame.pro | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/noncore/games/zsame/ZSameWidget.cpp b/noncore/games/zsame/ZSameWidget.cpp index 45a877f..3c58c93 100644 --- a/noncore/games/zsame/ZSameWidget.cpp +++ b/noncore/games/zsame/ZSameWidget.cpp | |||
@@ -8,44 +8,44 @@ | |||
8 | * the Free Software Foundation; either version 2 of the License, or | 8 | * the Free Software Foundation; either version 2 of the License, or |
9 | * (at your option) any later version. | 9 | * (at your option) any later version. |
10 | * | 10 | * |
11 | * This program is distributed in the hope that it will be useful, | 11 | * This program is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | * GNU General Public License for more details. | 14 | * GNU General Public License for more details. |
15 | * | 15 | * |
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License |
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software |
18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | 23 | ||
24 | #include <opie2/oapplicationfactory.h> | ||
25 | |||
26 | #include <qpe/resource.h> | ||
27 | |||
24 | #include <qtoolbar.h> | 28 | #include <qtoolbar.h> |
25 | #include <qmenubar.h> | 29 | #include <qmenubar.h> |
26 | |||
27 | #include <qapplication.h> | 30 | #include <qapplication.h> |
28 | #include <qaction.h> | 31 | #include <qaction.h> |
29 | #include <qmessagebox.h> | 32 | #include <qmessagebox.h> |
30 | 33 | ||
31 | #include <qpe/resource.h> | ||
32 | #include <opie/oapplicationfactory.h> | ||
33 | #include <kapplication.h> | 34 | #include <kapplication.h> |
34 | 35 | ||
35 | |||
36 | #include "ZSameWidget.h" | 36 | #include "ZSameWidget.h" |
37 | 37 | ||
38 | static int default_colors=3; | 38 | static int default_colors=3; |
39 | 39 | ||
40 | #define i18n tr | 40 | #define i18n tr |
41 | 41 | ||
42 | 42 | ||
43 | OPIE_EXPORT_APP( OApplicationFactory<ZSameWidget> ) | 43 | OPIE_EXPORT_APP( OApplicationFactory<ZSameWidget> ) |
44 | 44 | ||
45 | 45 | ||
46 | 46 | ||
47 | ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl ) | 47 | ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl ) |
48 | : QMainWindow( parent, name, fl ) | 48 | : QMainWindow( parent, name, fl ) |
49 | { | 49 | { |
50 | setCaption(tr("ZSame")); | 50 | setCaption(tr("ZSame")); |
51 | 51 | ||
diff --git a/noncore/games/zsame/config.in b/noncore/games/zsame/config.in index cd3e1a1..7774594 100644 --- a/noncore/games/zsame/config.in +++ b/noncore/games/zsame/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config ZSAME | 1 | config ZSAME |
2 | boolean "opie-zsame (a SameGame clone)" | 2 | boolean "opie-zsame (a SameGame clone)" |
3 | default "y" | 3 | default "y" |
4 | depends ( LIBQPE || LIBQPE-X11 ) | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE |
diff --git a/noncore/games/zsame/opie-zsame.control b/noncore/games/zsame/opie-zsame.control index d9d5009..4a4b940 100644 --- a/noncore/games/zsame/opie-zsame.control +++ b/noncore/games/zsame/opie-zsame.control | |||
@@ -1,10 +1,10 @@ | |||
1 | Package: opie-zsame | 1 | Package: opie-zsame |
2 | Files: plugins/application/libzsame.so* bin/zsame apps/Games/zsame.desktop pics/zsame | 2 | Files: plugins/application/libzsame.so* bin/zsame apps/Games/zsame.desktop pics/zsame |
3 | Priority: optional | 3 | Priority: optional |
4 | Section: opie/games | 4 | Section: opie/games |
5 | Maintainer: Holger 'Zecke' Freyther <zecke@handhelds.org> | 5 | Maintainer: Holger 'Zecke' Freyther <zecke@handhelds.org> |
6 | Architecture: arm | 6 | Architecture: arm |
7 | Depends: task-opie-minimal | 7 | Depends: task-opie-minimal, libopiecore2 |
8 | Description: ZSame | 8 | Description: ZSame |
9 | A game for the Opie environment. | 9 | A game for the Opie environment. |
10 | Version: $QPE_VERSION$EXTRAVERSION | 10 | Version: $QPE_VERSION$EXTRAVERSION |
diff --git a/noncore/games/zsame/zsame.pro b/noncore/games/zsame/zsame.pro index 17fba91..ac1b5be 100644 --- a/noncore/games/zsame/zsame.pro +++ b/noncore/games/zsame/zsame.pro | |||
@@ -1,17 +1,17 @@ | |||
1 | CONFIG += qt warn_on quick-app | 1 | CONFIG += qt warn_on quick-app |
2 | 2 | ||
3 | 3 | ||
4 | TARGET = zsame | 4 | TARGET = zsame |
5 | 5 | ||
6 | HEADERS = StoneField.h StoneWidget.h ZSameWidget.h dropin/krandomsequence.h | 6 | HEADERS = StoneField.h StoneWidget.h ZSameWidget.h dropin/krandomsequence.h |
7 | SOURCES = StoneField.cpp StoneWidget.cpp ZSameWidget.cpp dropin/krandomsequence.cpp | 7 | SOURCES = StoneField.cpp StoneWidget.cpp ZSameWidget.cpp dropin/krandomsequence.cpp |
8 | 8 | ||
9 | 9 | ||
10 | INCLUDEPATH += $(OPIEDIR)/include dropin | 10 | INCLUDEPATH += $(OPIEDIR)/include dropin |
11 | DEPENDPATH += $(OPIEDIR)/include | 11 | DEPENDPATH += $(OPIEDIR)/include |
12 | 12 | ||
13 | 13 | ||
14 | # we now also include opie | 14 | # we now also include opie |
15 | LIBS += -lqpe | 15 | LIBS += -lqpe -lopiecore2 |
16 | 16 | ||
17 | include ( $(OPIEDIR)/include.pro ) | 17 | include ( $(OPIEDIR)/include.pro ) |