summaryrefslogtreecommitdiffabout
path: root/kabc/plugins/sharpdtm/resourcesharpdtm.h
Unidiff
Diffstat (limited to 'kabc/plugins/sharpdtm/resourcesharpdtm.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/sharpdtm/resourcesharpdtm.h10
1 files changed, 5 insertions, 5 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
@@ -31,25 +31,25 @@ $Id$
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 39
40namespace KABC { 40namespace KABC {
41 41
42class ResourceConfigWidget; 42class ResourceConfigWidget;
43class QtopiaConverter; 43class SharpDTMConverter;
44 44
45/** 45/**
46 @internal 46 @internal
47*/ 47*/
48class ResourceSharpDTM : public Resource 48class ResourceSharpDTM : public Resource
49{ 49{
50 Q_OBJECT 50 Q_OBJECT
51 51
52public: 52public:
53 53
54 /** 54 /**
55 Constructor. 55 Constructor.
@@ -74,25 +74,25 @@ public:
74 virtual void writeConfig( KConfig *cfg ); 74 virtual void writeConfig( KConfig *cfg );
75 75
76 /** 76 /**
77 * Tries to open the file and checks for the proper format. 77 * Tries to open the file and checks for the proper format.
78 * This method should be called before @ref load(). 78 * This method should be called before @ref load().
79 */ 79 */
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 /**
93 * Loads all addressees from file to the address book. 93 * Loads all addressees from file to the address book.
94 * Returns true if all addressees could be loaded otherwise false. 94 * Returns true if all addressees could be loaded otherwise false.
95 */ 95 */
96 virtual bool load(); 96 virtual bool load();
97 97
98 /** 98 /**
@@ -126,24 +126,24 @@ public:
126 virtual void cleanUp(); 126 virtual void cleanUp();
127 127
128protected slots: 128protected slots:
129 void fileChanged(); 129 void fileChanged();
130 130
131protected: 131protected:
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
137private: 137private:
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