author | zautrix <zautrix> | 2004-07-09 22:18:33 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-09 22:18:33 (UTC) |
commit | 5135d0b47efac71ecb7a98d7d66314c868133021 (patch) (unidiff) | |
tree | acd4d56b155b6eb19bef9b5fe0737ca8e8e5e9d2 | |
parent | eb2b55ccbdbaa24fae2b799019e7082778961e5c (diff) | |
download | kdepimpi-5135d0b47efac71ecb7a98d7d66314c868133021.zip kdepimpi-5135d0b47efac71ecb7a98d7d66314c868133021.tar.gz kdepimpi-5135d0b47efac71ecb7a98d7d66314c868133021.tar.bz2 |
renamed lib to microX
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | Makefile.EmbeddedMail | 6 | ||||
-rw-r--r-- | kaddressbook/xxport/opie/opie_xxport.cpp | 2 | ||||
-rw-r--r-- | kaddressbook/xxportmanager.cpp | 2 |
4 files changed, 12 insertions, 4 deletions
@@ -1,114 +1,118 @@ | |||
1 | DISTPATH = $(shell pwd) | 1 | DISTPATH = $(shell pwd) |
2 | DISTDIR = $(shell basename $(DISTPATH)) | 2 | DISTDIR = $(shell basename $(DISTPATH)) |
3 | 3 | ||
4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ | 4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ |
5 | libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ | 5 | libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ |
6 | kabc/plugins/opie \ | 6 | kabc/plugins/opie kaddressbook/xxport/opie \ |
7 | korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail | 7 | korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail |
8 | all: tmake | 8 | all: tmake |
9 | for i in $(SUBDIRS); do pushd $$i; \ | 9 | for i in $(SUBDIRS); do pushd $$i; \ |
10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
11 | done | 11 | done |
12 | 12 | ||
13 | objects: | 13 | objects: |
14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
16 | mkdir -p libical/lib/$(PLATFORM) | 16 | mkdir -p libical/lib/$(PLATFORM) |
17 | 17 | ||
18 | clean: | 18 | clean: |
19 | rm -f libical/lib/$(PLATFORM)/*; | 19 | rm -f libical/lib/$(PLATFORM)/*; |
20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
22 | done | 22 | done |
23 | install: | 23 | install: |
24 | cd bin/kdepim; make install | 24 | cd bin/kdepim; make install |
25 | cp db2file/db2file $(QPEDIR)/bin/db2file | 25 | cp db2file/db2file $(QPEDIR)/bin/db2file |
26 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 26 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
27 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop | 27 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
28 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 28 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
29 | 29 | ||
30 | dist: | 30 | dist: |
31 | @echo Dont forget to do "make install" before "make dist" | 31 | @echo Dont forget to do "make install" before "make dist" |
32 | rm -f *arm.ipk | 32 | rm -f *arm.ipk |
33 | rm -f *~ | 33 | rm -f *~ |
34 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 34 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
35 | mkipks kmicrokdelibs.control | 35 | mkipks kmicrokdelibs.control |
36 | mkipks korganizer.control | 36 | mkipks korganizer.control |
37 | mkipks kaddressbook.control | 37 | mkipks kaddressbook.control |
38 | mkipks kopiemail.control | 38 | mkipks kopiemail.control |
39 | mkipks korganizer-alarm.control | 39 | mkipks korganizer-alarm.control |
40 | 40 | ||
41 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ | 41 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ |
42 | libkcal/Makefile$(PLATFORM) \ | 42 | libkcal/Makefile$(PLATFORM) \ |
43 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ | 43 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ |
44 | kalarmd/Makefile$(PLATFORM) \ | 44 | kalarmd/Makefile$(PLATFORM) \ |
45 | libical/src/libical/Makefile$(PLATFORM) \ | 45 | libical/src/libical/Makefile$(PLATFORM) \ |
46 | libical/src/libicalss/Makefile$(PLATFORM) \ | 46 | libical/src/libicalss/Makefile$(PLATFORM) \ |
47 | kabc/Makefile$(PLATFORM) \ | 47 | kabc/Makefile$(PLATFORM) \ |
48 | kabc/converter/opie/Makefile$(PLATFORM) \ | 48 | kabc/converter/opie/Makefile$(PLATFORM) \ |
49 | kaddressbook/xxport/opie/Makefile$(PLATFORM) \ | ||
49 | kabc/formats/binary/Makefile$(PLATFORM) \ | 50 | kabc/formats/binary/Makefile$(PLATFORM) \ |
50 | kabc/plugins/file/Makefile$(PLATFORM) \ | 51 | kabc/plugins/file/Makefile$(PLATFORM) \ |
51 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 52 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
52 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 53 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
53 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 54 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
54 | kaddressbook/Makefile$(PLATFORM) \ | 55 | kaddressbook/Makefile$(PLATFORM) \ |
55 | kmicromail/Makefile$(PLATFORM) \ | 56 | kmicromail/Makefile$(PLATFORM) \ |
56 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 57 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
57 | kmicromail/libmailwrapper/Makefile$(PLATFORM) | 58 | kmicromail/libmailwrapper/Makefile$(PLATFORM) |
58 | 59 | ||
59 | 60 | ||
60 | 61 | ||
61 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 62 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
62 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 63 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
63 | 64 | ||
64 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 65 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
65 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 66 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
66 | 67 | ||
67 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 68 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
68 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | 69 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
69 | 70 | ||
70 | 71 | ||
71 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 72 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
72 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | 73 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
73 | 74 | ||
74 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 75 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
75 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | 76 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
76 | 77 | ||
77 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 78 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
78 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | 79 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
79 | 80 | ||
80 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 81 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
81 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | 82 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
82 | 83 | ||
83 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 84 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
84 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | 85 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
85 | 86 | ||
86 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 87 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
87 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | 88 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
88 | 89 | ||
89 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro | 90 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro |
90 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) | 91 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) |
92 | |||
93 | kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro | ||
94 | cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | ||
91 | 95 | ||
92 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 96 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
93 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 97 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
94 | 98 | ||
95 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro | 99 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro |
96 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) | 100 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) |
97 | 101 | ||
98 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro | 102 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro |
99 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) | 103 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) |
100 | 104 | ||
101 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro | 105 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro |
102 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) | 106 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) |
103 | 107 | ||
104 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro | 108 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro |
105 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) | 109 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) |
106 | 110 | ||
107 | 111 | ||
108 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 112 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
109 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | 113 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
110 | 114 | ||
111 | 115 | ||
112 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 116 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
113 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | 117 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
114 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 118 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
diff --git a/Makefile.EmbeddedMail b/Makefile.EmbeddedMail index d770a05..22ba681 100644 --- a/Makefile.EmbeddedMail +++ b/Makefile.EmbeddedMail | |||
@@ -1,114 +1,118 @@ | |||
1 | DISTPATH = $(shell pwd) | 1 | DISTPATH = $(shell pwd) |
2 | DISTDIR = $(shell basename $(DISTPATH)) | 2 | DISTDIR = $(shell basename $(DISTPATH)) |
3 | 3 | ||
4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ | 4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ |
5 | libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ | 5 | libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ |
6 | kabc/plugins/opie \ | 6 | kabc/plugins/opie kaddressbook/xxport/opie \ |
7 | korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail | 7 | korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail |
8 | all: tmake | 8 | all: tmake |
9 | for i in $(SUBDIRS); do pushd $$i; \ | 9 | for i in $(SUBDIRS); do pushd $$i; \ |
10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
11 | done | 11 | done |
12 | 12 | ||
13 | objects: | 13 | objects: |
14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
16 | mkdir -p libical/lib/$(PLATFORM) | 16 | mkdir -p libical/lib/$(PLATFORM) |
17 | 17 | ||
18 | clean: | 18 | clean: |
19 | rm -f libical/lib/$(PLATFORM)/*; | 19 | rm -f libical/lib/$(PLATFORM)/*; |
20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
22 | done | 22 | done |
23 | install: | 23 | install: |
24 | cd bin/kdepim; make install | 24 | cd bin/kdepim; make install |
25 | cp db2file/db2file $(QPEDIR)/bin/db2file | 25 | cp db2file/db2file $(QPEDIR)/bin/db2file |
26 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 26 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
27 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop | 27 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
28 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 28 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
29 | 29 | ||
30 | dist: | 30 | dist: |
31 | @echo Dont forget to do "make install" before "make dist" | 31 | @echo Dont forget to do "make install" before "make dist" |
32 | rm -f *arm.ipk | 32 | rm -f *arm.ipk |
33 | rm -f *~ | 33 | rm -f *~ |
34 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 34 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
35 | mkipks kmicrokdelibs.control | 35 | mkipks kmicrokdelibs.control |
36 | mkipks korganizer.control | 36 | mkipks korganizer.control |
37 | mkipks kaddressbook.control | 37 | mkipks kaddressbook.control |
38 | mkipks kopiemail.control | 38 | mkipks kopiemail.control |
39 | mkipks korganizer-alarm.control | 39 | mkipks korganizer-alarm.control |
40 | 40 | ||
41 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ | 41 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ |
42 | libkcal/Makefile$(PLATFORM) \ | 42 | libkcal/Makefile$(PLATFORM) \ |
43 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ | 43 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ |
44 | kalarmd/Makefile$(PLATFORM) \ | 44 | kalarmd/Makefile$(PLATFORM) \ |
45 | libical/src/libical/Makefile$(PLATFORM) \ | 45 | libical/src/libical/Makefile$(PLATFORM) \ |
46 | libical/src/libicalss/Makefile$(PLATFORM) \ | 46 | libical/src/libicalss/Makefile$(PLATFORM) \ |
47 | kabc/Makefile$(PLATFORM) \ | 47 | kabc/Makefile$(PLATFORM) \ |
48 | kabc/converter/opie/Makefile$(PLATFORM) \ | 48 | kabc/converter/opie/Makefile$(PLATFORM) \ |
49 | kaddressbook/xxport/opie/Makefile$(PLATFORM) \ | ||
49 | kabc/formats/binary/Makefile$(PLATFORM) \ | 50 | kabc/formats/binary/Makefile$(PLATFORM) \ |
50 | kabc/plugins/file/Makefile$(PLATFORM) \ | 51 | kabc/plugins/file/Makefile$(PLATFORM) \ |
51 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 52 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
52 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 53 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
53 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 54 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
54 | kaddressbook/Makefile$(PLATFORM) \ | 55 | kaddressbook/Makefile$(PLATFORM) \ |
55 | kmicromail/Makefile$(PLATFORM) \ | 56 | kmicromail/Makefile$(PLATFORM) \ |
56 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 57 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
57 | kmicromail/libmailwrapper/Makefile$(PLATFORM) | 58 | kmicromail/libmailwrapper/Makefile$(PLATFORM) |
58 | 59 | ||
59 | 60 | ||
60 | 61 | ||
61 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 62 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
62 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 63 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
63 | 64 | ||
64 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 65 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
65 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 66 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
66 | 67 | ||
67 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 68 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
68 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | 69 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
69 | 70 | ||
70 | 71 | ||
71 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 72 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
72 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | 73 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
73 | 74 | ||
74 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 75 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
75 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | 76 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
76 | 77 | ||
77 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 78 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
78 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | 79 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
79 | 80 | ||
80 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 81 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
81 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | 82 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
82 | 83 | ||
83 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 84 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
84 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | 85 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
85 | 86 | ||
86 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 87 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
87 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | 88 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
88 | 89 | ||
89 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro | 90 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro |
90 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) | 91 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) |
92 | |||
93 | kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro | ||
94 | cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | ||
91 | 95 | ||
92 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 96 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
93 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 97 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
94 | 98 | ||
95 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro | 99 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro |
96 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) | 100 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) |
97 | 101 | ||
98 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro | 102 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro |
99 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) | 103 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) |
100 | 104 | ||
101 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro | 105 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro |
102 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) | 106 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) |
103 | 107 | ||
104 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro | 108 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro |
105 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) | 109 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) |
106 | 110 | ||
107 | 111 | ||
108 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 112 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
109 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | 113 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
110 | 114 | ||
111 | 115 | ||
112 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 116 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
113 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | 117 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
114 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 118 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
diff --git a/kaddressbook/xxport/opie/opie_xxport.cpp b/kaddressbook/xxport/opie/opie_xxport.cpp index 8ee0725..12c83af 100644 --- a/kaddressbook/xxport/opie/opie_xxport.cpp +++ b/kaddressbook/xxport/opie/opie_xxport.cpp | |||
@@ -50,49 +50,49 @@ $Id$ | |||
50 | #include <klocale.h> | 50 | #include <klocale.h> |
51 | #include <kmessagebox.h> | 51 | #include <kmessagebox.h> |
52 | #include <ktempfile.h> | 52 | #include <ktempfile.h> |
53 | #include <kurl.h> | 53 | #include <kurl.h> |
54 | */ | 54 | */ |
55 | 55 | ||
56 | #include "xxportmanager.h" | 56 | #include "xxportmanager.h" |
57 | #include "opieconverter.h" | 57 | #include "opieconverter.h" |
58 | 58 | ||
59 | #include "opie_xxport.h" | 59 | #include "opie_xxport.h" |
60 | 60 | ||
61 | 61 | ||
62 | class OpieXXPortFactory : public XXPortFactory | 62 | class OpieXXPortFactory : public XXPortFactory |
63 | { | 63 | { |
64 | public: | 64 | public: |
65 | XXPortObject *xxportObject( KABC::AddressBook *ab, QWidget *parent, const char *name ) | 65 | XXPortObject *xxportObject( KABC::AddressBook *ab, QWidget *parent, const char *name ) |
66 | { | 66 | { |
67 | return new OpieXXPort( ab, parent, name ); | 67 | return new OpieXXPort( ab, parent, name ); |
68 | } | 68 | } |
69 | }; | 69 | }; |
70 | 70 | ||
71 | 71 | ||
72 | extern "C" | 72 | extern "C" |
73 | { | 73 | { |
74 | void *init_kaddrbk_opie_xxport() | 74 | void *init_microkaddrbk_opie_xxport() |
75 | { | 75 | { |
76 | return ( new OpieXXPortFactory() ); | 76 | return ( new OpieXXPortFactory() ); |
77 | } | 77 | } |
78 | } | 78 | } |
79 | 79 | ||
80 | 80 | ||
81 | OpieXXPort::OpieXXPort( KABC::AddressBook *ab, QWidget *parent, const char *name ) | 81 | OpieXXPort::OpieXXPort( KABC::AddressBook *ab, QWidget *parent, const char *name ) |
82 | : XXPortObject( ab, parent, name ) | 82 | : XXPortObject( ab, parent, name ) |
83 | { | 83 | { |
84 | createImportAction( i18n( "Import Opie..." ) ); | 84 | createImportAction( i18n( "Import Opie..." ) ); |
85 | createExportAction( i18n( "Export Opie..." ) ); | 85 | createExportAction( i18n( "Export Opie..." ) ); |
86 | } | 86 | } |
87 | 87 | ||
88 | bool OpieXXPort::exportContacts( const KABC::AddresseeList &list, const QString &data ) | 88 | bool OpieXXPort::exportContacts( const KABC::AddresseeList &list, const QString &data ) |
89 | { | 89 | { |
90 | QString name = QDir::homeDirPath() + "/Applications/addressbook/addressbook.xml"; | 90 | QString name = QDir::homeDirPath() + "/Applications/addressbook/addressbook.xml"; |
91 | 91 | ||
92 | #ifndef KAB_EMBEDDED | 92 | #ifndef KAB_EMBEDDED |
93 | QString fileName = KFileDialog::getSaveFileName( name ); | 93 | QString fileName = KFileDialog::getSaveFileName( name ); |
94 | #else //KAB_EMBEDDED | 94 | #else //KAB_EMBEDDED |
95 | QString fileName = KFileDialog::getSaveFileName( name, i18n("Save file"), parentWidget() ); | 95 | QString fileName = KFileDialog::getSaveFileName( name, i18n("Save file"), parentWidget() ); |
96 | #endif //KAB_EMBEDDED | 96 | #endif //KAB_EMBEDDED |
97 | 97 | ||
98 | if ( fileName.isEmpty() ) | 98 | if ( fileName.isEmpty() ) |
diff --git a/kaddressbook/xxportmanager.cpp b/kaddressbook/xxportmanager.cpp index 20cde49..248fcab 100644 --- a/kaddressbook/xxportmanager.cpp +++ b/kaddressbook/xxportmanager.cpp | |||
@@ -176,49 +176,49 @@ void XXPortManager::loadPlugins() | |||
176 | for ( it = plugins.begin(); it != plugins.end(); ++it ) { | 176 | for ( it = plugins.begin(); it != plugins.end(); ++it ) { |
177 | if ( !(*it)->hasServiceType( "KAddressBook/XXPort" ) ) | 177 | if ( !(*it)->hasServiceType( "KAddressBook/XXPort" ) ) |
178 | continue; | 178 | continue; |
179 | 179 | ||
180 | KLibFactory *factory = KLibLoader::self()->factory( (*it)->library().latin1() ); | 180 | KLibFactory *factory = KLibLoader::self()->factory( (*it)->library().latin1() ); |
181 | if ( !factory ) { | 181 | if ( !factory ) { |
182 | kdDebug(5720) << "XXPortManager::loadExtensions(): Factory creation failed" << endl; | 182 | kdDebug(5720) << "XXPortManager::loadExtensions(): Factory creation failed" << endl; |
183 | continue; | 183 | continue; |
184 | } | 184 | } |
185 | 185 | ||
186 | XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory ); | 186 | XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory ); |
187 | 187 | ||
188 | if ( !xxportFactory ) { | 188 | if ( !xxportFactory ) { |
189 | kdDebug(5720) << "XXPortManager::loadExtensions(): Cast failed" << endl; | 189 | kdDebug(5720) << "XXPortManager::loadExtensions(): Cast failed" << endl; |
190 | continue; | 190 | continue; |
191 | } | 191 | } |
192 | 192 | ||
193 | #else //KAB_EMBEDDED | 193 | #else //KAB_EMBEDDED |
194 | QList<XXPortFactory> factorylist; | 194 | QList<XXPortFactory> factorylist; |
195 | factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_csv_xxport())); | 195 | factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_csv_xxport())); |
196 | factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_kde2_xxport())); | 196 | factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_kde2_xxport())); |
197 | factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_vcard_xxport())); | 197 | factorylist.append(static_cast<XXPortFactory*>(init_kaddrbk_vcard_xxport())); |
198 | 198 | ||
199 | //now add the opie import library dynamically | 199 | //now add the opie import library dynamically |
200 | KLibFactory *factory = KLibLoader::self()->factory( "kaddrbk_opie_xxport" ); | 200 | KLibFactory *factory = KLibLoader::self()->factory( "microkaddrbk_opie_xxport" ); |
201 | if ( factory ) { | 201 | if ( factory ) { |
202 | XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory ); | 202 | XXPortFactory *xxportFactory = static_cast<XXPortFactory*>( factory ); |
203 | factorylist.append(xxportFactory); | 203 | factorylist.append(xxportFactory); |
204 | } | 204 | } |
205 | 205 | ||
206 | QListIterator<XXPortFactory> it(factorylist); | 206 | QListIterator<XXPortFactory> it(factorylist); |
207 | for ( ; it.current(); ++it ) | 207 | for ( ; it.current(); ++it ) |
208 | { | 208 | { |
209 | XXPortFactory *xxportFactory = it.current(); | 209 | XXPortFactory *xxportFactory = it.current(); |
210 | #endif //KAB_EMBEDDED | 210 | #endif //KAB_EMBEDDED |
211 | 211 | ||
212 | XXPortObject *obj = xxportFactory->xxportObject( mCore->addressBook(), mCore ); | 212 | XXPortObject *obj = xxportFactory->xxportObject( mCore->addressBook(), mCore ); |
213 | if ( obj ) { | 213 | if ( obj ) { |
214 | mCore->addGUIClient( obj ); | 214 | mCore->addGUIClient( obj ); |
215 | mXXPortObjects.insert( obj->identifier(), obj ); | 215 | mXXPortObjects.insert( obj->identifier(), obj ); |
216 | connect( obj, SIGNAL( exportActivated( const QString&, const QString& ) ), | 216 | connect( obj, SIGNAL( exportActivated( const QString&, const QString& ) ), |
217 | this, SLOT( slotExport( const QString&, const QString& ) ) ); | 217 | this, SLOT( slotExport( const QString&, const QString& ) ) ); |
218 | connect( obj, SIGNAL( importActivated( const QString&, const QString& ) ), | 218 | connect( obj, SIGNAL( importActivated( const QString&, const QString& ) ), |
219 | this, SLOT( slotImport( const QString&, const QString& ) ) ); | 219 | this, SLOT( slotImport( const QString&, const QString& ) ) ); |
220 | } | 220 | } |
221 | } | 221 | } |
222 | 222 | ||
223 | } | 223 | } |
224 | 224 | ||