⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmserver.cpp

📁 Webserver的移植与网络通讯实验 既在嵌入式设备上运行一个脚本或CGI的功能的WEB服务器.生成一个动态的叶面
💻 CPP
字号:
#include "frmserver.h"/*  *  Constructs a frmserver which is a child of 'parent', with the  *  name 'name' and widget flags set to 'f'  * *  The dialog will by default be modeless, unless you set 'modal' to *  TRUE to construct a modal dialog. */static const Q_UINT16 ipcPort = 8000;frmserver::frmserver( QWidget* parent,  const char* name, bool modal, WFlags fl )    : serverform( parent, name, modal, fl ){    IpcServer *server = new IpcServer( ipcPort, this );        connect( server, SIGNAL(receivedText(const QString&)),txtEdit, SLOT(append(const QString&)) );    connect( server, SIGNAL(receivedPixmap(const QPixmap&)),pixDisplay, SLOT(setPixmap(const QPixmap&)) );    }/*   *  Destroys the object and frees any allocated resources */frmserver::~frmserver(){    // no need to delete child widgets, Qt does it all for us}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -