ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ckbsettingswriter.h
Go to the documentation of this file.
1
#ifndef CKBSETTINGSWRITER_H
2
#define CKBSETTINGSWRITER_H
3
4
#include <QObject>
5
#include <QMap>
6
#include <QSettings>
7
#include <QStringList>
8
9
// Setting de-cacher for CkbSettings
10
// It has to be declared in its own header or else Q_OBJECT doesn't work
11
12
class
CkbSettingsWriter
:
public
QObject
{
13
Q_OBJECT
14
public
:
15
CkbSettingsWriter
(QSettings* backing,
const
QStringList& removals,
const
QMap<QString, QVariant>& updates);
16
~CkbSettingsWriter
();
17
18
Q_SLOT
void
run
();
19
20
private
:
21
QSettings*
_backing
;
22
QStringList
_removals
;
23
QMap<QString, QVariant>
_updates
;
24
};
25
26
#endif // CKBSETTINGSWRITER_H
CkbSettingsWriter
Definition:
ckbsettingswriter.h:12
CkbSettingsWriter::~CkbSettingsWriter
~CkbSettingsWriter()
Definition:
ckbsettingswriter.cpp:17
CkbSettingsWriter::CkbSettingsWriter
CkbSettingsWriter(QSettings *backing, const QStringList &removals, const QMap< QString, QVariant > &updates)
Definition:
ckbsettingswriter.cpp:12
CkbSettingsWriter::_updates
QMap< QString, QVariant > _updates
Definition:
ckbsettingswriter.h:23
QObject
CkbSettingsWriter::_backing
QSettings * _backing
Definition:
ckbsettingswriter.h:21
CkbSettingsWriter::_removals
QStringList _removals
Definition:
ckbsettingswriter.h:22
CkbSettingsWriter::run
Q_SLOT void run()
Definition:
ckbsettingswriter.cpp:21
src
ckb
ckbsettingswriter.h
Generated on Sat Jan 20 2018 16:59:28 for ckb-next by
1.8.6