summaryrefslogtreecommitdiffabout
path: root/kabc/plugins/dir/resourcedir.h
Side-by-side diff
Diffstat (limited to 'kabc/plugins/dir/resourcedir.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/plugins/dir/resourcedir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kabc/plugins/dir/resourcedir.h b/kabc/plugins/dir/resourcedir.h
index c2aedad..77cd18c 100644
--- a/kabc/plugins/dir/resourcedir.h
+++ b/kabc/plugins/dir/resourcedir.h
@@ -83,33 +83,34 @@ public:
QString format() const;
/**
* Remove a addressee from its source.
* This method is mainly called by KABC::AddressBook.
*/
virtual void removeAddressee( const Addressee& addr );
/**
* This method is called by an error handler if the application
* crashed
*/
virtual void cleanUp();
protected slots:
void pathChanged();
protected:
bool lock( const QString &path );
void unlock( const QString &path );
private:
FormatPlugin *mFormat;
+#ifndef NO_DIRWATCH
KDirWatch mDirWatch;
-
+#endif
QString mPath;
QString mFormatName;
QString mLockUniqueName;
};
}
#endif