|
OpenASIP 2.2
|
#include <QuitCmd.hh>


Public Member Functions | |
| QuitCmd () | |
| virtual | ~QuitCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual QuitCmd * | create () const |
| virtual std::string | icon () const |
| virtual bool | isEnabled () |
Public Member Functions inherited from EditorCommand | |
| EditorCommand (std::string name, wxWindow *parent=NULL) | |
| virtual | ~EditorCommand () |
| void | setView (wxView *view) |
| wxView * | view () const |
Public Member Functions inherited from GUICommand | |
| GUICommand (std::string name, wxWindow *parent) | |
| virtual | ~GUICommand () |
| virtual bool | isChecked () const |
| virtual std::string | shortName () const |
| void | setParentWindow (wxWindow *view) |
| wxWindow * | parentWindow () const |
| std::string | name () const |
EditorCommand for quiting the editor.
Definition at line 41 of file QuitCmd.hh.
| QuitCmd::QuitCmd | ( | ) |
The Constructor.
Definition at line 48 of file QuitCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 117 of file QuitCmd.cc.
References QuitCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 66 of file QuitCmd.cc.
References ProDeConstants::COMMAND_SAVE_OPTIONS, GUICommand::Do(), dummy, MainFrame::OnExit(), options, GUICommand::parentWindow(), and WxConversion::toWxString().

|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 128 of file QuitCmd.cc.
References ProDeConstants::CMD_ICON_QUIT.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 106 of file QuitCmd.cc.
References ProDeConstants::COMMAND_QUIT.
|
virtual |
This command is always executable.
Reimplemented from EditorCommand.
Definition at line 139 of file QuitCmd.cc.