|
Torc
0.1
|
High level group of related settings. More...
#include <torcsetting.h>
Public Member Functions | |
| TorcSettingGroup (TorcSetting *Parent, const QString &UIName) | |
Public Member Functions inherited from TorcSetting | |
| TorcSetting (TorcSetting *Parent, const QString &DBName, const QString &UIName, Type SettingType, Roles SettingRoles, const QVariant &Default) | |
| void | Remove (void) |
| void | SetActiveThreshold (int Threshold) |
| void | SetHelpText (const QString &HelpText) |
| void | SetRange (int Begin, int End, int Step) |
| void | SetSelections (QVariantMap &Selections) |
Public Member Functions inherited from TorcHTTPService | |
| TorcHTTPService (QObject *Parent, const QString &Signature, const QString &Name, const QMetaObject &MetaObject, const QString &Blacklist=QStringLiteral("")) | |
| virtual | ~TorcHTTPService () |
| void | ProcessHTTPRequest (const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override |
| QVariantMap | ProcessRequest (const QString &Method, const QVariant &Parameters, QObject *Connection, bool Authenticated) override |
| QString | GetMethod (int Index) |
| QVariant | GetProperty (int Index) |
| Get the value of a given property. More... | |
| QVariantMap | GetServiceDetails (void) |
| Return a QVariantMap describing the services methods and properties. More... | |
| virtual QString | GetUIName (void) |
| virtual QString | GetPresentationURL (void) |
Public Member Functions inherited from TorcHTTPHandler | |
| TorcHTTPHandler (const QString &Signature, const QString &Name) | |
| virtual | ~TorcHTTPHandler () |
| QString | Signature (void) const |
| bool | GetRecursive (void) const |
| QString | Name (void) const |
Public Member Functions inherited from TorcReferenceCounter | |
| TorcReferenceCounter (void) | |
| virtual | ~TorcReferenceCounter (void)=default |
| void | UpRef (void) |
| virtual bool | DownRef (void) |
| bool | IsShared (void) |
Additional Inherited Members | |
Public Types inherited from TorcSetting | |
| enum | Type { Bool, Integer, String, StringList, Group } |
| enum | Role { None = (0 << 0), Persistent = (1 << 0), Public = (1 << 1) } |
Public Slots inherited from TorcSetting | |
| void | SubscriberDeleted (QObject *Subscriber) |
| QVariantMap | GetChildList (void) |
| bool | SetValue (const QVariant &Value) |
| bool | GetIsActive (void) |
| void | SetActive (bool Value) |
| QVariant | GetValue (void) |
| QString | GetUiName (void) |
| QString | GetHelpText (void) |
| QVariant | GetDefaultValue (void) |
| QString | GetSettingType (void) |
| QVariantMap | GetSelections (void) |
| int | GetBegin (void) |
| int | GetEnd (void) |
| int | GetStep (void) |
Signals inherited from TorcSetting | |
| void | ValueChanged (int Value) |
| void | ValueChanged (bool Value) |
| void | ValueChanged (QString &Value) |
| void | ValueChanged (QStringList &Value) |
| void | ActiveChanged (bool Active) |
| void | Removed (void) |
Static Public Member Functions inherited from TorcReferenceCounter | |
| static void | EventLoopEnding (bool Ending) |
Protected Member Functions inherited from TorcSetting | |
| virtual | ~TorcSetting ()=default |
| QString | GetChildList (QVariantMap &Children) |
| TorcSetting * | FindChild (const QString &Child, bool Recursive=false) |
| QSet< TorcSetting * > | GetChildren (void) |
| void | AddChild (TorcSetting *Child) |
| void | RemoveChild (TorcSetting *Child) |
Protected Member Functions inherited from TorcHTTPService | |
| void | HandleSubscriberDeleted (QObject *Subscriber) |
Static Protected Member Functions inherited from TorcHTTPHandler | |
| static bool | MethodIsAuthorised (TorcHTTPRequest &Request, int Allowed) |
| Check the current request is authorised and set the authentication header if not. More... | |
| static void | HandleOptions (TorcHTTPRequest &Request, int Allowed) |
| static void | HandleFile (TorcHTTPRequest &Request, const QString &Filename, int Cache) |
Protected Attributes inherited from TorcHTTPService | |
| QReadWriteLock | m_httpServiceLock |
Protected Attributes inherited from TorcHTTPHandler | |
| QString | m_signature |
| bool | m_recursive |
| QString | m_name |
Protected Attributes inherited from TorcReferenceCounter | |
| QAtomicInt | m_refCount |
Static Protected Attributes inherited from TorcReferenceCounter | |
| static bool | m_eventLoopEnding = false |
Properties inherited from TorcSetting | |
| QVariant | value |
| QString | uiName |
| QString | helpText |
| QVariant | defaultValue |
| bool | isActive |
| QString | settingType |
| QVariantMap | selections |
High level group of related settings.
Definition at line 123 of file torcsetting.h.
| TorcSettingGroup::TorcSettingGroup | ( | TorcSetting * | Parent, |
| const QString & | UIName | ||
| ) |
Definition at line 419 of file torcsetting.cpp.
1.8.11