author | zautrix <zautrix> | 2004-08-08 12:16:57 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-08 12:16:57 (UTC) |
commit | 4cc869512488b72304c7cbb5526c6f4cc957e677 (patch) (unidiff) | |
tree | 5658bb7ec55abc04b8e4f2d8e97faf945f0b9eeb /kabc/distributionlist.cpp | |
parent | 7c4e0075810cf95ab2b1ecda2d971264e9a9b60c (diff) | |
download | kdepimpi-4cc869512488b72304c7cbb5526c6f4cc957e677.zip kdepimpi-4cc869512488b72304c7cbb5526c6f4cc957e677.tar.gz kdepimpi-4cc869512488b72304c7cbb5526c6f4cc957e677.tar.bz2 |
Made it compileable on desktop 2
-rw-r--r-- | kabc/distributionlist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/distributionlist.cpp b/kabc/distributionlist.cpp index 1fb186e..d34ba0b 100644 --- a/kabc/distributionlist.cpp +++ b/kabc/distributionlist.cpp | |||
@@ -251,25 +251,25 @@ bool DistributionListManager::save() | |||
251 | } | 251 | } |
252 | cfg.writeEntry( "__Lists__List__", namelist ); | 252 | cfg.writeEntry( "__Lists__List__", namelist ); |
253 | 253 | ||
254 | 254 | ||
255 | 255 | ||
256 | 256 | ||
257 | 257 | ||
258 | 258 | ||
259 | cfg.sync(); | 259 | cfg.sync(); |
260 | 260 | ||
261 | return true; | 261 | return true; |
262 | } | 262 | } |
263 | 263 | #if 0 | |
264 | DistributionListWatcher* DistributionListWatcher::mSelf = 0; | 264 | DistributionListWatcher* DistributionListWatcher::mSelf = 0; |
265 | 265 | ||
266 | DistributionListWatcher::DistributionListWatcher() | 266 | DistributionListWatcher::DistributionListWatcher() |
267 | : QObject( 0, "DistributionListWatcher" ) | 267 | : QObject( 0, "DistributionListWatcher" ) |
268 | { | 268 | { |
269 | 269 | ||
270 | mDirWatch = new KDirWatch; | 270 | mDirWatch = new KDirWatch; |
271 | mDirWatch->addFile( locateLocal( "data", "kabc/distlists" ) ); | 271 | mDirWatch->addFile( locateLocal( "data", "kabc/distlists" ) ); |
272 | 272 | ||
273 | connect( mDirWatch, SIGNAL( dirty( const QString& ) ), SIGNAL( changed() ) ); | 273 | connect( mDirWatch, SIGNAL( dirty( const QString& ) ), SIGNAL( changed() ) ); |
274 | mDirWatch->startScan(); | 274 | mDirWatch->startScan(); |
275 | } | 275 | } |
@@ -278,15 +278,15 @@ DistributionListWatcher::~DistributionListWatcher() | |||
278 | { | 278 | { |
279 | delete mDirWatch; | 279 | delete mDirWatch; |
280 | mDirWatch = 0; | 280 | mDirWatch = 0; |
281 | } | 281 | } |
282 | 282 | ||
283 | DistributionListWatcher *DistributionListWatcher::self() | 283 | DistributionListWatcher *DistributionListWatcher::self() |
284 | { | 284 | { |
285 | if ( !mSelf ) | 285 | if ( !mSelf ) |
286 | mSelf = new DistributionListWatcher(); | 286 | mSelf = new DistributionListWatcher(); |
287 | 287 | ||
288 | return mSelf; | 288 | return mSelf; |
289 | } | 289 | } |
290 | 290 | #endif | |
291 | //US #include "distributionlist.moc" | 291 | //US #include "distributionlist.moc" |
292 | 292 | ||