更新代码
parent
b594e6e67c
commit
bcd8888c1f
|
@ -1,5 +1,5 @@
|
||||||
#include "appconfig.h"
|
#include "appconfig.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
QString AppConfig::ConfigFile = "config.ini";
|
QString AppConfig::ConfigFile = "config.ini";
|
||||||
QString AppConfig::SendFileName = "send.txt";
|
QString AppConfig::SendFileName = "send.txt";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmcomtool.h"
|
#include "frmcomtool.h"
|
||||||
#include "ui_frmcomtool.h"
|
#include "ui_frmcomtool.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmComTool::frmComTool(QWidget *parent) : QWidget(parent), ui(new Ui::frmComTool)
|
frmComTool::frmComTool(QWidget *parent) : QWidget(parent), ui(new Ui::frmComTool)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "frmcomtool.h"
|
#include "frmcomtool.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "appconfig.h"
|
#include "appconfig.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
QString AppConfig::ConfigFile = "config.ini";
|
QString AppConfig::ConfigFile = "config.ini";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "tcpserver1.h"
|
#include "tcpserver1.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
TcpClient1::TcpClient1(QObject *parent) : QTcpSocket(parent)
|
TcpClient1::TcpClient1(QObject *parent) : QTcpSocket(parent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "tcpserver2.h"
|
#include "tcpserver2.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
TcpClient2::TcpClient2(QObject *parent) : QTcpSocket(parent)
|
TcpClient2::TcpClient2(QObject *parent) : QTcpSocket(parent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmmain.h"
|
#include "frmmain.h"
|
||||||
#include "ui_frmmain.h"
|
#include "ui_frmmain.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmMain::frmMain(QWidget *parent) : QWidget(parent), ui(new Ui::frmMain)
|
frmMain::frmMain(QWidget *parent) : QWidget(parent), ui(new Ui::frmMain)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "frmmain.h"
|
#include "frmmain.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "appconfig.h"
|
#include "appconfig.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
QString AppConfig::ConfigFile = "config.ini";
|
QString AppConfig::ConfigFile = "config.ini";
|
||||||
QString AppConfig::SendFileName = "send.txt";
|
QString AppConfig::SendFileName = "send.txt";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "tcpclient.h"
|
#include "tcpclient.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
TcpClient::TcpClient(QTcpSocket *socket, QObject *parent) : QObject(parent)
|
TcpClient::TcpClient(QTcpSocket *socket, QObject *parent) : QObject(parent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "tcpserver.h"
|
#include "tcpserver.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
TcpServer::TcpServer(QObject *parent) : QTcpServer(parent)
|
TcpServer::TcpServer(QObject *parent) : QTcpServer(parent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "webclient.h"
|
#include "webclient.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
WebClient::WebClient(QWebSocket *socket, QObject *parent) : QObject(parent)
|
WebClient::WebClient(QWebSocket *socket, QObject *parent) : QObject(parent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "webserver.h"
|
#include "webserver.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
WebServer::WebServer(const QString &serverName, SslMode secureMode, QObject *parent) : QWebSocketServer(serverName, secureMode, parent)
|
WebServer::WebServer(const QString &serverName, SslMode secureMode, QObject *parent) : QWebSocketServer(serverName, secureMode, parent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmmain.h"
|
#include "frmmain.h"
|
||||||
#include "ui_frmmain.h"
|
#include "ui_frmmain.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
#include "frmtcpclient.h"
|
#include "frmtcpclient.h"
|
||||||
#include "frmtcpserver.h"
|
#include "frmtcpserver.h"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmtcpclient.h"
|
#include "frmtcpclient.h"
|
||||||
#include "ui_frmtcpclient.h"
|
#include "ui_frmtcpclient.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmTcpClient::frmTcpClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmTcpClient)
|
frmTcpClient::frmTcpClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmTcpClient)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmtcpserver.h"
|
#include "frmtcpserver.h"
|
||||||
#include "ui_frmtcpserver.h"
|
#include "ui_frmtcpserver.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmTcpServer::frmTcpServer(QWidget *parent) : QWidget(parent), ui(new Ui::frmTcpServer)
|
frmTcpServer::frmTcpServer(QWidget *parent) : QWidget(parent), ui(new Ui::frmTcpServer)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmudpclient.h"
|
#include "frmudpclient.h"
|
||||||
#include "ui_frmudpclient.h"
|
#include "ui_frmudpclient.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmUdpClient::frmUdpClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmUdpClient)
|
frmUdpClient::frmUdpClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmUdpClient)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmudpserver.h"
|
#include "frmudpserver.h"
|
||||||
#include "ui_frmudpserver.h"
|
#include "ui_frmudpserver.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmUdpServer::frmUdpServer(QWidget *parent) : QWidget(parent), ui(new Ui::frmUdpServer)
|
frmUdpServer::frmUdpServer(QWidget *parent) : QWidget(parent), ui(new Ui::frmUdpServer)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmwebclient.h"
|
#include "frmwebclient.h"
|
||||||
#include "ui_frmwebclient.h"
|
#include "ui_frmwebclient.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmWebClient::frmWebClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmWebClient)
|
frmWebClient::frmWebClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmWebClient)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "frmwebserver.h"
|
#include "frmwebserver.h"
|
||||||
#include "ui_frmwebserver.h"
|
#include "ui_frmwebserver.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
frmWebServer::frmWebServer(QWidget *parent) : QWidget(parent), ui(new Ui::frmWebServer)
|
frmWebServer::frmWebServer(QWidget *parent) : QWidget(parent), ui(new Ui::frmWebServer)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "frmmain.h"
|
#include "frmmain.h"
|
||||||
#include "quiwidget.h"
|
#include "quihelper.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue