Public Member Functions | |
| virtual const char * | className () const |
| The C++ class name is needed as context for the translation framework. | |
| StdCmdRecentFiles () | |
| virtual | ~StdCmdRecentFiles () |
Protected Member Functions | |
| virtual void | activated (int iMsg) |
| Opens the recent file at position iMsg in the menu. | |
| virtual Gui::Action * | createAction (void) |
| Creates the QAction object containing the recent files. | |
Definition at line 137 of file CommandStd.cpp.
| StdCmdRecentFiles::StdCmdRecentFiles | ( | ) |
Definition at line 139 of file CommandStd.cpp.
| virtual StdCmdRecentFiles::~StdCmdRecentFiles | ( | ) | [inline, virtual] |
Definition at line 137 of file CommandStd.cpp.
| void StdCmdRecentFiles::activated | ( | int | iMsg | ) | [protected, virtual] |
Opens the recent file at position iMsg in the menu.
If the file does not exist or cannot be loaded this item is removed from the list.
Implements Gui::Command.
Definition at line 155 of file CommandStd.cpp.
References Gui::CommandBase::_pcAction, and Gui::RecentFilesAction::activateFile().
| virtual const char* StdCmdRecentFiles::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 137 of file CommandStd.cpp.
| Action * StdCmdRecentFiles::createAction | ( | void | ) | [protected, virtual] |
Creates the QAction object containing the recent files.
Reimplemented from Gui::Command.
Definition at line 164 of file CommandStd.cpp.
References Gui::Command::applyCommandData(), Gui::getMainWindow(), and Gui::ActionGroup::setDropDownMenu().
1.6.1