61 static void setProgDir ( std::string directory );
74 static void setIconDir ( std::string directory );
112 static void loadedUI ( std::string ui );
125 static void loadedUI ( std::string ui,
bool force );
128 static std::string _progDir;
129 static std::string _iconDir;
130 static std::string _themeDir;
131 static std::string _localeDir;
132 static std::string _loadedUI;
139 #endif // YSettings_h static std::string localeDir()
Returns the value of your program's locale subdir.
static void setIconDir(std::string directory)
This can be used to set a subdir ICONDIR, where your program stores a custom icons.
static void setThemeDir(std::string directory)
This can be used to set a subdir THEMEDIR, where your program stores a custom icons.
static std::string loadedUI()
Returns the value of the loaded UI-backend.
static void setProgDir(std::string directory)
This can be used to set a subdir beneath PLUGINDIR or THEMEDIR, where your program stores a custom pl...
static void setLocaleDir(std::string directory)
This can be used to set a subdir LOCALEDIR, where your program stores translations.
static std::string iconDir()
Returns the value of your program's icons subdir.
static std::string themeDir()
Returns the value of your program's theme subdir.
Class to load one of the concrete UI plug-ins: Qt, NCurses, Gtk.
static std::string progDir()
Returns the value of your program's subdir.