This commit is contained in:
Albert Vaca 2015-04-04 19:03:24 -07:00
parent 890e54cd4b
commit fbbaa854b2

View file

@ -41,8 +41,8 @@ public:
QByteArray readLine() { return mPackages.dequeue(); } QByteArray readLine() { return mPackages.dequeue(); }
qint64 write(const QByteArray& data) { return mSocket->write(data); } qint64 write(const QByteArray& data) { return mSocket->write(data); }
QHostAddress peerAddress() { return mSocket->peerAddress(); } QHostAddress peerAddress() const { return mSocket->peerAddress(); }
qint64 bytesAvailable() { return mPackages.size(); } qint64 bytesAvailable() const { return mPackages.size(); }
Q_SIGNALS: Q_SIGNALS:
void readyRead(); void readyRead();