16 #ifndef _RECENT_FILES_H_ 17 #define _RECENT_FILES_H_ 40 RecentFiles(QString settingsGroup =
"RecentFiles",
int maxCount = 10);
53 void add(QString name);
std::deque< QString > m_names
void addFile(QString name)
Add a name that is known to be either a file path or a URL.
void add(QString name)
Add a name that should be treated as a literal string.
QString getSettingsGroup() const
std::vector< QString > getRecent() const
RecentFiles manages a list of the names of recently-used objects, saving and restoring that list via ...
RecentFiles(QString settingsGroup="RecentFiles", int maxCount=10)
Construct a RecentFiles object that saves and restores in the given QSettings group and truncates whe...