Akonadi Calendar
history.h
39 connect(undoAction, &QAction::triggered, myIncidenceChanger->history(), &Akonadi::IncidenceChanger::undo);
40 connect(redoAction, &QAction::triggered, myIncidenceChanger->history(), &Akonadi::IncidenceChanger::redo);
59 ResultCodeError ///< An error occurred. Call lastErrorString() for the error message. This isn't very verbose because IncidenceChanger hasn't been
79 void recordCreation(const Akonadi::Item &item, const QString &description, const uint atomicOperationId = 0);
95 void recordModification(const Akonadi::Item &oldItem, const Akonadi::Item &newItem, const QString &description, const uint atomicOperationId = 0);
109 void recordDeletion(const Akonadi::Item &item, const QString &description, const uint atomicOperationId = 0);
121 void recordDeletions(const Akonadi::Item::List &items, const QString &description, const uint atomicOperationId = 0);
void recordDeletions(const Akonadi::Item::List &items, const QString &description, const uint atomicOperationId=0)
Pushes a list of incidence deletions onto the undo stack.
Definition history.cpp:65
void recordDeletion(const Akonadi::Item &item, const QString &description, const uint atomicOperationId=0)
Pushes an incidence deletion onto the undo stack.
Definition history.cpp:57
QString nextUndoDescription() const
Returns the description of the next undo.
Definition history.cpp:78
bool redoAvailable() const
Returns true if there are changes that can be redone.
Definition history.cpp:144
void recordModification(const Akonadi::Item &oldItem, const Akonadi::Item &newItem, const QString &description, const uint atomicOperationId=0)
Pushes an incidence modification onto the undo stack.
Definition history.cpp:43
void undoAll(QWidget *parent=nullptr)
Reverts every change in the undo stack.
Definition history.cpp:106
void redo(QWidget *parent=nullptr)
Reverts the change that's on top of the redo stack.
Definition history.cpp:101
void undone(Akonadi::History::ResultCode resultCode)
This signal is emitted when an undo operation finishes.
QString nextRedoDescription() const
Returns the description of the next redo.
Definition history.cpp:87
bool undoAvailable() const
Returns true if there are changes that can be undone.
Definition history.cpp:139
ResultCode
This enum describes the possible result codes (success/error values) for an undo or redo operation.
Definition history.h:57
void redone(Akonadi::History::ResultCode resultCode)
This signal is emitted when an redo operation finishes.
void undo(QWidget *parent=nullptr)
Reverts the change that's on top of the undo stack.
Definition history.cpp:96
void recordCreation(const Akonadi::Item &item, const QString &description, const uint atomicOperationId=0)
Pushes an incidence creation onto the undo stack.
Definition history.cpp:32
QList< Item > List
FreeBusyManager::Singleton.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:46 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:46 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.