libyui  2.42.5
 All Classes Functions Variables Enumerations Friends
YSettings Class Reference

#include <YSettings.h>

Static Public Member Functions

static void setProgSubDir (std::string directory)
 
static std::string getProgSubDir ()
 
static void setIconsDir (std::string directory)
 
static std::string getIconsDir ()
 
static void setThemeDir (std::string directory)
 
static std::string getThemeDir ()
 

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::getIconsDir ( )
static

Returns the value of your program's icons subdir.

Definition at line 94 of file YSettings.cc.

std::string YSettings::getProgSubDir ( )
static

Returns the value of your program's subdir.

Definition at line 70 of file YSettings.cc.

std::string YSettings::getThemeDir ( )
static

Returns the value of your program's theme subdir.

Definition at line 123 of file YSettings.cc.

void YSettings::setIconsDir ( 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 78 of file YSettings.cc.

void YSettings::setProgSubDir ( 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 54 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 107 of file YSettings.cc.


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