summaryrefslogtreecommitdiff
authortille <tille>2003-09-03 15:49:42 (UTC)
committer tille <tille>2003-09-03 15:49:42 (UTC)
commit577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc (patch) (side-by-side diff)
tree56416720d3c76eb8be931fbc27a82a7a7c5c5967
parent9bcca67b731d0cf3c10092ec31234d5d03cef5cd (diff)
downloadopie-577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc.zip
opie-577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc.tar.gz
opie-577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc.tar.bz2
libopie2fied
it was always a test app ;)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/confedit/confedit.pro14
-rw-r--r--noncore/apps/confedit/listviewitemconf.cpp9
-rw-r--r--noncore/apps/confedit/main.cpp5
-rw-r--r--noncore/apps/confedit/mainwindow.cpp13
4 files changed, 27 insertions, 14 deletions
diff --git a/noncore/apps/confedit/confedit.pro b/noncore/apps/confedit/confedit.pro
index f6227f7..d2629de 100644
--- a/noncore/apps/confedit/confedit.pro
+++ b/noncore/apps/confedit/confedit.pro
@@ -8,4 +8,4 @@ INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/ioclude
-LIBS += -lqpe
INTERFACES =
+LIBS += -lopiecore2 -lopieui2
TARGET = confedit
@@ -31,3 +31,13 @@ TRANSLATIONS = ../../../i18n/de/confedit.ts \
+!contains( platform, x11 ) {
+
+ include ( $(OPIEDIR)/include.pro )
+ LIBS += -lqpe
+}
+
+contains( platform, x11 ) {
+ LIBS += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
+}
+
+
-include ( $(OPIEDIR)/include.pro )
diff --git a/noncore/apps/confedit/listviewitemconf.cpp b/noncore/apps/confedit/listviewitemconf.cpp
index 91edca2..61bd7ea 100644
--- a/noncore/apps/confedit/listviewitemconf.cpp
+++ b/noncore/apps/confedit/listviewitemconf.cpp
@@ -15,3 +15,3 @@ ListViewItemConf::ListViewItemConf(ListViewItemConf *parent)
}
-
+
ListViewItemConf::ListViewItemConf(QListView *parent)
@@ -21,3 +21,3 @@ ListViewItemConf::ListViewItemConf(QListView *parent)
}
-
+
ListViewItemConf::~ListViewItemConf()
@@ -50,2 +50,5 @@ bool ListViewItemConf::revertable()
return _changed;
-} \ No newline at end of file
+}
+
+
+
diff --git a/noncore/apps/confedit/main.cpp b/noncore/apps/confedit/main.cpp
index 6c18adb..7e7f064 100644
--- a/noncore/apps/confedit/main.cpp
+++ b/noncore/apps/confedit/main.cpp
@@ -3,3 +3,3 @@
-#include <qpe/qpeapplication.h>
+#include <opie2/oapplication.h>
@@ -7,4 +7,3 @@ int main( int argc, char ** argv )
{
-
- QPEApplication a( argc, argv );
+ OApplication a( argc, argv, "confedit" );
MainWindow mw;
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp
index 8e36980..58538af 100644
--- a/noncore/apps/confedit/mainwindow.cpp
+++ b/noncore/apps/confedit/mainwindow.cpp
@@ -14,8 +14,8 @@
-#include <qpe/qpemenubar.h>
-#include <qpe/qpemessagebox.h>
-#include <qpe/resource.h>
-#include <qpe/config.h>
-#include <qpe/qpetoolbar.h>
-#include <qpe/qpeapplication.h>
+#include <opie2/omenubar.h>
+#include <opie2/omessagebox.h>
+#include <opie2/oresource.h>
+#include <opie2/oconfig.h>
+#include <opie2/otoolbar.h>
+#include <opie2/oapplication.h>
#include <qaction.h>
@@ -30,2 +30,3 @@
#include <qlineedit.h>
+#include <qcursor.h>