QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
qxrdresponsetimer.h
Go to the documentation of this file.
1
#ifndef QXRDRESPONSETIMER_H
2
#define QXRDRESPONSETIMER_H
3
4
#include "
qcepobject.h
"
5
#include <QTimer>
6
#include <QTime>
7
8
class
QxrdResponseTimer
:
public
QObject
9
{
10
Q_OBJECT
11
public
:
12
explicit
QxrdResponseTimer
(
int
interval,
int
allowance,
QcepObject
*parent);
13
14
public
slots:
15
void
onTimeout
();
16
17
private
:
18
int
m_ResponseInterval
;
19
int
m_ResponseAllowance
;
20
QTimer
m_ResponseTimer
;
21
QTime
m_ResponseTime
;
22
};
23
24
#endif // QXRDRESPONSETIMER_H
QxrdResponseTimer
Definition:
qxrdresponsetimer.h:8
QxrdResponseTimer::m_ResponseTime
QTime m_ResponseTime
Definition:
qxrdresponsetimer.h:21
QxrdResponseTimer::m_ResponseTimer
QTimer m_ResponseTimer
Definition:
qxrdresponsetimer.h:20
QxrdResponseTimer::m_ResponseInterval
int m_ResponseInterval
Definition:
qxrdresponsetimer.h:18
QcepObject
Definition:
qcepobject.h:10
QxrdResponseTimer::onTimeout
void onTimeout()
Definition:
qxrdresponsetimer.cpp:16
QxrdResponseTimer::QxrdResponseTimer
QxrdResponseTimer(int interval, int allowance, QcepObject *parent)
Definition:
qxrdresponsetimer.cpp:5
QxrdResponseTimer::m_ResponseAllowance
int m_ResponseAllowance
Definition:
qxrdresponsetimer.h:19
qcepobject.h
Generated by
1.8.10