akonadi
Akonadi::ConflictResolveDialog Class Reference
A dialog to ask the user for a resolve strategy for conflicts. More...
#include <conflictresolvedialog_p.h>
Inherits KDialog.
Public Member Functions | |
ConflictResolveDialog (QWidget *parent=0) | |
ConflictHandler::ResolveStrategy | resolveStrategy () const |
void | setConflictingItems (const Akonadi::Item &localItem, const Akonadi::Item &otherItem) |
Detailed Description
A dialog to ask the user for a resolve strategy for conflicts.
Definition at line 37 of file conflictresolvedialog_p.h.
Constructor & Destructor Documentation
ConflictResolveDialog::ConflictResolveDialog | ( | QWidget * | parent = 0 | ) | [explicit] |
Creates a new conflict resolve dialog.
- Parameters:
-
parent The parent widget.
Definition at line 185 of file conflictresolvedialog.cpp.
Member Function Documentation
ConflictHandler::ResolveStrategy ConflictResolveDialog::resolveStrategy | ( | ) | const |
Returns the resolve strategy the user choose.
Definition at line 242 of file conflictresolvedialog.cpp.
void ConflictResolveDialog::setConflictingItems | ( | const Akonadi::Item & | localItem, |
const Akonadi::Item & | otherItem | ||
) |
Sets the items that causes the conflict.
- Parameters:
-
localItem The local item which causes the conflict. otherItem The conflicting item from the Akonadi storage.
- Note:
- Both items need the full payload set.
Definition at line 41 of file conflicthandler.cpp.
The documentation for this class was generated from the following files: