author | zautrix <zautrix> | 2004-08-08 12:16:57 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-08 12:16:57 (UTC) |
commit | 4cc869512488b72304c7cbb5526c6f4cc957e677 (patch) (side-by-side diff) | |
tree | 5658bb7ec55abc04b8e4f2d8e97faf945f0b9eeb | |
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 | ||||
-rw-r--r-- | kabc/distributionlist.h | 17 | ||||
-rw-r--r-- | microkde/microkde.pro | 1 |
3 files changed, 8 insertions, 14 deletions
diff --git a/kabc/distributionlist.cpp b/kabc/distributionlist.cpp index 1fb186e..d34ba0b 100644 --- a/kabc/distributionlist.cpp +++ b/kabc/distributionlist.cpp @@ -259,9 +259,9 @@ bool DistributionListManager::save() cfg.sync(); return true; } - +#if 0 DistributionListWatcher* DistributionListWatcher::mSelf = 0; DistributionListWatcher::DistributionListWatcher() : QObject( 0, "DistributionListWatcher" ) @@ -286,7 +286,7 @@ DistributionListWatcher *DistributionListWatcher::self() mSelf = new DistributionListWatcher(); 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 @@ -20,9 +20,9 @@ #ifndef KABC_DISTRIBUTIONLIST_H #define KABC_DISTRIBUTIONLIST_H -#include <kdirwatch.h> +//#include <kdirwatch.h> #include "addressbook.h" namespace KABC { @@ -184,25 +184,20 @@ class DistributionListManager connect( watchdog, SIGNAL( changed() ), SLOT( doSomething() ) ); </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: DistributionListWatcher(); @@ -211,7 +206,7 @@ class DistributionListWatcher : public QObject private: static DistributionListWatcher* mSelf; KDirWatch *mDirWatch; }; - +*/ } #endif diff --git a/microkde/microkde.pro b/microkde/microkde.pro index f9adfb1..71d662b 100644 --- a/microkde/microkde.pro +++ b/microkde/microkde.pro @@ -35,9 +35,8 @@ KDGanttMinimizeSplitter.h \ kdatetbl.h \ kdebug.h \ kdialog.h \ kdialogbase.h \ - kdirwatch.h \ keditlistbox.h \ kemailsettings.h \ kfiledialog.h \ kfontdialog.h \ |