Undo/Redo action for setting entry data.
More...
#include <FdCommandsJournal.hpp>
Detailed Description
Undo/Redo action for setting entry data.
The QUndoCommand manages data change for the entry mEntry at column mColumn. In order to be undoable/redoable, the old value is stored in mOldValue and the new one in mNewValue.
Definition at line 31 of file FdCommandsJournal.hpp.
Constructor & Destructor Documentation
FdJournalSetData::FdJournalSetData |
( |
FdModelJournal * |
journal, |
|
|
FdItemJournal_p |
entry, |
|
|
JournalColumn |
column, |
|
|
QVariant |
newValue, |
|
|
QUndoCommand * |
parent = 0 |
|
) |
| |
Member Function Documentation
void FdJournalSetData::redo |
( |
| ) |
|
void FdJournalSetData::undo |
( |
| ) |
|
Member Data Documentation
JournalColumn FdJournalSetData::mColumn |
|
private |
FdItemJournal_p FdJournalSetData::mEntry |
|
private |
QVariant FdJournalSetData::mNewValue |
|
private |
QVariant FdJournalSetData::mOldValue |
|
private |
The documentation for this class was generated from the following files: