-rw-r--r-- | kabc/plugins/qtopia/qtopia.pro | 37 | ||||
-rw-r--r-- | kabc/plugins/qtopia/qtopiaconverter.h | 5 |
2 files changed, 41 insertions, 1 deletions
diff --git a/kabc/plugins/qtopia/qtopia.pro b/kabc/plugins/qtopia/qtopia.pro new file mode 100644 index 0000000..6efb678 --- a/dev/null +++ b/kabc/plugins/qtopia/qtopia.pro | |||
@@ -0,0 +1,37 @@ | |||
1 | TEMPLATE= lib | ||
2 | CONFIG += qt warn_on release | ||
3 | |||
4 | TARGET = microkabc_qtopia | ||
5 | |||
6 | INCLUDEPATH += ../.. ../../.. ../../../kabc ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../microkde/kresources | ||
7 | |||
8 | DESTDIR = ../../../bin | ||
9 | #LIBS += -lmicrokde | ||
10 | #LIBS += -lkamicrokabc | ||
11 | |||
12 | DEFINES += KAB_EMBEDDED DESKTOP_VERSION | ||
13 | |||
14 | INTERFACES = \ | ||
15 | |||
16 | HEADERS = \ | ||
17 | resourceqtopia.h \ | ||
18 | resourceqtopiaconfig.h \ | ||
19 | qtopiaconverter.h | ||
20 | |||
21 | SOURCES = \ | ||
22 | resourceqtopia.cpp \ | ||
23 | resourceqtopiaconfig.cpp \ | ||
24 | qtopiaconverter.cpp | ||
25 | |||
26 | |||
27 | |||
28 | unix : { | ||
29 | OBJECTS_DIR = obj/unix | ||
30 | MOC_DIR = moc/unix | ||
31 | } | ||
32 | win32: { | ||
33 | CONFIG += dll | ||
34 | DEFINES += _WIN32_ | ||
35 | OBJECTS_DIR = obj/win | ||
36 | MOC_DIR = moc/win | ||
37 | } | ||
diff --git a/kabc/plugins/qtopia/qtopiaconverter.h b/kabc/plugins/qtopia/qtopiaconverter.h index cb5b433..744dd41 100644 --- a/kabc/plugins/qtopia/qtopiaconverter.h +++ b/kabc/plugins/qtopia/qtopiaconverter.h | |||
@@ -25,18 +25,21 @@ $Id$ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #ifndef KABC_QTOPIACONVERTER_H | 27 | #ifndef KABC_QTOPIACONVERTER_H |
28 | #define KABC_QTOPIACONVERTER_H | 28 | #define KABC_QTOPIACONVERTER_H |
29 | 29 | ||
30 | #include <qstring.h> | 30 | #include <qstring.h> |
31 | 31 | ||
32 | #include "addressee.h" | 32 | #include "addressee.h" |
33 | 33 | #ifdef DESKTOP_VERSION | |
34 | #include <qdom.h> | ||
35 | #else | ||
34 | #include <xml/qdom.h> | 36 | #include <xml/qdom.h> |
37 | #endif | ||
35 | class Categories; | 38 | class Categories; |
36 | 39 | ||
37 | namespace KABC { | 40 | namespace KABC { |
38 | 41 | ||
39 | 42 | ||
40 | 43 | ||
41 | class OpieCategories { | 44 | class OpieCategories { |
42 | public: | 45 | public: |