#include <TGo4QSettings.h>
Public Methods | |
TGo4QSettings () | |
TGo4QSettings (Format format) | |
virtual | ~TGo4QSettings () |
void | DumpSettingsLocation () |
Printout where the settings are saved. More... | |
Static Public Methods | |
void | SetToCurrentDir (bool on) |
void | SetUserPath (const QString &mypath) |
void | SetHomeSettingsFile (const QString &name) |
bool | UsesUserPath () |
const QString & | GetUserPath () |
const QString & | GetSettingsName () |
Protected Methods | |
void | SetSettingsPath () |
Sets the path of this instance according to static settings. More... | |
Static Private Attributes | |
bool | fgbUSEMYLOCATION = false |
if true, settings will be put to location specified in mypath string and read there. More... | |
QString | fgxSETTINGSLOCATION = "" |
The actual path to the settings. More... | |
QString | fgxHOMESETTINGSNAME = "/go4" |
This defines the name of the default settings file in $HOME/.qt Default is "/Go4", yielding a file go4rc. More... | |
QString | fgxSETTINGSNAME = "/go4" |
This is the name of the currently activated settings prepath e.g. More... |
May switch load/save between the user home directory, and the current directory
Definition at line 30 of file TGo4QSettings.h.
|
Definition at line 27 of file TGo4QSettings.cpp. References SetSettingsPath(). |
|
Definition at line 32 of file TGo4QSettings.cpp. References SetSettingsPath(). |
|
Definition at line 38 of file TGo4QSettings.cpp. |
|
Printout where the settings are saved.
Definition at line 57 of file TGo4QSettings.cpp. References fgxSETTINGSLOCATION, and fgxSETTINGSNAME. Referenced by TGo4MainWindow::init(), and TGo4MainWindow::saveOptions(). |
|
Definition at line 42 of file TGo4QSettings.cpp. References fgbUSEMYLOCATION, fgxHOMESETTINGSNAME, fgxSETTINGSLOCATION, and fgxSETTINGSNAME. Referenced by main(). |
|
Definition at line 42 of file TGo4QSettings.h. References fgbUSEMYLOCATION, fgxHOMESETTINGSNAME, fgxSETTINGSLOCATION, and fgxSETTINGSNAME. Referenced by main(). |
|
Definition at line 49 of file TGo4QSettings.h. References fgxHOMESETTINGSNAME. Referenced by main(). |
|
Definition at line 55 of file TGo4QSettings.h. References fgbUSEMYLOCATION. Referenced by TGo4MainWindow::init(), and TGo4MainWindow::saveOptions(). |
|
Definition at line 57 of file TGo4QSettings.h. References fgxSETTINGSLOCATION. Referenced by TGo4MainWindow::init(), main(), and TGo4MainWindow::saveOptions(). |
|
Definition at line 59 of file TGo4QSettings.h. References fgxSETTINGSNAME. Referenced by TGo4MainWindow::init(), TGo4MainWindow::InputTerminalParametersSlot(), TGo4ScriptSlots::LaunchAnalysis(), main(), TGo4AnalysisWindow::ReadHistorySize(), and TGo4MainWindow::saveOptions(). |
|
Sets the path of this instance according to static settings.
Definition at line 69 of file TGo4QSettings.cpp. References fgxSETTINGSLOCATION. Referenced by TGo4QSettings(). |
|
if true, settings will be put to location specified in mypath string and read there. Otherwise use QSettings defaultpaths Definition at line 22 of file TGo4QSettings.cpp. Referenced by SetToCurrentDir(), SetUserPath(), and UsesUserPath(). |
|
The actual path to the settings.
Definition at line 23 of file TGo4QSettings.cpp. Referenced by DumpSettingsLocation(), GetUserPath(), SetSettingsPath(), SetToCurrentDir(), and SetUserPath(). |
|
This defines the name of the default settings file in $HOME/.qt Default is "/Go4", yielding a file go4rc.
Definition at line 25 of file TGo4QSettings.cpp. Referenced by SetHomeSettingsFile(), SetToCurrentDir(), and SetUserPath(). |
|
This is the name of the currently activated settings prepath e.g. "Go4/" or "Go4local/". Will cause differrent filenames for home settings or current dir/user location settings this is necessary to avoid interfereances. Definition at line 24 of file TGo4QSettings.cpp. Referenced by DumpSettingsLocation(), GetSettingsName(), SetToCurrentDir(), and SetUserPath(). |