Diffstat (limited to 'kabc/plugins/opie/resourceopie.h') (more/less context) (show whitespace changes)
-rw-r--r-- | kabc/plugins/opie/resourceopie.h | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/kabc/plugins/opie/resourceopie.h b/kabc/plugins/opie/resourceopie.h index 9db9485..ca30fee 100644 --- a/kabc/plugins/opie/resourceopie.h +++ b/kabc/plugins/opie/resourceopie.h | |||
@@ -39,4 +39,3 @@ $Id$ | |||
39 | 39 | ||
40 | //class QTimer; | 40 | class OContactAccess; |
41 | //class FormatPlugin; | ||
42 | 41 | ||
@@ -44,3 +43,2 @@ namespace KABC { | |||
44 | 43 | ||
45 | //US class FormatPlugin; | ||
46 | class ResourceConfigWidget; | 44 | class ResourceConfigWidget; |
@@ -61,3 +59,3 @@ public: | |||
61 | */ | 59 | */ |
62 | ResourceOpie( const KConfig *cfg ); | 60 | ResourceOpie( const KConfig *cfg, bool syncable ); |
63 | 61 | ||
@@ -66,3 +64,3 @@ public: | |||
66 | */ | 64 | */ |
67 | ResourceOpie( const QString &fileName ); | 65 | ResourceOpie( const QString &fileName, bool syncable ); |
68 | 66 | ||
@@ -108,11 +106,2 @@ public: | |||
108 | 106 | ||
109 | /** | ||
110 | * Set name of file to be used for saving. | ||
111 | */ | ||
112 | void setFileName( const QString & ); | ||
113 | |||
114 | /** | ||
115 | * Return name of file used for loading and saving the address book. | ||
116 | */ | ||
117 | QString fileName() const; | ||
118 | 107 | ||
@@ -125,2 +114,7 @@ public: | |||
125 | /** | 114 | /** |
115 | * Set name of file to be used for saving. | ||
116 | */ | ||
117 | virtual void setFileName( const QString & ); | ||
118 | |||
119 | /** | ||
126 | * This method is called by an error handler if the application | 120 | * This method is called by an error handler if the application |
@@ -130,2 +124,13 @@ public: | |||
130 | 124 | ||
125 | /** | ||
126 | * This method returns the number of elements that are currently in the resource. | ||
127 | */ | ||
128 | virtual int count() const; | ||
129 | |||
130 | /** | ||
131 | * This method removes all elements from the resource!! (Not from the addressbook) | ||
132 | */ | ||
133 | virtual bool clear(); | ||
134 | |||
135 | |||
131 | protected slots: | 136 | protected slots: |
@@ -140,6 +145,5 @@ protected: | |||
140 | private: | 145 | private: |
146 | OContactAccess* mAccess; | ||
141 | OpieConverter* mConverter; | 147 | OpieConverter* mConverter; |
142 | 148 | ||
143 | QString mFileName; | ||
144 | |||
145 | QString mLockUniqueName; | 149 | QString mLockUniqueName; |