1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

update qqt server example

This commit is contained in:
tianduanrui 2018-04-23 21:04:58 +08:00
parent 9499ab57f8
commit c271628777
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#include "mainwindow.h"
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow ( QWidget* parent ) :

View File

@ -11,7 +11,7 @@ QDebug& operator << ( QDebug& dbg, const QQtClient2Message& msg )
QQtProtocolManager* QQtServer2ConnectionInstance ( QObject* parent )
{
static QQtProtocolManager* m0 = 0;
static QQtProtocolManager* m0 = NULL;
if ( !m0 )
{
//创建Protocol管理者
@ -21,7 +21,7 @@ QQtProtocolManager* QQtServer2ConnectionInstance ( QObject* parent )
//初始化Protocol管理者完成。
}
static QQtTcpServer* s0 = 0;
static QQtTcpServer* s0 = NULL;
if ( !s0 )
{
//新建服务器

View File

@ -1,4 +1,4 @@
#include "qqttcpserver.h"
#include "qqttcpserver.h"
#include "qqtnetwork.h"