-
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathParameterTelnet.h
More file actions
36 lines (29 loc) · 901 Bytes
/
ParameterTelnet.h
File metadata and controls
36 lines (29 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Author: Kang Lin <kl222@126.com>
#pragma once
#include "ParameterOperate.h"
#include "ParameterTerminalBase.h"
#include "ParameterNet.h"
class CParameterTelnet : public CParameterTerminalBase
{
Q_OBJECT
public:
explicit CParameterTelnet(
CParameterOperate *parent = nullptr,
const QString& szPrefix = QString());
virtual ~CParameterTelnet();
CParameterNet m_Net;
// CParameter interface
protected:
virtual int OnLoad(QSettings &set) override;
virtual int OnSave(QSettings &set) override;
public:
//! Login Regular Expression
QString GetLogin() const;
void SetLogin(const QString &newLogin);
//! Password Regular Expression
QString GetPassword() const;
void SetPassword(const QString &newPassword);
private:
QString m_szLogin; //! Login Regular Expression
QString m_szPassword; //! Password Regular Expression
};