kabc
21 #ifndef KABC_RESOURCENET_H
22 #define KABC_RESOURCENET_H
24 #include "kabc_net_export.h"
26 #include "kabc/resource.h"
27 #include <sys/types.h>
51 virtual void writeConfig( KConfigGroup &group );
53 virtual bool doOpen();
54 virtual void doClose();
56 virtual Ticket *requestSaveTicket();
57 virtual void releaseSaveTicket(
Ticket *ticket );
60 virtual bool asyncLoad();
61 virtual bool save(
Ticket *ticket );
62 virtual bool asyncSave(
Ticket *ticket );
67 void setUrl(
const KUrl &url );
77 void setFormat(
const QString &name );
85 void init(
const KUrl &url,
const QString &format );
88 void downloadFinished( KJob *job );
89 void uploadFinished( KJob *job );
92 bool clearAndLoad(
QFile *file );
93 void saveToFile(
QFile *file );
94 bool hasTempFile()
const {
return mTempFile != 0; }
95 void abortAsyncLoading();
96 void abortAsyncSaving();
97 bool createLocalTempFile();
98 void deleteLocalTempFile();
99 void deleteStaleTempFile();
105 KTemporaryFile *mTempFile;
107 class ResourceNetPrivate;
108 ResourceNetPrivate *d;
Helper class for handling coordinated save of address books.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.