StdCmdRecentFiles Class Reference

Inheritance diagram for StdCmdRecentFiles:
Gui::Command Gui::CommandBase

List of all members.

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::ActioncreateAction (void)
 Creates the QAction object containing the recent files.

Detailed Description

Definition at line 137 of file CommandStd.cpp.


Constructor & Destructor Documentation

StdCmdRecentFiles::StdCmdRecentFiles (  ) 

Definition at line 139 of file CommandStd.cpp.

virtual StdCmdRecentFiles::~StdCmdRecentFiles (  )  [inline, virtual]

Definition at line 137 of file CommandStd.cpp.


Member Function Documentation

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().


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:01:39 2011 for FreeCAD by  doxygen 1.6.1