28 #include "SyncResults.h"
51 explicit SyncLog(
const QString &aProfileName);
57 explicit SyncLog(
const QDomElement &aRoot);
87 QDomElement
toXml(QDomDocument &aDoc)
const;
120 SyncLogPrivate *d_ptr;
History of completed synchronization sessions and their results.
Definition: SyncLog.h:45
QString profileName() const
Gets the name of the profile that owns this log.
Definition: SyncLog.cpp:144
void setProfileName(const QString &aProfileName)
Sets the name of the profile that owns this log.
Definition: SyncLog.cpp:138
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:186
const SyncResults * lastResults() const
Gets the most recent results in the sync log.
Definition: SyncLog.cpp:166
QDomElement toXml(QDomDocument &aDoc) const
Exports the log to XML.
Definition: SyncLog.cpp:149
SyncLog(const QString &aProfileName)
Constructs an empty log with the given profile name.
Definition: SyncLog.cpp:106
const SyncResults * lastSuccessfulResults() const
Gets the last successful results in the sync log.
Definition: SyncLog.cpp:181
QList< const SyncResults * > allResults() const
Gets all results in the sync log.
Definition: SyncLog.cpp:176
~SyncLog()
Destructor.
Definition: SyncLog.cpp:132
Contains information about a completed synchronization session.
Definition: SyncResults.h:59
Definition: SyncBackupAdaptor.h:40