summaryrefslogtreecommitdiffabout
path: root/kabc/plugins/dir/resourcedir.cpp
authorulf69 <ulf69>2004-07-14 14:52:15 (UTC)
committer ulf69 <ulf69>2004-07-14 14:52:15 (UTC)
commitcf7175c9a6b96cd11fb7f3cba459f5223aa4aacb (patch) (side-by-side diff)
treee14057a10fba52a7b2881f5bacb0d266e415bd83 /kabc/plugins/dir/resourcedir.cpp
parent80b35ebb50cac5007c074a4900f518f48f704eac (diff)
downloadkdepimpi-cf7175c9a6b96cd11fb7f3cba459f5223aa4aacb.zip
kdepimpi-cf7175c9a6b96cd11fb7f3cba459f5223aa4aacb.tar.gz
kdepimpi-cf7175c9a6b96cd11fb7f3cba459f5223aa4aacb.tar.bz2
added changes to support the kdirwatch implementation
Diffstat (limited to 'kabc/plugins/dir/resourcedir.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/dir/resourcedir.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/kabc/plugins/dir/resourcedir.cpp b/kabc/plugins/dir/resourcedir.cpp
index 3cb5179..7825c6f 100644
--- a/kabc/plugins/dir/resourcedir.cpp
+++ b/kabc/plugins/dir/resourcedir.cpp
@@ -114,3 +114,2 @@ ResourceDir::ResourceDir( const KConfig *config )
-/*US we have no KDirWatch. SO simulate the signals from inside the apropriate methods
connect( &mDirWatch, SIGNAL( dirty(const QString&) ), SLOT( pathChanged() ) );
@@ -118,3 +117,2 @@ ResourceDir::ResourceDir( const KConfig *config )
connect( &mDirWatch, SIGNAL( deleted(const QString&) ), SLOT( pathChanged() ) );
-*/
@@ -300,15 +298,12 @@ void ResourceDir::setPath( const QString &path )
{
-/*US ToDo: no synchronization so far. Has to be changed in the future
mDirWatch.stopScan();
mDirWatch.removeDir( mPath );
-*/
+
mPath = path;
-/*US ToDo: no synchronization so far. Has to be changed in the future
mDirWatch.addDir( mPath, true );
mDirWatch.startScan();
-*/
//US simulate KDirWatch event
- pathChanged();
+//US pathChanged();