akonadi
conflicthandler.cpp
41 void 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
The local item overwrites the other item inside the Akonadi storage.
Definition: conflicthandler_p.h:58
void setConflictingItems(const Akonadi::Item &localItem, const Akonadi::Item &otherItem)
Sets the items that causes the conflict.
Definition: conflictresolvedialog.cpp:217
Both items are kept in the Akonadi storage.
Definition: conflicthandler_p.h:60
ConflictHandler::ResolveStrategy resolveStrategy() const
Returns the resolve strategy the user choose.
Definition: conflictresolvedialog.cpp:245
void error(const QString &message)
This signal is emitted whenever an error occurred during the conflict handling.
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:70
void setConflictingItems(const Akonadi::Item &changedItem, const Akonadi::Item &conflictingItem)
Sets the items that causes the conflict.
Definition: conflicthandler.cpp:41
Changes of two Akonadi client applications conflict.
Definition: conflicthandler_p.h:49
Only retrieve the immediate parent collection.
Definition: itemfetchscope.h:78
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
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval. ...
Definition: itemfetchscope.cpp:132
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
The local item is dropped and the other item from the Akonadi storage is used.
Definition: conflicthandler_p.h:59
Job that modifies an existing item in the Akonadi storage.
Definition: itemmodifyjob.h:97
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
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
A dialog to ask the user for a resolve strategy for conflicts.
Definition: conflictresolvedialog_p.h:37
ConflictType
Describes the type of conflict that should be resolved by the conflict handler.
Definition: conflicthandler_p.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.