Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Plugins
Telnet
ConnecterTelnet.h
1
#ifndef CCONNECTERTELNET_H
2
#define CCONNECTERTELNET_H
3
4
#include "ConnecterTerminal.h"
5
#include "ParameterTelnet.h"
6
#include <QTcpSocket>
7
8
class
CConnecterTelnet
:
public
CConnecterTerminal
9
{
10
Q_OBJECT
11
public
:
12
explicit
CConnecterTelnet
(
CPluginClient
*parent);
13
virtual
~CConnecterTelnet
();
14
15
// CConnecterTerminal interface
16
protected
:
17
virtual
QDialog *GetDialogSettings(QWidget *parent)
override
;
18
virtual
int
SetParameter()
override
;
19
virtual
int
OnConnect
()
override
;
20
virtual
int
OnDisConnect()
override
;
21
22
protected
Q_SLOTS:
23
void
slotSendData(
const
char
*data,
int
size);
24
void
slotReadyRead();
25
void
slotError(QAbstractSocket::SocketError err);
26
27
private
:
28
QTcpSocket* m_pSocket;
29
};
30
31
#endif
// CCONNECTERTELNET_H
CConnecterTelnet
Definition
ConnecterTelnet.h:9
CConnecterTelnet::OnConnect
virtual int OnConnect() override
OnConnect.
Definition
ConnecterTelnet.cpp:33
CConnecterTerminal
Definition
ConnecterTerminal.h:13
CPluginClient
The plugin interface.
Definition
PluginClient.h:33
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力