QuasarAppLib
settingslistner.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2025 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
16namespace QuasarAppUtils {
17
40{
41public:
43 virtual ~SettingsListner();
44
45protected:
46
52 virtual void handleSettingsChanged(const QString& key,
53 const QVariant& value) = 0;
54private:
55 QMetaObject::Connection _listnerConnection;
56};
57
58}
59#endif // SETTINGSLISTNER_H
The SettingsListner class is listner of the ISettings global object. The SettingsListner class is abs...
virtual void handleSettingsChanged(const QString &key, const QVariant &value)=0
handleSettingsChanged This method will be invoked when settings of application has bean changed.
The QuasaraAppUtils class This lib include base functions for the all applications of QuasarApp group...
Definition helpdata.cpp:18
void gen(int size, QByteArray &result)
#define QUASARAPPSHARED_EXPORT