#ifndef CLIENT_WIDGET_H #define CLIENT_WIDGET_H #include #include "ui_clientwidget.h" #include "iobase.h" namespace Gats { class Object; }; class ClientWidget : public QWidget, protected Ui::ClientWidget, public IoBase { Q_OBJECT; public: ClientWidget( QWidget *pParent, const QByteArray &baHost, int iPort ); virtual ~ClientWidget(); virtual void saveTo( const QString &sFile ); public slots: void send(); void recv( Gats::Object *pObj ); private: class ClientThread *pCli; }; #endif