資源簡介
基于QT的C++語言網絡聊天室和服務器。實現公共聊天室,一對一聊天,在線人員顯示等。

代碼片段和文件信息
/****************************************************************************
**?meta?object?code?from?reading?C++?file?‘mainwindow.h‘
**
**?Created?by:?The?Qt?meta?object?Compiler?version?67?(Qt?5.0.2)
**
**?WARNING!?All?changes?made?in?this?file?will?be?lost!
*****************************************************************************/
#include?“../client/mainwindow.h“
#include?
#include?tatype.h>
#if?!defined(Q_MOC_OUTPUT_REVISION)
#error?“The?header?file?‘mainwindow.h‘?doesn‘t?include?ject>.“
#elif?Q_MOC_OUTPUT_REVISION?!=?67
#error?“This?file?was?generated?using?the?moc?from?5.0.2.?It“
#error?“cannot?be?used?with?the?include?files?from?this?version?of?Qt.“
#error?“(The?moc?has?changed?too?much.)“
#endif
QT_BEGIN_MOC_NAMESPACE
struct?qt_meta_stringdata_MainWindow_t?{
????QByteArrayData?data[10];
????char?stringdata[165];
};
#define?QT_MOC_LITERAL(idx?ofs?len)?\
????Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len?\
????offsetof(qt_meta_stringdata_MainWindow_t?stringdata)?+?ofs?\
????????-?idx?*?sizeof(QByteArrayData)?\
????)
static?const?qt_meta_stringdata_MainWindow_t?qt_meta_stringdata_MainWindow?=?{
????{
QT_MOC_LITERAL(0?0?10)
QT_MOC_LITERAL(1?11?21)
QT_MOC_LITERAL(2?33?0)
QT_MOC_LITERAL(3?34?9)
QT_MOC_LITERAL(4?44?28)
QT_MOC_LITERAL(5?73?11)
QT_MOC_LITERAL(6?85?10)
QT_MOC_LITERAL(7?96?22)
QT_MOC_LITERAL(8?119?21)
QT_MOC_LITERAL(9?141?22)
????}
????“MainWindow\0on_sendButton_clicked\0\0“
????“read_data\0on_btn_connectServer_clicked\0“
????“connect_suc\0client_dis\0on_loginButton_clicked\0“
????“on_pushButton_clicked\0on_privateSend_clicked\0“
};
#undef?QT_MOC_LITERAL
static?const?uint?qt_meta_data_MainWindow[]?=?{
?//?content:
???????7???????//?revision
???????0???????//?classname
???????0????0?//?classinfo
???????8???14?//?methods
???????0????0?//?properties
???????0????0?//?enums/sets
???????0????0?//?constructors
???????0???????//?flags
???????0???????//?signalCount
?//?slots:?name?argc?parameters?tag?flags
???????1????0???54????2?0x08
???????3????0???55????2?0x08
???????4????0???56????2?0x08
???????5????0???57????2?0x08
???????6????0???58????2?0x08
???????7????0???59????2?0x08
???????8????0???60????2?0x08
???????9????0???61????2?0x08
?//?slots:?parameters
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
????QmetaType::Void
???????0????????//?eod
};
void?MainWindow::qt_static_metacall(Qobject?*_o?Qmetaobject::Call?_c?int?_id?void?**_a)
{
????if?(_c?==?Qmetaobject::InvokemetaMethod)?{
????????MainWindow?*_t?=?static_cast(_o);
????????switch?(_id)?{
????????case?0:?_t->on_sendButton_clicked();?break;
????????case?1:?_t->read_data();?break;
????????case?2:?_t->on_btn_connectServer_clicked();?break;
????????case?3:?_t->connect_suc();?break;
????????case?4:?_t->client_dis();?break;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????425179??2018-07-06?14:55??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug\client
?????文件?????147684??2018-07-06?14:55??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug\main.o
?????文件?????317280??2018-07-06?14:55??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug\mainwindow.o
?????文件??????42756??2018-07-22?19:21??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug\Makefile
?????文件???????4316??2018-07-06?14:55??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug\moc_mainwindow.cpp
?????文件?????181640??2018-07-06?14:55??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug\moc_mainwindow.o
?????文件???????6300??2018-07-06?14:55??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug\ui_mainwindow.h
?????文件?????156204??2018-07-06?15:41??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\main.o
?????文件?????380292??2018-07-06?15:41??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\mainwindow.o
?????文件??????43131??2018-07-22?19:22??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\Makefile
?????文件???????3657??2018-07-06?15:41??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\moc_mainwindow.cpp
?????文件?????198240??2018-07-06?15:41??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\moc_mainwindow.o
?????文件?????475710??2018-07-06?15:41??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\server
?????文件???????3406??2018-07-06?00:30??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\ui_mainwindow.h
?????文件???????3565??2018-07-05?19:29??基于qt的聊天室軟件\聊天室\build-server-Desktop_Qt_5_0_2_GCC_32bit-Debug\ui_tcpclient.h
?????文件????????378??2018-07-05?20:36??基于qt的聊天室軟件\聊天室\client\client.pro
?????文件??????17895??2018-12-29?14:52??基于qt的聊天室軟件\聊天室\client\client.pro.user
?????文件??????17871??2018-07-22?19:21??基于qt的聊天室軟件\聊天室\client\client.pro.user.4a4ebfc
?????文件????????176??2018-07-05?18:41??基于qt的聊天室軟件\聊天室\client\main.cpp
?????文件???????3881??2018-07-06?14:54??基于qt的聊天室軟件\聊天室\client\mainwindow.cpp
?????文件????????715??2018-07-06?14:54??基于qt的聊天室軟件\聊天室\client\mainwindow.h
?????文件???????4822??2018-07-06?14:54??基于qt的聊天室軟件\聊天室\client\mainwindow.ui
?????文件????????176??2018-07-05?19:59??基于qt的聊天室軟件\聊天室\server\main.cpp
?????文件???????4574??2018-07-06?15:41??基于qt的聊天室軟件\聊天室\server\mainwindow.cpp
?????文件????????720??2018-07-06?15:41??基于qt的聊天室軟件\聊天室\server\mainwindow.h
?????文件???????2049??2018-07-05?22:12??基于qt的聊天室軟件\聊天室\server\mainwindow.ui
?????文件????????378??2018-07-05?20:21??基于qt的聊天室軟件\聊天室\server\server.pro
?????文件??????17895??2018-07-22?19:29??基于qt的聊天室軟件\聊天室\server\server.pro.user
?????文件??????17871??2018-07-22?19:22??基于qt的聊天室軟件\聊天室\server\server.pro.user.4a4ebfc
?????目錄??????????0??2019-06-13?09:14??基于qt的聊天室軟件\聊天室\build-client-Desktop_Qt_5_0_2_GCC_32bit-Debug
............此處省略8個文件信息
- 上一篇:arm的s3c2410的游戲代碼
- 下一篇:bch127編碼
評論
共有 條評論