|
Motiv
Marvelous OTF2 Traces Interactive Visualizer
|
Singleton holding persistent information. More...
#include <AppSettings.hpp>


Signals | |
| void | recentlyOpenedFilesChanged (QStringList) |
| Signals a change in the recently opened files. | |
Public Member Functions | |
| AppSettings (AppSettings const &)=delete | |
| void | operator= (AppSettings const &)=delete |
| const QStringList & | recentlyOpenedFiles () const |
| Returns the recently opened files. More... | |
| void | recentlyOpenedFilesPush (const QString &newFile) |
| Pushes a new file to the recently opened files list. More... | |
| void | recentlyOpenedFilesRemove (const QString &filePath) |
| Removes a file from the recently opened files list. More... | |
| void | recentlyOpenedFilesClear () |
| Clears the recently opened files list. More... | |
Static Public Member Functions | |
| static AppSettings & | getInstance () |
Singleton holding persistent information.
Definition at line 27 of file AppSettings.hpp.
|
inlinestatic |
Definition at line 36 of file AppSettings.hpp.
| const QStringList & AppSettings::recentlyOpenedFiles | ( | ) | const |
Returns the recently opened files.
Definition at line 28 of file AppSettings.cpp.
| void AppSettings::recentlyOpenedFilesClear | ( | ) |
Clears the recently opened files list.
After the list is cleared it is saved
Definition at line 44 of file AppSettings.cpp.
| void AppSettings::recentlyOpenedFilesPush | ( | const QString & | newFile | ) |
Pushes a new file to the recently opened files list.
After the file is added to the list is saved.
| newFile | The new opened file |
Definition at line 32 of file AppSettings.cpp.
| void AppSettings::recentlyOpenedFilesRemove | ( | const QString & | filePath | ) |
Removes a file from the recently opened files list.
After the file is removed the list is saved
| filePath | The file to be removed |
Definition at line 39 of file AppSettings.cpp.