QuasarAppLib
1.0.530.c9fba11
Toggle main menu visibility
settingslistener.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018-2026 QuasarApp.
3
* Distributed under the lgplv3 software license, see the accompanying
4
* Everyone is permitted to copy and distribute verbatim copies
5
* of this license document, but changing it is not allowed.
6
*/
7
8
#ifndef SETTINGSLISTNER_H
9
#define SETTINGSLISTNER_H
10
11
#include <QString>
12
#include <QVariant>
13
#include "
quasarapp_global.h
"
14
15
16
namespace
QuasarAppUtils
{
17
39
class
QUASARAPPSHARED_EXPORT
SettingsListener
40
{
41
public
:
42
SettingsListener
();
43
virtual
~SettingsListener
();
44
45
protected
:
46
52
virtual
void
handleSettingsChanged
(
const
QString& key,
53
const
QVariant& value) = 0;
54
private
:
55
QMetaObject::Connection _listenerConnection;
56
};
57
58
}
59
#endif
// SETTINGSLISTNER_H
QuasarAppUtils::SettingsListener::handleSettingsChanged
virtual void handleSettingsChanged(const QString &key, const QVariant &value)=0
handleSettingsChanged This method will be invoked when settings of application has bean changed.
QuasarAppUtils::SettingsListener::SettingsListener
SettingsListener()
Definition
settingslistener.cpp:13
QuasarAppUtils
The QuasarAppUtils namespace contains the base functions for all applications of the QuasarApp group....
Definition
crc32constexper.h:16
quasarapp_global.h
QUASARAPPSHARED_EXPORT
#define QUASARAPPSHARED_EXPORT
Definition
quasarapp_global.h:11
settingslistener.h
Generated by
1.18.0