Sync results for one target.
More...
#include <TargetResults.h>
Sync results for one target.
TargetResults contains information about how many items were added, deleted and modified in a specific sync target during the sync session.
Copy constructor.
- Parameters
-
TargetResults::TargetResults |
( |
const QString & |
aTargetName, |
|
|
ItemCounts |
aLocalItems, |
|
|
ItemCounts |
aRemoteItems |
|
) |
| |
Constructor.
- Parameters
-
aTargetName | Name of the target. |
aLocalItems | Counts of local items. |
aRemoteItems | Counts of remote items. |
TargetResults::TargetResults |
( |
const QDomElement & |
aRoot | ) |
|
|
explicit |
Constructs TargetResults from XML.
- Parameters
-
aRoot | Root element of the XML representation. |
Gets the counts of items added, deleted and modified locally.
- Returns
- Item counts.
Assignment operator.
- Parameters
-
Gets the counts of items added, deleted and modified at remote.
- Returns
- Item counts.
QString TargetResults::targetName |
( |
| ) |
const |
Gets the target name.
- Returns
- Target name.
QDomElement TargetResults::toXml |
( |
QDomDocument & |
aDoc | ) |
const |
Exports the target results to XML.
- Parameters
-
aDoc | Parent document for the created XML elements. The created elements are not inserted to the document by this function, but the document is still required for creating the elements. |
- Returns
- Root element of the created XML.
The documentation for this class was generated from the following files: