summaryrefslogtreecommitdiffabout
path: root/kabc/plugins/opie/resourceopie.h
Unidiff
Diffstat (limited to 'kabc/plugins/opie/resourceopie.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/opie/resourceopie.h9
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
39class QTimer; 39
40class FormatPlugin; 40//class QTimer;
41//class FormatPlugin;
41 42
42namespace KABC { 43namespace KABC {
43 44
44//US class FormatPlugin; 45//US class FormatPlugin;
45class ResourceConfigWidget; 46class ResourceConfigWidget;
46 47class OpieConverter;
47/** 48/**
48 @internal 49 @internal
49*/ 50*/
50class ResourceOpie : public Resource 51class ResourceOpie : public Resource
51{ 52{
52 Q_OBJECT 53 Q_OBJECT
53 54
54public: 55public:
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
130protected slots: 131protected slots:
131 void fileChanged(); 132 void fileChanged();
132 133
133protected: 134protected:
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
139private: 140private:
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