author | zautrix <zautrix> | 2004-10-23 12:27:21 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-23 12:27:21 (UTC) |
commit | 73c0cb5307a8276f628765c651ef0284b85d64de (patch) (unidiff) | |
tree | 790661de779d3eee77adef0aa46424356f144e50 | |
parent | 8d9c2228a82648e03eb6da800c84277a5f018c10 (diff) | |
download | kdepimpi-73c0cb5307a8276f628765c651ef0284b85d64de.zip kdepimpi-73c0cb5307a8276f628765c651ef0284b85d64de.tar.gz kdepimpi-73c0cb5307a8276f628765c651ef0284b85d64de.tar.bz2 |
abc
-rw-r--r-- | Makefile | 28 | ||||
-rw-r--r-- | kabc/plugins/qtopia/qtopia.pro | 37 | ||||
-rw-r--r-- | kabc/plugins/qtopia/qtopiaconverter.h | 5 | ||||
-rw-r--r-- | kdepim-desktop.pro | 2 | ||||
-rw-r--r-- | libkdepim/kpimglobalprefs.cpp | 4 |
5 files changed, 69 insertions, 7 deletions
@@ -2,3 +2,3 @@ | |||
2 | # Makefile for building: kdepim-desktop | 2 | # Makefile for building: kdepim-desktop |
3 | # Generated by qmake (1.07a) (Qt 3.3.3) on: Sat Oct 23 12:23:49 2004 | 3 | # Generated by qmake (1.07a) (Qt 3.3.3) on: Sat Oct 23 13:59:59 2004 |
4 | # Project: kdepim-desktop.pro | 4 | # Project: kdepim-desktop.pro |
@@ -27,2 +27,4 @@ SUBTARGETS = \ | |||
27 | sub-kabc-plugins-dir \ | 27 | sub-kabc-plugins-dir \ |
28 | sub-kabc-plugins-file \ | ||
29 | sub-kabc-plugins-qtopia \ | ||
28 | sub-pwmanager-libcrypt-cipher \ | 30 | sub-pwmanager-libcrypt-cipher \ |
@@ -103,2 +105,14 @@ sub-kabc-plugins-dir: kabc/plugins/dir/$(MAKEFILE) FORCE | |||
103 | 105 | ||
106 | kabc/plugins/file/$(MAKEFILE): | ||
107 | @$(CHK_DIR_EXISTS) "kabc/plugins/file" || $(MKDIR) "kabc/plugins/file" | ||
108 | cd kabc/plugins/file && $(QMAKE) file.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
109 | sub-kabc-plugins-file: kabc/plugins/file/$(MAKEFILE) FORCE | ||
110 | cd kabc/plugins/file && $(MAKE) -f $(MAKEFILE) | ||
111 | |||
112 | kabc/plugins/qtopia/$(MAKEFILE): | ||
113 | @$(CHK_DIR_EXISTS) "kabc/plugins/qtopia" || $(MKDIR) "kabc/plugins/qtopia" | ||
114 | cd kabc/plugins/qtopia && $(QMAKE) qtopia.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
115 | sub-kabc-plugins-qtopia: kabc/plugins/qtopia/$(MAKEFILE) FORCE | ||
116 | cd kabc/plugins/qtopia && $(MAKE) -f $(MAKEFILE) | ||
117 | |||
104 | pwmanager/libcrypt/cipher/$(MAKEFILE): | 118 | pwmanager/libcrypt/cipher/$(MAKEFILE): |
@@ -139,3 +153,3 @@ qmake: qmake_all | |||
139 | all: $(SUBTARGETS) | 153 | all: $(SUBTARGETS) |
140 | qmake_all: gammu/emb/common/$(MAKEFILE) gammu/emb/gammu/$(MAKEFILE) libical/$(MAKEFILE) libkcal/$(MAKEFILE) microkde/$(MAKEFILE) libkdepim/$(MAKEFILE) kabc/$(MAKEFILE) korganizer/$(MAKEFILE) kaddressbook/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/dir/$(MAKEFILE) pwmanager/libcrypt/cipher/$(MAKEFILE) pwmanager/libcrypt/error/$(MAKEFILE) pwmanager/libcrypt/mpi/$(MAKEFILE) pwmanager/libcrypt/zlib/$(MAKEFILE) pwmanager/pwmanager/$(MAKEFILE) | 154 | qmake_all: gammu/emb/common/$(MAKEFILE) gammu/emb/gammu/$(MAKEFILE) libical/$(MAKEFILE) libkcal/$(MAKEFILE) microkde/$(MAKEFILE) libkdepim/$(MAKEFILE) kabc/$(MAKEFILE) korganizer/$(MAKEFILE) kaddressbook/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/dir/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/qtopia/$(MAKEFILE) pwmanager/libcrypt/cipher/$(MAKEFILE) pwmanager/libcrypt/error/$(MAKEFILE) pwmanager/libcrypt/mpi/$(MAKEFILE) pwmanager/libcrypt/zlib/$(MAKEFILE) pwmanager/pwmanager/$(MAKEFILE) |
141 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 155 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true |
@@ -151,2 +165,4 @@ qmake_all: gammu/emb/common/$(MAKEFILE) gammu/emb/gammu/$(MAKEFILE) libical/$(MA | |||
151 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 165 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true |
166 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
167 | ( [ -d kabc/plugins/qtopia ] && cd kabc/plugins/qtopia ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
152 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 168 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true |
@@ -168,2 +184,4 @@ clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE | |||
168 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 184 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; ) || true |
185 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
186 | ( [ -d kabc/plugins/qtopia ] && cd kabc/plugins/qtopia ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
169 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 187 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) $@; ) || true |
@@ -185,2 +203,4 @@ uninstall_subdirs: qmake_all FORCE | |||
185 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 203 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true |
204 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
205 | ( [ -d kabc/plugins/qtopia ] && cd kabc/plugins/qtopia ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
186 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 206 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true |
@@ -202,2 +222,4 @@ install_subdirs: qmake_all FORCE | |||
202 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) install; ) || true | 222 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) install; ) || true |
223 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
224 | ( [ -d kabc/plugins/qtopia ] && cd kabc/plugins/qtopia ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
203 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) install; ) || true | 225 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) install; ) || true |
@@ -219,2 +241,4 @@ distclean: qmake_all FORCE | |||
219 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | 241 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true |
242 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
243 | ( [ -d kabc/plugins/qtopia ] && cd kabc/plugins/qtopia ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
220 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | 244 | ( [ -d pwmanager/libcrypt/cipher ] && cd pwmanager/libcrypt/cipher ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true |
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 | |||
@@ -32,4 +32,7 @@ $Id$ | |||
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; |
diff --git a/kdepim-desktop.pro b/kdepim-desktop.pro index 074d943..5f964ef 100644 --- a/kdepim-desktop.pro +++ b/kdepim-desktop.pro | |||
@@ -3,3 +3,3 @@ | |||
3 | TEMPLATE = subdirs | 3 | TEMPLATE = subdirs |
4 | SUBDIRS = gammu/emb/common gammu/emb/gammu libical libkcal microkde libkdepim kabc korganizer kaddressbook kabc/plugins/file kabc/plugins/dir pwmanager/libcrypt/cipher pwmanager/libcrypt/error pwmanager/libcrypt/mpi pwmanager/libcrypt/zlib pwmanager/pwmanager | 4 | SUBDIRS = gammu/emb/common gammu/emb/gammu libical libkcal microkde libkdepim kabc korganizer kaddressbook kabc/plugins/file kabc/plugins/dir kabc/plugins/file kabc/plugins/qtopia pwmanager/libcrypt/cipher pwmanager/libcrypt/error pwmanager/libcrypt/mpi pwmanager/libcrypt/zlib pwmanager/pwmanager |
5 | #kalarmd | 5 | #kalarmd |
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp index 5298f0c..3771569 100644 --- a/libkdepim/kpimglobalprefs.cpp +++ b/libkdepim/kpimglobalprefs.cpp | |||
@@ -54,5 +54,3 @@ KPimGlobalPrefs::KPimGlobalPrefs( const QString &name ) | |||
54 | addItemInt("PreferredDate",&mPreferredDate,0); | 54 | addItemInt("PreferredDate",&mPreferredDate,0); |
55 | addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); | 55 | addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); |
56 | //addItemBool("QuickSavingWOUnicode",&mUseQuicksave,false); | ||
57 | // addItemBool("ShortDateInViewer",&mShortDateInViewer,false); | ||
58 | addItemString("UserDateFormatLong", &mUserDateFormatLong, "%A %d %b %y"); | 56 | addItemString("UserDateFormatLong", &mUserDateFormatLong, "%A %d %b %y"); |