The SettingsListener class is listener of the ISettings global object. The SettingsListener class is abstract class and contains only one method for hendling settings changes.
More...
#include <settingslistener.h>
|
| virtual void | handleSettingsChanged (const QString &key, const QVariant &value)=0 |
| | handleSettingsChanged This method will be invoked when settings of application has bean changed.
|
The SettingsListener class is listener of the ISettings global object. The SettingsListener class is abstract class and contains only one method for hendling settings changes.
Example of use :
protected:
if (key == "shareName") {
setSessinon(static_cast<long long >(rand()) * rand());
}
}
};
The SettingsListener class is listener of the ISettings global object. The SettingsListener class is ...
virtual void handleSettingsChanged(const QString &key, const QVariant &value)=0
handleSettingsChanged This method will be invoked when settings of application has bean changed.
- See also
- ISettings
Definition at line 39 of file settingslistener.h.
◆ SettingsListener()
| QuasarAppUtils::SettingsListener::SettingsListener |
( |
| ) |
|
◆ ~SettingsListener()
| QuasarAppUtils::SettingsListener::~SettingsListener |
( |
| ) |
|
|
virtual |
◆ handleSettingsChanged()
| virtual void QuasarAppUtils::SettingsListener::handleSettingsChanged |
( |
const QString & | key, |
|
|
const QVariant & | value ) |
|
protectedpure virtual |
handleSettingsChanged This method will be invoked when settings of application has bean changed.
- Parameters
-
| key | This is key of a changed settings. |
| value | This is a new value of a changed settings. |
The documentation for this class was generated from the following files: