author | ulf69 <ulf69> | 2004-07-17 00:38:43 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-07-17 00:38:43 (UTC) |
commit | 01570860c92be8977a1ba558ae7c5f15d4635851 (patch) (unidiff) | |
tree | 2f3fead3ad0d2b0185d032fb3982c32c4fa15904 /kabc | |
parent | 2439711b1ac7ee38269baff704293eb37a27f6c9 (diff) | |
download | kdepimpi-01570860c92be8977a1ba558ae7c5f15d4635851.zip kdepimpi-01570860c92be8977a1ba558ae7c5f15d4635851.tar.gz kdepimpi-01570860c92be8977a1ba558ae7c5f15d4635851.tar.bz2 |
implementation of sharp import/export resourcehandling
-rw-r--r-- | kabc/plugins/sharpdtm/resourcesharpdtm.h | 10 | ||||
-rw-r--r-- | kabc/plugins/sharpdtm/sharpdtmE.pro | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kabc/plugins/sharpdtm/resourcesharpdtm.h b/kabc/plugins/sharpdtm/resourcesharpdtm.h index 32d0be1..d2e2a52 100644 --- a/kabc/plugins/sharpdtm/resourcesharpdtm.h +++ b/kabc/plugins/sharpdtm/resourcesharpdtm.h | |||
@@ -37,13 +37,13 @@ $Id$ | |||
37 | #include "resource.h" | 37 | #include "resource.h" |
38 | 38 | ||
39 | 39 | ||
40 | namespace KABC { | 40 | namespace KABC { |
41 | 41 | ||
42 | class ResourceConfigWidget; | 42 | class ResourceConfigWidget; |
43 | class QtopiaConverter; | 43 | class SharpDTMConverter; |
44 | 44 | ||
45 | /** | 45 | /** |
46 | @internal | 46 | @internal |
47 | */ | 47 | */ |
48 | class ResourceSharpDTM : public Resource | 48 | class ResourceSharpDTM : public Resource |
49 | { | 49 | { |
@@ -80,13 +80,13 @@ public: | |||
80 | virtual bool doOpen(); | 80 | virtual bool doOpen(); |
81 | 81 | ||
82 | /** | 82 | /** |
83 | * Closes the file again. | 83 | * Closes the file again. |
84 | */ | 84 | */ |
85 | virtual void doClose(); | 85 | virtual void doClose(); |
86 | 86 | ||
87 | /** | 87 | /** |
88 | * Requests a save ticket, that is used by @ref save() | 88 | * Requests a save ticket, that is used by @ref save() |
89 | */ | 89 | */ |
90 | virtual Ticket *requestSaveTicket(); | 90 | virtual Ticket *requestSaveTicket(); |
91 | 91 | ||
92 | /** | 92 | /** |
@@ -132,18 +132,18 @@ protected: | |||
132 | void init( const QString &fileName ); | 132 | void init( const QString &fileName ); |
133 | 133 | ||
134 | bool lock( const QString &fileName ); | 134 | bool lock( const QString &fileName ); |
135 | void unlock( const QString &fileName ); | 135 | void unlock( const QString &fileName ); |
136 | 136 | ||
137 | private: | 137 | private: |
138 | QtopiaConverter* mConverter; | 138 | SharpDTMConverter* mConverter; |
139 | 139 | ||
140 | QString mFileName; | 140 | QString mFileName; |
141 | 141 | ||
142 | QString mLockUniqueName; | 142 | QString mLockUniqueName; |
143 | 143 | ||
144 | KDirWatch mDirWatch; | 144 | KDirWatch mDirWatch; |
145 | }; | 145 | }; |
146 | 146 | ||
147 | } | 147 | } |
148 | 148 | ||
149 | #endif | 149 | #endif |
diff --git a/kabc/plugins/sharpdtm/sharpdtmE.pro b/kabc/plugins/sharpdtm/sharpdtmE.pro index f29be2f..7c7a6d5 100644 --- a/kabc/plugins/sharpdtm/sharpdtmE.pro +++ b/kabc/plugins/sharpdtm/sharpdtmE.pro | |||
@@ -1,12 +1,12 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | #release debug | 3 | #release debug |
4 | TARGET = microkabc_sharpdtm | 4 | TARGET = microkabc_sharpdtm |
5 | 5 | ||
6 | INCLUDEPATH += ../.. ../../../external/sharpdtm/include ../../converter/qtopia ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../qtcompat $(QPEDIR)/include | 6 | INCLUDEPATH += ../.. ../../../external/sharpdtm/include ../../converter/sharpdtm ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../qtcompat $(QPEDIR)/include |
7 | 7 | ||
8 | 8 | ||
9 | OBJECTS_DIR = obj/$(PLATFORM) | 9 | OBJECTS_DIR = obj/$(PLATFORM) |
10 | MOC_DIR = moc/$(PLATFORM) | 10 | MOC_DIR = moc/$(PLATFORM) |
11 | DESTDIR = $(QPEDIR)/lib | 11 | DESTDIR = $(QPEDIR)/lib |
12 | LIBS += -lmicrokde | 12 | LIBS += -lmicrokde |