svcore
1.9
|
Command to remove an event from an editable containing events, with undo. More...
#include <EventCommands.h>
Public Member Functions | |
RemoveEventCommand (int editableId, const Event &e, QString name) | |
QString | getName () const override |
Event | getEvent () const |
void | execute () override |
void | unexecute () override |
Protected Member Functions | |
std::shared_ptr< EventEditable > | getEditable () |
Private Attributes | |
Event | m_event |
QString | m_name |
Detailed Description
Command to remove an event from an editable containing events, with undo.
The id must be that of a type that can be retrieved from the AnyById store and dynamic_cast to EventEditable.
Definition at line 84 of file EventCommands.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 88 of file EventCommands.h.
Member Function Documentation
|
inlineoverridevirtual |
Implements Command.
Definition at line 91 of file EventCommands.h.
|
inline |
Definition at line 92 of file EventCommands.h.
Referenced by ChangeEventsCommand::addCommand().
|
inlineoverridevirtual |
Implements Command.
Definition at line 94 of file EventCommands.h.
|
inlineoverridevirtual |
Implements Command.
Definition at line 98 of file EventCommands.h.
|
inlineprotectedinherited |
Definition at line 38 of file EventCommands.h.
References SVCERR.
Member Data Documentation
|
private |
Definition at line 104 of file EventCommands.h.
|
private |
Definition at line 105 of file EventCommands.h.
The documentation for this class was generated from the following file:
Generated by 1.8.11