1 #ifndef CSM_PREFS_SETTING_H
2 #define CSM_PREFS_SETTING_H
52 const std::string&
getKey()
const;
Settings::Manager & getValues()
Definition: setting.cpp:10
const Category * getParent() const
Definition: setting.cpp:33
std::string mKey
Definition: setting.hpp:29
double toDouble() const
Definition: setting.cpp:54
Definition: category.hpp:12
const std::string & getLabel() const
Definition: setting.cpp:43
std::string toString() const
Definition: setting.cpp:60
virtual std::pair< QWidget *, QWidget * > makeWidgets(QWidget *parent)
Definition: setting.cpp:28
QMutex * getMutex()
Definition: setting.cpp:15
QMutex * mMutex
Definition: setting.hpp:28
bool operator==(const Setting &setting, const std::string &fullKey)
Definition: setting.cpp:78
const std::string & getKey() const
Definition: setting.cpp:38
QColor toColor() const
Definition: setting.cpp:72
Category * mParent
Definition: setting.hpp:26
Definition: setting.hpp:22
Setting(Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label)
Definition: setting.cpp:20
std::string mLabel
Definition: setting.hpp:30
Settings management (can change during runtime)
Definition: settings.hpp:17
bool isTrue() const
Definition: setting.cpp:66
virtual ~Setting()
Definition: setting.cpp:26
bool operator!=(const Setting &setting, const std::string &fullKey)
Definition: setting.cpp:89
int toInt() const
Definition: setting.cpp:48
Settings::Manager * mValues
Definition: setting.hpp:27