Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ParameterServiceRabbitVNC.h
1// Author: Kang Lin <kl222@126.com>
2
3#ifndef CPARAMETERSERVICETIGERVNC_H
4#define CPARAMETERSERVICETIGERVNC_H
5
6#include "ParameterService.h"
7
9{
10 Q_OBJECT
11 Q_PROPERTY(bool Ice READ getIce WRITE setIce NOTIFY sigIceChanged)
12 Q_PROPERTY(bool Socket READ GetEnableSocket WRITE SetEnableSocket NOTIFY sigEnableSocketChanged)
13
14public:
15 explicit CParameterServiceRabbitVNC(QObject *parent = nullptr);
17
18 // CParameterService interface
19public:
20 virtual int Load(const QString& szFile = QString());
21 virtual int Save(const QString& szFile = QString());
22
23 bool getIce() const;
24 void setIce(bool newBIce);
25
26 bool GetEnableSocket() const;
27 void SetEnableSocket(bool newSocket);
28
29signals:
30 void sigIceChanged();
31 void sigEnableSocketChanged(bool bSocket);
32
33private:
34 bool m_bIce;
35 bool m_bEnableSocket;
36};
37
38#endif // CPARAMETERSERVICETIGERVNC_H