The RecentFilesAction class holds a menu listed with the recent files. More...
#include <Action.h>
Public Member Functions | |
void | activateFile (int) |
void | appendFile (const QString &) |
Adds the new item to the recent files. | |
RecentFilesAction (Command *pcCmd, QObject *parent=0) | |
void | resizeList (int) |
virtual | ~RecentFilesAction () |
The RecentFilesAction class holds a menu listed with the recent files.
Definition at line 175 of file Action.h.
RecentFilesAction::RecentFilesAction | ( | Command * | pcCmd, | |
QObject * | parent = 0 | |||
) |
Definition at line 566 of file Action.cpp.
RecentFilesAction::~RecentFilesAction | ( | ) | [virtual] |
Definition at line 572 of file Action.cpp.
void RecentFilesAction::activateFile | ( | int | id | ) |
Definition at line 633 of file Action.cpp.
References draftlibs::dxfReader::filename, Gui::getMainWindow(), Gui::SelectModule::importHandler(), Gui::Application::Instance, and Gui::Application::open().
Referenced by StdCmdRecentFiles::activated().
void RecentFilesAction::appendFile | ( | const QString & | filename | ) |
Adds the new item to the recent files.
Definition at line 578 of file Action.cpp.
Referenced by Gui::MainWindow::appendRecentFile().
void RecentFilesAction::resizeList | ( | int | size | ) |
Definition at line 657 of file Action.cpp.
References Gui::ActionGroup::_group, and KDL::diff().