-rw-r--r-- | kabc/distributionlist.cpp | 4 | ||||
-rw-r--r-- | kabc/distributionlist.h | 17 |
2 files changed, 8 insertions, 13 deletions
diff --git a/kabc/distributionlist.cpp b/kabc/distributionlist.cpp index 1fb186e..d34ba0b 100644 --- a/kabc/distributionlist.cpp +++ b/kabc/distributionlist.cpp @@ -260,7 +260,7 @@ bool DistributionListManager::save() return true; } - +#if 0 DistributionListWatcher* DistributionListWatcher::mSelf = 0; DistributionListWatcher::DistributionListWatcher() @@ -287,6 +287,6 @@ DistributionListWatcher *DistributionListWatcher::self() return mSelf; } - +#endif //US #include "distributionlist.moc" diff --git a/kabc/distributionlist.h b/kabc/distributionlist.h index 584f287..c81e543 100644 --- a/kabc/distributionlist.h +++ b/kabc/distributionlist.h @@ -21,7 +21,7 @@ #ifndef KABC_DISTRIBUTIONLIST_H #define KABC_DISTRIBUTIONLIST_H -#include <kdirwatch.h> +//#include <kdirwatch.h> #include "addressbook.h" @@ -185,23 +185,18 @@ class DistributionListManager </pre> */ +/* class DistributionListWatcher : public QObject { - Q_OBJECT + Q_OBJECT_XX public: - /** - * Returns the watcher object. - */ + static DistributionListWatcher *self(); signals: - /** - * This signal is emmitted whenever the distribution lists has - * changed (if a list was added or removed, when a list was - * renamed or the entries of the list changed). - */ + void changed(); protected: @@ -212,6 +207,6 @@ class DistributionListWatcher : public QObject static DistributionListWatcher* mSelf; KDirWatch *mDirWatch; }; - +*/ } #endif |