summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/distributionlist.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/kabc/distributionlist.h b/kabc/distributionlist.h
index ccff487..5f091b1 100644
--- a/kabc/distributionlist.h
+++ b/kabc/distributionlist.h
@@ -165,55 +165,53 @@ class DistributionListManager
165 bool save(); 165 bool save();
166 166
167 private: 167 private:
168 AddressBook *mAddressBook; 168 AddressBook *mAddressBook;
169 169
170 QPtrList<DistributionList> mLists; 170 QPtrList<DistributionList> mLists;
171}; 171};
172 172
173/** 173/**
174 @short Watchdog for distribution lists 174 @short Watchdog for distribution lists
175 175
176 This class provides a @ref changed() signal that i emitted when the 176 This class provides a @ref changed() signal that i emitted when the
177 distribution lists has changed in some way. 177 distribution lists has changed in some way.
178 178
179 Exapmle: 179 Exapmle:
180 180
181 <pre> 181 <pre>
182 KABC::DistributionListWatcher *watchdog = KABC::DistributionListWatcher::self() 182 KABC::DistributionListWatcher *watchdog = KABC::DistributionListWatcher::self()
183 183
184 connect( watchdog, SIGNAL( changed() ), SLOT( doSomething() ) ); 184 connect( watchdog, SIGNAL( changed() ), SLOT( doSomething() ) );
185 </pre> 185 </pre>
186*/ 186*/
187 187
188class DistributionListWatcher : public QObject 188class DistributionListWatcher : public QObject
189{ 189{
190 Q_OBJECT 190 Q_OBJECT
191 191
192 public: 192 public:
193 /** 193 /**
194 * Returns the watcher object. 194 * Returns the watcher object.
195 */ 195 */
196 static DistributionListWatcher *self(); 196 static DistributionListWatcher *self();
197 197
198 198
199 signals: 199 signals:
200 /** 200 /**
201 * This signal is emmitted whenever the distribution lists has 201 * This signal is emmitted whenever the distribution lists has
202 * changed (if a list was added or removed, when a list was 202 * changed (if a list was added or removed, when a list was
203 * renamed or the entries of the list changed). 203 * renamed or the entries of the list changed).
204 */ 204 */
205 void changed(); 205 void changed();
206 206
207 protected: 207 protected:
208 DistributionListWatcher(); 208 DistributionListWatcher();
209 ~DistributionListWatcher(); 209 ~DistributionListWatcher();
210 210
211 private: 211 private:
212 static DistributionListWatcher* mSelf; 212 static DistributionListWatcher* mSelf;
213#ifndef KAB_EMBEDDED 213//US KDirWatch *mDirWatch;
214 KDirWatch *mDirWatch;
215#endif //KAB_EMBEDDED
216}; 214};
217 215
218} 216}
219#endif 217#endif