libyui  3.0.13
 All Classes Functions Variables Enumerations Friends
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 ()
 

Detailed Description

Settings for libyui

This singleton-object hold some presets for libyui.

Definition at line 43 of file YSettings.h.

Member Function Documentation

std::string YSettings::iconDir ( )
static

Returns the value of your program's icons subdir.

Definition at line 95 of file YSettings.cc.

std::string YSettings::localeDir ( )
static

Returns the value of your program's locale subdir.

Definition at line 157 of file YSettings.cc.

std::string YSettings::progDir ( )
static

Returns the value of your program's subdir.

Definition at line 71 of file YSettings.cc.

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.

Definition at line 79 of file YSettings.cc.

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.

Definition at line 141 of file YSettings.cc.

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.

Definition at line 55 of file YSettings.cc.

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.

Definition at line 108 of file YSettings.cc.

std::string YSettings::themeDir ( )
static

Returns the value of your program's theme subdir.

Definition at line 124 of file YSettings.cc.


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