Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
TelnetSlave Class Reference

#include <telnetslave.h>

Inheritance diagram for TelnetSlave:

Public Slots

void on_connected ()
 
void on_disconnected ()
 
void on_error (QAbstractSocket::SocketError)
 
void on_host_found ()
 
void on_ready_read ()
 
void on_state_changed (QAbstractSocket::SocketState)
 

Signals

void props_folder (QString, QString)
 
void props_value (QString, QString, QString, QString)
 
void telnet_connected (bool)
 
void telnet_error (QAbstractSocket::SocketError, QString)
 

Public Member Functions

void add_que (QString node)
 
void get_node (QString path)
 
void set_property (QString path, QString value)
 
void telnet_connect (QString address, int port)
 
void telnet_disconnect ()
 
 TelnetSlave (QObject *parent=0)
 

Public Attributes

QString current_node_path
 
QString hostAddress
 
bool in_request
 
int port
 
QQueue< QString > que
 

Private Attributes

QTcpSocket * socket
 

Detailed Description

Definition at line 26 of file telnetslave.h.

Constructor & Destructor Documentation

TelnetSlave::TelnetSlave ( QObject parent = 0)
explicit

Definition at line 18 of file telnetslave.cpp.

Member Function Documentation

void TelnetSlave::add_que ( QString  node)

Definition at line 67 of file telnetslave.cpp.

void TelnetSlave::get_node ( QString  path)
void TelnetSlave::on_connected ( )
slot

Definition at line 160 of file telnetslave.cpp.

Referenced by TelnetSlave().

void TelnetSlave::on_disconnected ( )
slot

Definition at line 165 of file telnetslave.cpp.

Referenced by TelnetSlave().

void TelnetSlave::on_error ( QAbstractSocket::SocketError  socketError)
slot

Definition at line 170 of file telnetslave.cpp.

Referenced by TelnetSlave().

void TelnetSlave::on_host_found ( )
slot

Definition at line 156 of file telnetslave.cpp.

Referenced by TelnetSlave().

void TelnetSlave::on_ready_read ( )
slot

Definition at line 96 of file telnetslave.cpp.

Referenced by TelnetSlave().

void TelnetSlave::on_state_changed ( QAbstractSocket::SocketState  socketState)
slot

Definition at line 178 of file telnetslave.cpp.

Referenced by TelnetSlave().

void TelnetSlave::props_folder ( QString  ,
QString   
)
signal

Referenced by on_ready_read().

void TelnetSlave::props_value ( QString  ,
QString  ,
QString  ,
QString   
)
signal

Referenced by on_ready_read().

void TelnetSlave::set_property ( QString  path,
QString  value 
)

Definition at line 56 of file telnetslave.cpp.

Referenced by PropsTreeWidget::on_test_().

void TelnetSlave::telnet_connect ( QString  address,
int  port 
)

Definition at line 43 of file telnetslave.cpp.

Referenced by PropsTreeWidget::telnet_connect().

void TelnetSlave::telnet_connected ( bool  )
signal

Referenced by on_connected(), and on_disconnected().

void TelnetSlave::telnet_disconnect ( )

Definition at line 52 of file telnetslave.cpp.

Referenced by PropsTreeWidget::telnet_disconnect().

void TelnetSlave::telnet_error ( QAbstractSocket::SocketError  ,
QString   
)
signal

Referenced by on_error().

Member Data Documentation

QString TelnetSlave::current_node_path

Definition at line 36 of file telnetslave.h.

Referenced by get_node(), on_ready_read(), and TelnetSlave().

QString TelnetSlave::hostAddress

Definition at line 32 of file telnetslave.h.

Referenced by telnet_connect().

bool TelnetSlave::in_request

Definition at line 38 of file telnetslave.h.

Referenced by get_node(), on_ready_read(), and TelnetSlave().

int TelnetSlave::port

Definition at line 33 of file telnetslave.h.

Referenced by telnet_connect().

QQueue<QString> TelnetSlave::que

Definition at line 34 of file telnetslave.h.

QTcpSocket* TelnetSlave::socket
private

The documentation for this class was generated from the following files: