|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef RECENT_FILES_H
19 #define RECENT_FILES_H
31 RecentFiles(
const QString &,
int = 10, QObject * =
nullptr);
void extractFilesFromSettings()
RecentFiles::extractFilesFromSettings Read the list of recent file from settings.
Definition: recentfiles.cpp:117
int size() const
Definition: recentfiles.cpp:53
QIcon iconForFiles() const
Definition: recentfiles.cpp:68
QString identifier_
Definition: recentfiles.h:62
Definition: recentfiles.h:26
RecentFiles(const RecentFiles &)
void insertFile(const QString &)
Definition: recentfiles.cpp:135
QIcon files_icon_
Definition: recentfiles.h:67
void setIconForFiles(const QIcon &)
Definition: recentfiles.cpp:77
void handleMenuRequest(const QString &)
Definition: recentfiles.cpp:100
void fileOpeningRequested(const QString &)
void saveFilesToSettings()
RecentFiles::saveFilesToSettings Write the list of recent files to settings.
Definition: recentfiles.cpp:154
QMenu * menu_
Definition: recentfiles.h:65
void save()
Definition: recentfiles.cpp:93
~RecentFiles() override
Definition: recentfiles.cpp:46
void buildMenu()
Definition: recentfiles.cpp:167
void clear()
Definition: recentfiles.cpp:85
void fileWasOpened(const QString &)
Definition: recentfiles.cpp:108
RecentFiles(const QString &, int=10, QObject *=nullptr)
Definition: recentfiles.cpp:29
int size_
Definition: recentfiles.h:63
QMenu * menu() const
Definition: recentfiles.cpp:60
QSignalMapper * mapper_
Definition: recentfiles.h:66
QList< QString > list_
Definition: recentfiles.h:64