summaryrefslogtreecommitdiffabout
path: root/kabc/distributionlist.h
Side-by-side diff
Diffstat (limited to 'kabc/distributionlist.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/distributionlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/distributionlist.h b/kabc/distributionlist.h
index 5f091b1..584f287 100644
--- a/kabc/distributionlist.h
+++ b/kabc/distributionlist.h
@@ -149,69 +149,69 @@ class DistributionListManager
*/
void remove( DistributionList * );
/**
Return names of all distribution lists managed by this manager.
*/
QStringList listNames();
/**
Load distribution lists form disk.
*/
bool load();
/**
Save distribution lists to disk.
*/
bool save();
private:
AddressBook *mAddressBook;
QPtrList<DistributionList> mLists;
};
/**
@short Watchdog for distribution lists
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
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;
-//US KDirWatch *mDirWatch;
+ KDirWatch *mDirWatch;
};
}
#endif