frmclient.h
资源名称:Webserver.rar [点击查看]
上传用户:yayahi0755
上传日期:2022-05-14
资源大小:876k
文件大小:1k
源码类别:
浏览器
开发平台:
Unix_Linux
- #ifndef FRMCLIENT_H
- #define FRMCLIENT_H
- #include "clientform.h"
- #include<qpushbutton.h>
- #include <qsocket.h>
- #include <qlabel.h>
- #include <qfiledialog.h>
- #include <qimage.h>
- #include <qmultilineedit.h>
- #include <qlineedit.h>
- #include <qapplication.h>
- class frmclient : public clientform
- {
- Q_OBJECT
- public:
- frmclient( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
- ~frmclient();
- private slots:
- void sendImage();
- void sendText();
- void sendFile();
- void connectNet();
- void ServerConnectionClosed();
- void SocketConnected();
- void SocketError(int);
- void exitSystem();
- private:
- void sendPacket( const QVariant & );
- bool connectFlag;
- QSocket *socket;
- };
- #endif // FRMCLIENT_H