Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
ConnecterTelnet.h
1#ifndef CCONNECTERTELNET_H
2#define CCONNECTERTELNET_H
3
4#include "ConnecterTerminal.h"
5#include "ParameterTelnet.h"
6#include <QTcpSocket>
7
9{
10 Q_OBJECT
11public:
12 explicit CConnecterTelnet(CPluginClient *parent);
13 virtual ~CConnecterTelnet();
14
15 // CConnecterTerminal interface
16protected:
17 virtual QDialog *GetDialogSettings(QWidget *parent) override;
18 virtual int SetParameter() override;
19 virtual int OnConnect() override;
20 virtual int OnDisConnect() override;
21
22protected Q_SLOTS:
23 void slotSendData(const char *data, int size);
24 void slotReadyRead();
25 void slotError(QAbstractSocket::SocketError err);
26
27private:
28 QTcpSocket* m_pSocket;
29};
30
31#endif // CCONNECTERTELNET_H
virtual int OnConnect() override
OnConnect.
The plugin interface.