akonadi
conflicthandler.cpp
41 void ConflictHandler::setConflictingItems(const Akonadi::Item &changedItem, const Akonadi::Item &conflictingItem)
128 ItemCreateJob *job = new ItemCreateJob(mChangedItem, mConflictingItem.parentCollection(), mSession);
@ UseLocalItem
The local item overwrites the other item inside the Akonadi storage.
Definition: conflicthandler_p.h:58
void conflictResolved()
This signal is emitted whenever the conflict has been resolved automatically or by the user.
Job that creates a new item in the Akonadi storage.
Definition: itemcreatejob.h:73
ConflictHandler::ResolveStrategy resolveStrategy() const
Returns the resolve strategy the user choose.
Definition: conflictresolvedialog.cpp:245
ResolveStrategy
Describes the strategy that should be used for resolving the conflict.
Definition: conflicthandler_p.h:57
void setConflictingItems(const Akonadi::Item &changedItem, const Akonadi::Item &conflictingItem)
Sets the items that causes the conflict.
Definition: conflicthandler.cpp:41
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:70
A dialog to ask the user for a resolve strategy for conflicts.
Definition: conflictresolvedialog_p.h:37
ConflictHandler(ConflictType type, QObject *parent=0)
Creates a new conflict handler.
Definition: conflicthandler.cpp:34
Job that modifies an existing item in the Akonadi storage.
Definition: itemmodifyjob.h:97
@ LocalLocalConflict
Changes of two Akonadi client applications conflict.
Definition: conflicthandler_p.h:49
void setConflictingItems(const Akonadi::Item &localItem, const Akonadi::Item &otherItem)
Sets the items that causes the conflict.
Definition: conflictresolvedialog.cpp:217
void error(const QString &message)
This signal is emitted whenever an error occurred during the conflict handling.
@ UseOtherItem
The local item is dropped and the other item from the Akonadi storage is used.
Definition: conflicthandler_p.h:59
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval.
Definition: itemfetchscope.cpp:132
ConflictType
Describes the type of conflict that should be resolved by the conflict handler.
Definition: conflicthandler_p.h:48
@ LocalRemoteConflict
Changes of an Akonadi client application and a resource conflict.
Definition: conflicthandler_p.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.