summaryrefslogtreecommitdiffabout
path: root/kabc
authorzautrix <zautrix>2004-10-23 12:27:21 (UTC)
committer zautrix <zautrix>2004-10-23 12:27:21 (UTC)
commit73c0cb5307a8276f628765c651ef0284b85d64de (patch) (unidiff)
tree790661de779d3eee77adef0aa46424356f144e50 /kabc
parent8d9c2228a82648e03eb6da800c84277a5f018c10 (diff)
downloadkdepimpi-73c0cb5307a8276f628765c651ef0284b85d64de.zip
kdepimpi-73c0cb5307a8276f628765c651ef0284b85d64de.tar.gz
kdepimpi-73c0cb5307a8276f628765c651ef0284b85d64de.tar.bz2
abc
Diffstat (limited to 'kabc') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/qtopia/qtopia.pro37
-rw-r--r--kabc/plugins/qtopia/qtopiaconverter.h5
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
2CONFIG += qt warn_on release
3
4TARGET = microkabc_qtopia
5
6INCLUDEPATH += ../.. ../../.. ../../../kabc ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../microkde/kresources
7
8DESTDIR = ../../../bin
9#LIBS += -lmicrokde
10#LIBS += -lkamicrokabc
11
12DEFINES += KAB_EMBEDDED DESKTOP_VERSION
13
14INTERFACES = \
15
16HEADERS = \
17 resourceqtopia.h \
18 resourceqtopiaconfig.h \
19 qtopiaconverter.h
20
21SOURCES = \
22 resourceqtopia.cpp \
23 resourceqtopiaconfig.cpp \
24 qtopiaconverter.cpp
25
26
27
28unix : {
29OBJECTS_DIR = obj/unix
30MOC_DIR = moc/unix
31}
32win32: {
33CONFIG += dll
34DEFINES += _WIN32_
35OBJECTS_DIR = obj/win
36MOC_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
@@ -21,26 +21,29 @@
21/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24$Id$ 24$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
35class Categories; 38class Categories;
36 39
37namespace KABC { 40namespace KABC {
38 41
39 42
40 43
41class OpieCategories { 44class OpieCategories {
42 public: 45 public:
43 //friend class KSync::OpieSocket; 46 //friend class KSync::OpieSocket;
44 friend bool operator== ( const OpieCategories &a, const OpieCategories &b ); 47 friend bool operator== ( const OpieCategories &a, const OpieCategories &b );
45 OpieCategories(); 48 OpieCategories();
46 OpieCategories(const QString &id, const QString &name, const QString &app ); 49 OpieCategories(const QString &id, const QString &name, const QString &app );