/* * Copyright (C) 2007-2012 Xagasoft, All rights reserved. * * This file is part of the libgats library and is released under the * terms of the license contained in the file LICENSE. */ #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