diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-03-27 18:01:53 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-03-27 18:01:53 +0300 |
commit | c0da46efd05e4130fdab1ce2f7966e7de428e5da (patch) | |
tree | 36d04d51bcd3682f80cfe2826ee53feb8000f984 /src/Connection.h | |
parent | 68d3159437e6566bbad82ab9fd52d2588a25e910 (diff) |
Working TCP communication
Diffstat (limited to 'src/Connection.h')
-rw-r--r-- | src/Connection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Connection.h b/src/Connection.h index 18b0cfc89..a79c7beeb 100644 --- a/src/Connection.h +++ b/src/Connection.h @@ -45,6 +45,7 @@ class Connection : public QObject { protected: QSslSocket *qtsSocket; QTime qtLastPacket; + unsigned int uiType; int iPacketLength; bool bDisconnectedEmitted; #ifdef Q_OS_WIN @@ -59,8 +60,8 @@ class Connection : public QObject { public slots: void proceedAnyway(); signals: - void connectionClosed(QString reason); - void message(QByteArray &); + void connectionClosed(const QString &reason); + void message(unsigned int type, const QByteArray &); void handleSslErrors(const QList<QSslError> &); void recheckBuffer(); |