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