summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/distributionlist.cpp4
-rw-r--r--kabc/distributionlist.h17
-rw-r--r--microkde/microkde.pro1
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
@@ -251,25 +251,25 @@ bool DistributionListManager::save()
}
cfg.writeEntry( "__Lists__List__", namelist );
cfg.sync();
return true;
}
-
+#if 0
DistributionListWatcher* DistributionListWatcher::mSelf = 0;
DistributionListWatcher::DistributionListWatcher()
: QObject( 0, "DistributionListWatcher" )
{
mDirWatch = new KDirWatch;
mDirWatch->addFile( locateLocal( "data", "kabc/distlists" ) );
connect( mDirWatch, SIGNAL( dirty( const QString& ) ), SIGNAL( changed() ) );
mDirWatch->startScan();
}
@@ -278,15 +278,15 @@ DistributionListWatcher::~DistributionListWatcher()
{
delete mDirWatch;
mDirWatch = 0;
}
DistributionListWatcher *DistributionListWatcher::self()
{
if ( !mSelf )
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
@@ -12,25 +12,25 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef KABC_DISTRIBUTIONLIST_H
#define KABC_DISTRIBUTIONLIST_H
-#include <kdirwatch.h>
+//#include <kdirwatch.h>
#include "addressbook.h"
namespace KABC {
class DistributionListManager;
/**
@short Distribution list of email addresses
This class represents a list of email addresses. Each email address is
associated with an address book entry. If the address book entry changes, the
@@ -176,42 +176,37 @@ class DistributionListManager
This class provides a @ref changed() signal that i emitted when the
distribution lists has changed in some way.
Exapmle:
<pre>
KABC::DistributionListWatcher *watchdog = KABC::DistributionListWatcher::self()
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();
~DistributionListWatcher();
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
@@ -27,25 +27,24 @@ KDGanttMinimizeSplitter.h \
kapplication.h \
kaudioplayer.h \
kcalendarsystem.h \
kcalendarsystemgregorian.h \
kcolorbutton.h \
kcolordialog.h \
kcombobox.h \
kconfig.h \
kdatetbl.h \
kdebug.h \
kdialog.h \
kdialogbase.h \
- kdirwatch.h \
keditlistbox.h \
kemailsettings.h \
kfiledialog.h \
kfontdialog.h \
kglobal.h \
kglobalsettings.h \
kiconloader.h \
klineedit.h \
klineeditdlg.h \
kmessagebox.h \
knotifyclient.h \
kprinter.h \