28 #include "SyncResults.h" 51 explicit SyncLog(
const QString &aProfileName);
57 explicit SyncLog(
const QDomElement &aRoot);
87 QDomElement
toXml(QDomDocument &aDoc)
const;
113 SyncLogPrivate *d_ptr;
SyncLog(const QString &aProfileName)
Constructs an empty log with the given profile name.
Definition: SyncLog.cpp:82
Contains information about a completed synchronization session.
Definition: SyncResults.h:58
void setProfileName(const QString &aProfileName)
Sets the name of the profile that owns this log.
Definition: SyncLog.cpp:114
Definition: AccountsHelper.h:31
QDomElement toXml(QDomDocument &aDoc) const
Exports the log to XML.
Definition: SyncLog.cpp:125
History of completed synchronization sessions and their results.
Definition: SyncLog.h:44
QString profileName() const
Gets the name of the profile that owns this log.
Definition: SyncLog.cpp:120
~SyncLog()
Destructor.
Definition: SyncLog.cpp:108
QList< const SyncResults * > allResults() const
Gets all results in the sync log.
Definition: SyncLog.cpp:148
const SyncResults * lastResults() const
Gets the most recent results in the sync log.
Definition: SyncLog.cpp:137
void addResults(const SyncResults &aResults)
Adds results to the sync log. Also makes sure that log size doesn't exceed given size limit...
Definition: SyncLog.cpp:153
Definition: SyncBackupAdaptor.h:40