svcore
1.9
|
RecentFiles.h
Go to the documentation of this file.
void recentChanged()
std::vector< std::pair< QString, QString > > getRecentEntries() const
Return the list of recent identifiers, with labels.
Definition: RecentFiles.cpp:116
std::vector< QString > getRecent() const
Return the list of recent identifiers, without labels.
Definition: RecentFiles.h:75
void add(QString identifier, QString label="")
Add a literal identifier, optionally with a label.
Definition: RecentFiles.cpp:131
void addFile(QString filepath, QString label="")
Add a name that is known to be either a file path or a URL, optionally with a label.
Definition: RecentFiles.cpp:163
QString getSettingsGroup() const
Return the settingsGroup as passed to the constructor.
Definition: RecentFiles.h:54
std::deque< std::pair< QString, QString > > m_entries
Definition: RecentFiles.h:118
std::vector< QString > getRecentIdentifiers() const
Return the list of recent identifiers, without labels.
Definition: RecentFiles.cpp:101
RecentFiles manages a list of recently-used identifier strings, saving and restoring that list via QS...
Definition: RecentFiles.h:36
int getMaxCount() const
Return the maxCount as passed to the constructor.
Definition: RecentFiles.h:61
RecentFiles(QString settingsGroup="RecentFiles", int maxCount=10)
Construct a RecentFiles object that saves and restores in the given QSettings group and truncates whe...
Definition: RecentFiles.cpp:25
Generated by 1.8.11