Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 313 → Rev 312

/QMK-Groundstation/trunk/Classes/cConnection.h
21,7 → 21,6
 
#include <QObject>
#include <QTcpSocket>
#include <QTimer>
 
#include "ToolBox.h"
#include "../global.h"
40,15 → 39,10
bool Open(int Typ, QString Address);
bool Close();
bool send_Cmd(char CMD, int Address, char Data[150],unsigned int Length, bool Resend = true);
void stop_ReSend();
 
private:
ManageSerialPort *TTY;
QTcpSocket *TcpSocket;
QTimer *o_Timer;
 
QByteArray s_ReSend;
 
bool b_isOpen;
int i_Type;
sRxData RxData;
60,8 → 54,6
void slot_IP_Connected();
void slot_IP_Disconnect();
void slot_IP_ReadLine();
 
void slot_Timer();
// void slot_Error(QAbstractSocket::SocketError Error);
 
signals: