NorMIT-nav
16.5
An IGT application
|
#include <cxProfile.h>
Public Member Functions | |
Profile (QString path, SettingsPtr settings) | |
~Profile () | |
void | activate () |
XmlOptionFile | getXmlSettings () |
internal use More... | |
Settings * | getSettings () const |
QString | getName () const |
QString | getUid () const |
QString | getPath () const |
QStringList | getApplicationToolConfigPaths () |
QString | getToolConfigFilePath () |
void | setToolConfigFilePath (QString path) |
QString | getSettingsPath () |
QStringList | getAllRootConfigPaths () |
QString | getSessionRootFolder () const |
void | setSessionRootFolder (QString path) |
Access to profile-specific data.
A profile is a collection of configuration data that is selectable by the user. Several profiles can exist, but only one can be active at a time.
Definition at line 62 of file cxProfile.h.
cx::Profile::Profile | ( | QString | path, |
SettingsPtr | settings | ||
) |
Definition at line 56 of file cxProfile.cpp.
cx::Profile::~Profile | ( | ) |
Definition at line 62 of file cxProfile.cpp.
void cx::Profile::activate | ( | ) |
Definition at line 67 of file cxProfile.cpp.
QStringList cx::Profile::getAllRootConfigPaths | ( | ) |
Return root path of all locations where readable config can be found, including general (profile-unspecific) locations. This includes the value of getPath(), which also is writable.
Definition at line 135 of file cxProfile.cpp.
QStringList cx::Profile::getApplicationToolConfigPaths | ( | ) |
Return all paths where tool config files can be found. TODO: must know where to save files, one loc.
Definition at line 105 of file cxProfile.cpp.
QString cx::Profile::getName | ( | ) | const |
Return the user-friendly name of profile.
Definition at line 90 of file cxProfile.cpp.
QString cx::Profile::getPath | ( | ) | const |
Return location of profile-specific data. Writable.
Definition at line 100 of file cxProfile.cpp.
QString cx::Profile::getSessionRootFolder | ( | ) | const |
Return root folder where sessions are to be stored
Definition at line 150 of file cxProfile.cpp.
Settings * cx::Profile::getSettings | ( | ) | const |
Return settings ini file.
Definition at line 79 of file cxProfile.cpp.
QString cx::Profile::getSettingsPath | ( | ) |
Return location of profile-specific settings.
Definition at line 130 of file cxProfile.cpp.
QString cx::Profile::getToolConfigFilePath | ( | ) |
Return the full path to the current tool config file.
Definition at line 121 of file cxProfile.cpp.
QString cx::Profile::getUid | ( | ) | const |
Return the unique uid of profile.
Definition at line 95 of file cxProfile.cpp.
XmlOptionFile cx::Profile::getXmlSettings | ( | ) |
void cx::Profile::setSessionRootFolder | ( | QString | path | ) |
Definition at line 167 of file cxProfile.cpp.
void cx::Profile::setToolConfigFilePath | ( | QString | path | ) |
Definition at line 110 of file cxProfile.cpp.