summaryrefslogtreecommitdiff
authordrw <drw>2004-02-23 19:06:26 (UTC)
committer drw <drw>2004-02-23 19:06:26 (UTC)
commit34339c8c6d356dfad6380778fd84a3fba6967303 (patch) (side-by-side diff)
tree10ffe98a17d43f603a253069198239a3c4cca782
parent7206bf5ae8a9940a9c30a9dc3dd3cb663e64874b (diff)
downloadopie-34339c8c6d356dfad6380778fd84a3fba6967303.zip
opie-34339c8c6d356dfad6380778fd84a3fba6967303.tar.gz
opie-34339c8c6d356dfad6380778fd84a3fba6967303.tar.bz2
ODict: libopie->libopie2
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/odict/config.in2
-rw-r--r--noncore/apps/odict/main.cpp4
-rw-r--r--noncore/apps/odict/odict.pro2
-rw-r--r--noncore/apps/odict/opie-odict.control2
-rw-r--r--noncore/apps/odict/searchmethoddlg.cpp7
-rw-r--r--noncore/apps/odict/searchmethoddlg.h6
6 files changed, 10 insertions, 13 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
@@ -2,3 +2,3 @@
boolean "opie-odict (electronic dictionary)"
default "n"
- depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE
+ 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
@@ -17,6 +17,6 @@
-#include <qpe/qpeapplication.h>
-#include <opie/oapplicationfactory.h>
+#include <opie2/oapplicationfactory.h>
+
#include "odict.h"
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
@@ -12,5 +12,5 @@ SOURCES = main.cpp \
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lqpe -lstdc++ -lopie
+LIBS += -lqpe -lstdc++ -lopiecore2 -lopieui2
TARGET = odict
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
@@ -5,5 +5,5 @@ Section: opie/applications
Maintainer: Carsten Niehaus <cniehaus@handhelds.org>
Architecture: arm
-Depends: task-opie-minimal
+Depends: task-opie-minimal, libopiecore2, libopieui2
Description: Dictionary look-up program
Look up words :)
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
@@ -17,4 +17,7 @@
#include "searchmethoddlg.h"
+#include <opie2/ofileselector.h>
+#include <opie2/ofiledialog.h>
+
#include <qpe/config.h>
#include <qpe/qpeapplication.h>
@@ -30,6 +33,6 @@
#include <qdir.h>
-#include <opie/ofileselector.h>
-#include <opie/ofiledialog.h>
+using Opie::OFileDialog;
+using Opie::OFileSelector;
SearchMethodDlg::SearchMethodDlg(QWidget *parent, const char *name, bool modal, QString itemname) : QDialog(parent, name, modal)
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
@@ -8,11 +8,5 @@
**************************************************************************/
-class QWidget;
class QLineEdit;
-class OTabWidget;
-class QListView;
-class QPushButton;
-class QLabel;
-class QString;
#include <qdialog.h>