6 #include <QReadWriteLock> 35 Q_DECLARE_FLAGS(Roles,
Role)
39 Type SettingType, Roles SettingRoles, const QVariant &Default);
43 Q_CLASSINFO("Version", "1.0.0")
44 Q_CLASSINFO("Secure", "")
45 Q_CLASSINFO("
GetChildList", "type=settings,methods=AUTH")
58 void SetRange (
int Begin,
int End,
int Step);
63 QVariantMap GetChildList (
void);
64 bool SetValue (const QVariant &Value);
89 QString GetChildList (QVariantMap &Children);
117 int m_activeThreshold;
132 #endif // TORCSETTING_H
QVariant GetDefaultValue(void)
QVariantMap GetSelections(void)
QString GetSettingType(void)
void SetHelpText(const QString &HelpText)
High level group of related settings.
QString GetHelpText(void)
A reference counting implementation.
void SubscriberDeleted(QObject *Subscriber)
A wrapper around a database setting.
void RemoveChild(TorcSetting *Child)
TorcSetting * FindChild(const QString &Child, bool Recursive=false)
QSet< TorcSetting * > GetChildren(void)
void AddChild(TorcSetting *Child)
bool SetValue(const QVariant &Value)
void ActiveChanged(bool Active)
void SetActiveThreshold(int Threshold)
void SetRange(int Begin, int End, int Step)
void SetSelections(QVariantMap &Selections)
void ValueChanged(int Value)
QVariantMap GetChildList(void)
void SetActive(bool Value)