Diffstat (limited to 'kabc/plugins/opie/resourceopie.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kabc/plugins/opie/resourceopie.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kabc/plugins/opie/resourceopie.h b/kabc/plugins/opie/resourceopie.h index d21272a..9db9485 100644 --- a/kabc/plugins/opie/resourceopie.h +++ b/kabc/plugins/opie/resourceopie.h | |||
@@ -27,32 +27,33 @@ $Id$ | |||
27 | 27 | ||
28 | 28 | ||
29 | #ifndef KABC_RESOURCEOPIE_H | 29 | #ifndef KABC_RESOURCEOPIE_H |
30 | #define KABC_RESOURCEOPIE_H | 30 | #define KABC_RESOURCEOPIE_H |
31 | 31 | ||
32 | #include <kconfig.h> | 32 | #include <kconfig.h> |
33 | #include <kdirwatch.h> | 33 | #include <kdirwatch.h> |
34 | 34 | ||
35 | #include <sys/types.h> | 35 | #include <sys/types.h> |
36 | 36 | ||
37 | #include "resource.h" | 37 | #include "resource.h" |
38 | 38 | ||
39 | class QTimer; | 39 | |
40 | class FormatPlugin; | 40 | //class QTimer; |
41 | //class FormatPlugin; | ||
41 | 42 | ||
42 | namespace KABC { | 43 | namespace KABC { |
43 | 44 | ||
44 | //US class FormatPlugin; | 45 | //US class FormatPlugin; |
45 | class ResourceConfigWidget; | 46 | class ResourceConfigWidget; |
46 | 47 | class OpieConverter; | |
47 | /** | 48 | /** |
48 | @internal | 49 | @internal |
49 | */ | 50 | */ |
50 | class ResourceOpie : public Resource | 51 | class ResourceOpie : public Resource |
51 | { | 52 | { |
52 | Q_OBJECT | 53 | Q_OBJECT |
53 | 54 | ||
54 | public: | 55 | public: |
55 | 56 | ||
56 | /** | 57 | /** |
57 | Constructor. | 58 | Constructor. |
58 | 59 | ||
@@ -128,22 +129,24 @@ public: | |||
128 | virtual void cleanUp(); | 129 | virtual void cleanUp(); |
129 | 130 | ||
130 | protected slots: | 131 | protected slots: |
131 | void fileChanged(); | 132 | void fileChanged(); |
132 | 133 | ||
133 | protected: | 134 | protected: |
134 | void init( const QString &fileName ); | 135 | void init( const QString &fileName ); |
135 | 136 | ||
136 | bool lock( const QString &fileName ); | 137 | bool lock( const QString &fileName ); |
137 | void unlock( const QString &fileName ); | 138 | void unlock( const QString &fileName ); |
138 | 139 | ||
139 | private: | 140 | private: |
141 | OpieConverter* mConverter; | ||
142 | |||
140 | QString mFileName; | 143 | QString mFileName; |
141 | 144 | ||
142 | QString mLockUniqueName; | 145 | QString mLockUniqueName; |
143 | 146 | ||
144 | KDirWatch mDirWatch; | 147 | KDirWatch mDirWatch; |
145 | }; | 148 | }; |
146 | 149 | ||
147 | } | 150 | } |
148 | 151 | ||
149 | #endif | 152 | #endif |