/test_net_client/test_net_client/socketclient.h
http://cupsfilter.googlecode.com/ · C Header · 18 lines · 14 code · 4 blank · 0 comment · 0 complexity · 6cd45baf2ea803440fcc6575ba88a4c5 MD5 · raw file
- #ifndef SOCKETCLIENT_H
- #define SOCKETCLIENT_H
- #include <QTcpSocket>
- #include <QString>
- class SocketClient : public QTcpSocket
- {
- Q_OBJECT
- public:
- SocketClient();
- protected slots:
- void onConnected();
- void onReadyRead();
- };
- #endif // SOCKETCLIENT_H