31 RecentFiles(
const QString &,
int = 10, QObject * =
nullptr);
Definition recentfiles.h:26
void buildMenu()
Definition recentfiles.cpp:176
~RecentFiles() override
Definition recentfiles.cpp:46
void extractFilesFromSettings()
RecentFiles::extractFilesFromSettings Read the list of recent file from settings.
Definition recentfiles.cpp:126
void save()
Definition recentfiles.cpp:101
void fileWasOpened(const QString &)
Definition recentfiles.cpp:117
QString identifier_
Definition recentfiles.h:62
int size_
Definition recentfiles.h:63
QMenu * menu_
Definition recentfiles.h:65
QIcon iconForFiles() const
Definition recentfiles.cpp:74
QMenu * menu() const
Definition recentfiles.cpp:65
void clear()
Definition recentfiles.cpp:92
QSignalMapper * mapper_
Definition recentfiles.h:66
QList< QString > list_
Definition recentfiles.h:64
void setIconForFiles(const QIcon &)
Definition recentfiles.cpp:84
void insertFile(const QString &)
Definition recentfiles.cpp:144
void handleMenuRequest(const QString &)
Definition recentfiles.cpp:109
int size() const
Definition recentfiles.cpp:57
QIcon files_icon_
Definition recentfiles.h:67
RecentFiles(const RecentFiles &)
void saveFilesToSettings()
RecentFiles::saveFilesToSettings Write the list of recent files to settings.
Definition recentfiles.cpp:163
void fileOpeningRequested(const QString &)