/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../ChatServer/MainWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MainWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.0. 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[8];
char stringdata0[95];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 9), // "newClient"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 8), // "readData"
QT_MOC_LITERAL(4, 31, 7), // "tcpInit"
QT_MOC_LITERAL(5, 39, 13), // "onSendMessage"
QT_MOC_LITERAL(6, 53, 20), // "on_btnListen_clicked"
QT_MOC_LITERAL(7, 74, 20) // "on_btnSubmit_clicked"
},
"MainWindow\0newClient\0\0readData\0tcpInit\0"
"onSendMessage\0on_btnListen_clicked\0"
"on_btnSubmit_clicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
6, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 44, 2, 0x08 /* Private */,
3, 0, 45, 2, 0x08 /* Private */,
4, 0, 46, 2, 0x08 /* Private */,
5, 1, 47, 2, 0x08 /* Private */,
6, 0, 50, 2, 0x08 /* Private */,
7, 0, 51, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 2,
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<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->newClient(); break;
case 1: _t->readData(); break;
case 2: _t->tcpInit(); break;
case 3: _t->onSendMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->on_btnListen_clicked(); break;
case 5: _t->on_btnSubmit_clicked(); break;
default: ;
}
}
}
const QMetaObject MainWindow::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *MainWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *MainWindow::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(const_cast< MainWindow*>(this));
return QWidget::qt_metacast(_clname);
}
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 6)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 6)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 6;
}
return _id;
}
QT_END_MOC_NAMESPACE
没有合适的资源?快使用搜索试试~ 我知道了~
QT tcp 最简单聊天室实现
共132个文件
dll:52个
qm:30个
o:12个
需积分: 42 26 下载量 90 浏览量
2018-06-20
13:15:19
上传
评论 1
收藏 27.62MB RAR 举报
温馨提示
对于QT中QTcpServer和QTcpSocket的应用,最简单化的逻辑代码设计,附带打包程序,总代码少的批爆,适合初学和参考手册用。
资源推荐
资源详情
资源评论
收起资源包目录
QT tcp 最简单聊天室实现 (132个子文件)
moc_MainWindow.cpp 4KB
moc_MainWindow.cpp 4KB
moc_MainWindow.cpp 4KB
moc_MainWindow.cpp 4KB
MainWindow.cpp 2KB
MainWindow.cpp 2KB
main.cpp 183B
main.cpp 183B
Makefile.Debug 37KB
Makefile.Debug 35KB
Makefile.Debug 35KB
Makefile.Debug 34KB
opengl32sw.dll 14.52MB
opengl32sw.dll 14.52MB
Qt5Widgets.dll 6.19MB
Qt5Widgets.dll 6.19MB
Qt5Gui.dll 5.38MB
Qt5Gui.dll 5.38MB
Qt5Core.dll 5.11MB
Qt5Core.dll 5.11MB
libGLESV2.dll 2.19MB
libGLESV2.dll 2.19MB
D3Dcompiler_43.dll 2.01MB
D3Dcompiler_43.dll 2.01MB
Qt5Network.dll 1.53MB
Qt5Network.dll 1.53MB
qwindows.dll 1.41MB
qwindows.dll 1.41MB
libstdc++-6.dll 1003KB
libstdc++-6.dll 1003KB
qtiff.dll 485KB
qtiff.dll 485KB
qwebp.dll 358KB
qwebp.dll 358KB
Qt5Svg.dll 350KB
Qt5Svg.dll 350KB
qjpeg.dll 246KB
qjpeg.dll 246KB
libgcc_s_dw2-1.dll 118KB
libgcc_s_dw2-1.dll 118KB
qgenericbearer.dll 83KB
qgenericbearer.dll 83KB
qnativewifibearer.dll 78KB
qnativewifibearer.dll 78KB
qdds.dll 58KB
qdds.dll 58KB
libwinpthread-1.dll 48KB
libwinpthread-1.dll 48KB
qicns.dll 46KB
qicns.dll 46KB
qsvgicon.dll 43KB
qsvgicon.dll 43KB
qico.dll 35KB
qico.dll 35KB
qgif.dll 33KB
qgif.dll 33KB
qsvg.dll 28KB
qsvg.dll 28KB
qwbmp.dll 27KB
qtga.dll 27KB
qwbmp.dll 27KB
qtga.dll 27KB
libEGL.dll 21KB
libEGL.dll 21KB
ChatClient.exe 1.2MB
ChatServer.exe 1.19MB
ChatClient.exe 34KB
ChatServer.exe 34KB
ChatServer.exe 34KB
ChatClient.exe 34KB
ui_MainWindow.h 4KB
ui_MainWindow.h 4KB
ui_MainWindow.h 4KB
ui_MainWindow.h 4KB
MainWindow.h 670B
MainWindow.h 594B
Makefile 21KB
Makefile 21KB
Makefile 21KB
Makefile 21KB
MainWindow.o 509KB
MainWindow.o 496KB
main.o 444KB
main.o 444KB
moc_MainWindow.o 292KB
moc_MainWindow.o 281KB
MainWindow.o 19KB
MainWindow.o 19KB
moc_MainWindow.o 10KB
moc_MainWindow.o 9KB
main.o 1KB
main.o 1KB
ChatServer.pro 391B
ChatClient.pro 391B
qt_ca.qm 170KB
qt_ca.qm 170KB
qt_de.qm 169KB
qt_de.qm 169KB
qt_fr.qm 162KB
qt_fr.qm 162KB
共 132 条
- 1
- 2
资源评论
QKUIGEGE
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功