author | drw <drw> | 2004-02-23 19:06:26 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-23 19:06:26 (UTC) |
commit | 34339c8c6d356dfad6380778fd84a3fba6967303 (patch) (unidiff) | |
tree | 10ffe98a17d43f603a253069198239a3c4cca782 | |
parent | 7206bf5ae8a9940a9c30a9dc3dd3cb663e64874b (diff) | |
download | opie-34339c8c6d356dfad6380778fd84a3fba6967303.zip opie-34339c8c6d356dfad6380778fd84a3fba6967303.tar.gz opie-34339c8c6d356dfad6380778fd84a3fba6967303.tar.bz2 |
ODict: libopie->libopie2
-rw-r--r-- | noncore/apps/odict/config.in | 2 | ||||
-rw-r--r-- | noncore/apps/odict/main.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/odict/odict.pro | 4 | ||||
-rw-r--r-- | noncore/apps/odict/opie-odict.control | 2 | ||||
-rw-r--r-- | noncore/apps/odict/searchmethoddlg.cpp | 7 | ||||
-rw-r--r-- | noncore/apps/odict/searchmethoddlg.h | 8 |
6 files changed, 12 insertions, 15 deletions
diff --git a/noncore/apps/odict/config.in b/noncore/apps/odict/config.in index 0ec2c89..c1f5eb4 100644 --- a/noncore/apps/odict/config.in +++ b/noncore/apps/odict/config.in | |||
@@ -1,4 +1,4 @@ | |||
1 | config ODICT | 1 | config ODICT |
2 | boolean "opie-odict (electronic dictionary)" | 2 | boolean "opie-odict (electronic dictionary)" |
3 | default "n" | 3 | default "n" |
4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE | 4 | depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE && LIBOPIE2UI |
diff --git a/noncore/apps/odict/main.cpp b/noncore/apps/odict/main.cpp index 0642022..d5b08d3 100644 --- a/noncore/apps/odict/main.cpp +++ b/noncore/apps/odict/main.cpp | |||
@@ -16,8 +16,8 @@ | |||
16 | **************************************************************************/ | 16 | **************************************************************************/ |
17 | 17 | ||
18 | 18 | ||
19 | #include <qpe/qpeapplication.h> | 19 | #include <opie2/oapplicationfactory.h> |
20 | #include <opie/oapplicationfactory.h> | 20 | |
21 | #include "odict.h" | 21 | #include "odict.h" |
22 | 22 | ||
23 | 23 | ||
diff --git a/noncore/apps/odict/odict.pro b/noncore/apps/odict/odict.pro index 32e0ecc..7480cd7 100644 --- a/noncore/apps/odict/odict.pro +++ b/noncore/apps/odict/odict.pro | |||
@@ -2,7 +2,7 @@ CONFIG = qt warn_on release quick-app | |||
2 | HEADERS = odict.h \ | 2 | HEADERS = odict.h \ |
3 | searchmethoddlg.h \ | 3 | searchmethoddlg.h \ |
4 | configdlg.h \ | 4 | configdlg.h \ |
5 | dingwidget.h | 5 | dingwidget.h |
6 | 6 | ||
7 | SOURCES = main.cpp \ | 7 | SOURCES = main.cpp \ |
8 | odict.cpp \ | 8 | odict.cpp \ |
@@ -11,7 +11,7 @@ SOURCES = main.cpp \ | |||
11 | dingwidget.cpp | 11 | dingwidget.cpp |
12 | INCLUDEPATH += $(OPIEDIR)/include | 12 | INCLUDEPATH += $(OPIEDIR)/include |
13 | DEPENDPATH += $(OPIEDIR)/include | 13 | DEPENDPATH += $(OPIEDIR)/include |
14 | LIBS += -lqpe -lstdc++ -lopie | 14 | LIBS += -lqpe -lstdc++ -lopiecore2 -lopieui2 |
15 | TARGET = odict | 15 | TARGET = odict |
16 | 16 | ||
17 | include ( $(OPIEDIR)/include.pro ) | 17 | include ( $(OPIEDIR)/include.pro ) |
diff --git a/noncore/apps/odict/opie-odict.control b/noncore/apps/odict/opie-odict.control index b5cf931..bd4101b 100644 --- a/noncore/apps/odict/opie-odict.control +++ b/noncore/apps/odict/opie-odict.control | |||
@@ -4,7 +4,7 @@ Priority: optional | |||
4 | Section: opie/applications | 4 | Section: opie/applications |
5 | Maintainer: Carsten Niehaus <cniehaus@handhelds.org> | 5 | Maintainer: Carsten Niehaus <cniehaus@handhelds.org> |
6 | Architecture: arm | 6 | Architecture: arm |
7 | Depends: task-opie-minimal | 7 | Depends: task-opie-minimal, libopiecore2, libopieui2 |
8 | Description: Dictionary look-up program | 8 | Description: Dictionary look-up program |
9 | Look up words :) | 9 | Look up words :) |
10 | Version: $QPE_VERSION$EXTRAVERSION | 10 | Version: $QPE_VERSION$EXTRAVERSION |
diff --git a/noncore/apps/odict/searchmethoddlg.cpp b/noncore/apps/odict/searchmethoddlg.cpp index 8ed7152..abe2966 100644 --- a/noncore/apps/odict/searchmethoddlg.cpp +++ b/noncore/apps/odict/searchmethoddlg.cpp | |||
@@ -16,6 +16,9 @@ | |||
16 | **************************************************************************/ | 16 | **************************************************************************/ |
17 | #include "searchmethoddlg.h" | 17 | #include "searchmethoddlg.h" |
18 | 18 | ||
19 | #include <opie2/ofileselector.h> | ||
20 | #include <opie2/ofiledialog.h> | ||
21 | |||
19 | #include <qpe/config.h> | 22 | #include <qpe/config.h> |
20 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
21 | 24 | ||
@@ -29,8 +32,8 @@ | |||
29 | #include <qlineedit.h> | 32 | #include <qlineedit.h> |
30 | #include <qdir.h> | 33 | #include <qdir.h> |
31 | 34 | ||
32 | #include <opie/ofileselector.h> | 35 | using Opie::OFileDialog; |
33 | #include <opie/ofiledialog.h> | 36 | using Opie::OFileSelector; |
34 | 37 | ||
35 | SearchMethodDlg::SearchMethodDlg(QWidget *parent, const char *name, bool modal, QString itemname) : QDialog(parent, name, modal) | 38 | SearchMethodDlg::SearchMethodDlg(QWidget *parent, const char *name, bool modal, QString itemname) : QDialog(parent, name, modal) |
36 | { | 39 | { |
diff --git a/noncore/apps/odict/searchmethoddlg.h b/noncore/apps/odict/searchmethoddlg.h index 706bbc1..ee9513b 100644 --- a/noncore/apps/odict/searchmethoddlg.h +++ b/noncore/apps/odict/searchmethoddlg.h | |||
@@ -7,20 +7,14 @@ | |||
7 | * * | 7 | * * |
8 | **************************************************************************/ | 8 | **************************************************************************/ |
9 | 9 | ||
10 | class QWidget; | ||
11 | class QLineEdit; | 10 | class QLineEdit; |
12 | class OTabWidget; | ||
13 | class QListView; | ||
14 | class QPushButton; | ||
15 | class QLabel; | ||
16 | class QString; | ||
17 | 11 | ||
18 | #include <qdialog.h> | 12 | #include <qdialog.h> |
19 | 13 | ||
20 | class SearchMethodDlg : public QDialog | 14 | class SearchMethodDlg : public QDialog |
21 | { | 15 | { |
22 | Q_OBJECT | 16 | Q_OBJECT |
23 | 17 | ||
24 | public: | 18 | public: |
25 | SearchMethodDlg(QWidget *parent, const char *name, bool modal=FALSE, QString itemname=0 ); | 19 | SearchMethodDlg(QWidget *parent, const char *name, bool modal=FALSE, QString itemname=0 ); |
26 | 20 | ||