svcore
1.9
|
BundleCommand is a MacroCommand whose name includes a note of how many commands it contains. More...
#include <Command.h>
Public Member Functions | |
BundleCommand (QString name) | |
virtual | ~BundleCommand () |
QString | getName () const override |
virtual void | addCommand (Command *command) |
virtual void | deleteCommand (Command *command) |
virtual bool | haveCommands () const |
void | execute () override |
void | unexecute () override |
virtual void | setName (QString name) |
Protected Attributes | |
QString | m_name |
std::vector< Command * > | m_commands |
Detailed Description
BundleCommand is a MacroCommand whose name includes a note of how many commands it contains.
It is a QObject with Q_OBJECT macro so that it can do plural-sensitive translations.
Constructor & Destructor Documentation
BundleCommand::BundleCommand | ( | QString | name | ) |
Definition at line 85 of file Command.cpp.
|
virtual |
Definition at line 90 of file Command.cpp.
Member Function Documentation
|
overridevirtual |
Reimplemented from MacroCommand.
Definition at line 95 of file Command.cpp.
References MacroCommand::m_commands, and MacroCommand::m_name.
|
virtualinherited |
Reimplemented in ChangeEventsCommand.
Definition at line 32 of file Command.cpp.
References MacroCommand::m_commands.
Referenced by ChangeEventsCommand::addCommand().
|
virtualinherited |
Definition at line 38 of file Command.cpp.
References MacroCommand::m_commands.
|
virtualinherited |
Definition at line 52 of file Command.cpp.
References MacroCommand::m_commands.
|
overridevirtualinherited |
|
overridevirtualinherited |
|
virtualinherited |
Definition at line 80 of file Command.cpp.
References MacroCommand::m_name.
Member Data Documentation
|
protectedinherited |
Definition at line 103 of file Command.h.
Referenced by MacroCommand::getName(), getName(), and MacroCommand::setName().
|
protectedinherited |
Definition at line 104 of file Command.h.
Referenced by MacroCommand::addCommand(), MacroCommand::deleteCommand(), MacroCommand::execute(), getName(), MacroCommand::haveCommands(), MacroCommand::unexecute(), and MacroCommand::~MacroCommand().
The documentation for this class was generated from the following files:
Generated by 1.8.11