drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
The SettingsFactory class holds a global QSettings object. More...
#include <settingsfactory.h>
Public Member Functions | |
QSettings * | getQSettings () |
SettingsFactory::getQSettings creates and/or returns a QSettings object pointer. More... | |
QSettings * | operator-> () |
SettingsFactory::operator -> is equivalent to calling getQSettings() More... | |
Static Public Member Functions | |
static void | setFileName (const QString name) |
SettingsFactory::setFileName sets the global file name for the persistent settings and sets the INI format as well. More... | |
static QString | fileName () |
SettingsFactory::fileName returns the file name of the persistent settings. More... | |
static QSettings::Format | format () |
SettingsFactory::format returns the storage format of the persistent settings. More... | |
The SettingsFactory class holds a global QSettings object.
This class creates and returns a QSettings object globally configured instance using native or file storage.
Definition at line 58 of file settingsfactory.h.
|
static |
SettingsFactory::fileName returns the file name of the persistent settings.
Definition at line 54 of file settingsfactory.cpp.
|
static |
SettingsFactory::format returns the storage format of the persistent settings.
Definition at line 63 of file settingsfactory.cpp.
QSettings * getQSettings | ( | ) |
SettingsFactory::getQSettings creates and/or returns a QSettings object pointer.
Definition at line 73 of file settingsfactory.cpp.
Referenced by SettingsFactory::operator->().
QSettings * operator-> | ( | ) |
SettingsFactory::operator -> is equivalent to calling getQSettings()
Definition at line 91 of file settingsfactory.cpp.
References SettingsFactory::getQSettings().
|
static |
SettingsFactory::setFileName sets the global file name for the persistent settings and sets the INI format as well.
name | the new file name |
Definition at line 40 of file settingsfactory.cpp.