Const
This commit is contained in:
parent
890e54cd4b
commit
fbbaa854b2
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ public:
|
|||
|
||||
QByteArray readLine() { return mPackages.dequeue(); }
|
||||
qint64 write(const QByteArray& data) { return mSocket->write(data); }
|
||||
QHostAddress peerAddress() { return mSocket->peerAddress(); }
|
||||
qint64 bytesAvailable() { return mPackages.size(); }
|
||||
QHostAddress peerAddress() const { return mSocket->peerAddress(); }
|
||||
qint64 bytesAvailable() const { return mPackages.size(); }
|
||||
|
||||
Q_SIGNALS:
|
||||
void readyRead();
|
||||
|
|
Loading…
Reference in a new issue