diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-11 19:21:52 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-11 19:21:52 +0200 |
commit | fbb6a5a1570666ad283afac6e545c578e65475b8 (patch) | |
tree | 5efe464ac2c41ae9c932043451606bf2b3036db7 /client/mytcpsocket.h | |
parent | b455848ee62b06ba73801cff477c6ff214c4053e (diff) |
client merge done
Diffstat (limited to 'client/mytcpsocket.h')
-rw-r--r-- | client/mytcpsocket.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/client/mytcpsocket.h b/client/mytcpsocket.h new file mode 100644 index 0000000..4a7e543 --- /dev/null +++ b/client/mytcpsocket.h @@ -0,0 +1,32 @@ +#ifndef MYTCPSOCKET_H +#define MYTCPSOCKET_H + +#include <QObject> +#include <QTcpSocket> +#include <QAbstractSocket> +#include <QDebug> + +class MyTcpSocket : public QObject +{ + Q_OBJECT +public: + explicit MyTcpSocket(QObject *parent = 0); + + void doConnect(); +signals: +public slots: + void connected(); + void disconnected(); + void bytesWritten(qint64 bytes); + void readyRead(); +private: + QTcpSocket *socket; + + + + + +}; + + +#endif // MYTCPSOCKET_H |