libyui
 
Loading...
Searching...
No Matches
YSettings Class Reference

#include <YSettings.h>

Static Public Member Functions

static void setProgDir (std::string directory)
 
static std::string progDir ()
 
static void setIconDir (std::string directory)
 
static std::string iconDir ()
 
static void setThemeDir (std::string directory)
 
static std::string themeDir ()
 
static void setLocaleDir (std::string directory)
 
static std::string localeDir ()
 
static void loadedUI (std::string ui)
 
static std::string loadedUI ()
 

Static Protected Member Functions

static void loadedUI (std::string ui, bool force)
 

Detailed Description

Settings for libyui

This singleton object hold some presets for libyui.

Member Function Documentation

◆ iconDir()

string YSettings::iconDir ( )
static

Returns the value of your program's icons subdir.

◆ loadedUI() [1/3]

string YSettings::loadedUI ( )
static

Returns the value of the loaded UI-backend.

◆ loadedUI() [2/3]

static void YSettings::loadedUI ( std::string ui)
static

This can be used to set the loaded UI-backend.

Once this is set, it can't be altered. If you do so although an exception will be thrown.

◆ loadedUI() [3/3]

static void YSettings::loadedUI ( std::string ui,
bool force )
staticprotected

This can be used to set the loaded UI-backend.

Once this is set, it can't be altered, except if you force it. If you do so without force an exception will be thrown.

◆ localeDir()

string YSettings::localeDir ( )
static

Returns the value of your program's locale subdir.

◆ progDir()

string YSettings::progDir ( )
static

Returns the value of your program's subdir.

◆ setIconDir()

void YSettings::setIconDir ( std::string directory)
static

This can be used to set a subdir ICONDIR, where your program stores a custom icons.

Once this is set, it can't be altered. If you do so although an exception will be thrown.

◆ setLocaleDir()

void YSettings::setLocaleDir ( std::string directory)
static

This can be used to set a subdir LOCALEDIR, where your program stores translations

Once this is set, it can't be altered. If you do so although an exception will be thrown.

◆ setProgDir()

void YSettings::setProgDir ( std::string directory)
static

This can be used to set a subdir beneath PLUGINDIR or THEMEDIR, where your program stores a custom plugin or theme.

Once this is set, it can't be altered. If you do so although an exception will be thrown.

◆ setThemeDir()

void YSettings::setThemeDir ( std::string directory)
static

This can be used to set a subdir THEMEDIR, where your program stores a custom icons.

Once this is set, it can't be altered. If you do so although an exception will be thrown.

◆ themeDir()

string YSettings::themeDir ( )
static

Returns the value of your program's theme subdir.


The documentation for this class was generated from the following files: