Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Client
ParameterCompone
ParameterNet.h
1
#ifndef CPARAMETERNET_H
2
#define CPARAMETERNET_H
3
4
#include <QObject>
5
6
#include "ParameterUser.h"
7
25
class
CLIENT_EXPORT
CParameterNet
26
:
public
CParameterConnecter
27
{
28
Q_OBJECT
29
30
public
:
31
explicit
CParameterNet
(
CParameterConnecter
* parent,
32
const
QString& szPrefix = QString());
33
34
virtual
const
QString GetHost()
const
;
35
virtual
void
SetHost(
const
QString& szHost);
36
Q_SIGNALS:
37
void
sigHostChanged(
const
QString& szHost);
38
39
public
:
40
virtual
const
quint16 GetPort()
const
;
41
virtual
void
SetPort(quint16 port);
42
44
CParameterUser
m_User
;
46
47
protected
:
48
virtual
int
OnLoad(QSettings &set)
override
;
49
virtual
int
OnSave(QSettings &set)
override
;
50
51
private
:
52
QString m_szHost;
53
quint16 m_nPort;
54
55
public
:
56
int
SetPrompt(
const
QString szPrompt);
57
QString GetPrompt();
58
private
:
59
QString m_szPrompt;
60
};
61
62
#endif
// CPARAMETERNET_H
CParameterConnecter
the parameters of connecter interface.
Definition
ParameterConnecter.h:256
CParameterNet
Basic network parameters.
Definition
ParameterNet.h:27
CParameterNet::m_User
CParameterUser m_User
[Instance user]
Definition
ParameterNet.h:44
CParameterUser
It contains user and password It only valid in plugin.
Definition
ParameterUser.h:22
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力