QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
submodules
qceplib
qceplib-base
qcepsettingssaver.h
Go to the documentation of this file.
1
#ifndef QCEPSETTINGSSAVER_H
2
#define QCEPSETTINGSSAVER_H
3
4
#include "
qcepmacros.h
"
5
#include <QObject>
6
#include <QTimer>
7
#include <QMutex>
8
#include <QDateTime>
9
10
#include "
qcepproperty-ptr.h
"
11
12
class
QcepSettingsSaver
:
public
QObject
13
{
14
Q_OBJECT
15
public
:
16
explicit
QcepSettingsSaver
(QObject *owner);
17
~QcepSettingsSaver
();
18
19
void
changed
(
QcepProperty
*prop = NULL);
20
21
public
slots:
22
void
start
();
23
void
performSave
();
24
void
printMessage
(QString msg, QDateTime ts=QDateTime::currentDateTime());
25
26
private
:
27
QMutex
m_Mutex
;
28
QObject *
m_Owner
;
29
QAtomicInt
m_ChangeCount
;
30
QTimer
m_Timer
;
31
int
m_SaveDelay
;
32
};
33
34
#endif // QCEPSETTINGSSAVER_H
QcepSettingsSaver::start
void start()
Definition:
qcepsettingssaver.cpp:28
qcepmacros.h
QcepProperty
Definition:
qcepproperty.h:30
QcepSettingsSaver::m_ChangeCount
QAtomicInt m_ChangeCount
Definition:
qcepsettingssaver.h:29
QcepSettingsSaver::printMessage
void printMessage(QString msg, QDateTime ts=QDateTime::currentDateTime())
Definition:
qcepsettingssaver.cpp:66
QcepSettingsSaver::~QcepSettingsSaver
~QcepSettingsSaver()
Definition:
qcepsettingssaver.cpp:21
QcepSettingsSaver::changed
void changed(QcepProperty *prop=NULL)
Definition:
qcepsettingssaver.cpp:61
QcepSettingsSaver::m_Owner
QObject * m_Owner
Definition:
qcepsettingssaver.h:28
QcepSettingsSaver::performSave
void performSave()
Definition:
qcepsettingssaver.cpp:39
QcepSettingsSaver
Definition:
qcepsettingssaver.h:12
QcepSettingsSaver::QcepSettingsSaver
QcepSettingsSaver(QObject *owner)
Definition:
qcepsettingssaver.cpp:9
QcepSettingsSaver::m_SaveDelay
int m_SaveDelay
Definition:
qcepsettingssaver.h:31
QcepSettingsSaver::m_Timer
QTimer m_Timer
Definition:
qcepsettingssaver.h:30
QcepSettingsSaver::m_Mutex
QMutex m_Mutex
Definition:
qcepsettingssaver.h:27
qcepproperty-ptr.h
Generated by
1.8.10