kabc
21 #ifndef KABC_RESOURCEDIR_H
22 #define KABC_RESOURCEDIR_H
24 #include "kabc_dir_export.h"
26 #include "kabc/resource.h"
27 #include <kdirwatch.h>
28 #include <sys/types.h>
44 explicit ResourceDir(
const QString &path,
const QString &type = QLatin1String(
"vcard" ) );
47 virtual void writeConfig( KConfigGroup &group );
49 virtual bool doOpen();
50 virtual void doClose();
52 virtual Ticket *requestSaveTicket();
53 virtual void releaseSaveTicket(
Ticket *ticket );
56 virtual bool asyncLoad();
57 virtual bool save(
Ticket * ticket );
58 virtual bool asyncSave(
Ticket * ticket );
63 void setPath(
const QString & );
73 void setFormat(
const QString &format );
78 QString format()
const;
88 virtual void removeAddressee(
const Addressee &addr );
94 Q_PRIVATE_SLOT( d,
void pathChanged() )
Helper class for handling coordinated save of address books.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:05 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.