/****************************************************************************
** Meta object code from reading C++ file 'downloadmanager.h'
**
** Created: Tue Mar 26 08:58:58 2013
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../downloadmanager.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'downloadmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.1. 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
static const uint qt_meta_data_DownLoadManager[] = {
// content:
6, // revision
0, // classname
0, 0, // classinfo
6, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
3, // signalCount
// signals: signature, parameters, type, tag, flags
21, 17, 16, 16, 0x05,
43, 16, 16, 16, 0x05,
66, 63, 16, 16, 0x05,
// slots: signature, parameters, type, tag, flags
102, 17, 16, 16, 0x0a,
118, 16, 16, 16, 0x0a,
137, 63, 16, 16, 0x0a,
0 // eod
};
static const char qt_meta_stringdata_DownLoadManager[] = {
"DownLoadManager\0\0url\0signal_download(QUrl)\0"
"singal_finish(QUrl)\0,,\0"
"signal_progress(qint64,qint64,QUrl)\0"
"startLoad(QUrl)\0url_finished(QUrl)\0"
"url_progress(qint64,qint64,QUrl)\0"
};
void DownLoadManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
Q_ASSERT(staticMetaObject.cast(_o));
DownLoadManager *_t = static_cast<DownLoadManager *>(_o);
switch (_id) {
case 0: _t->signal_download((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
case 1: _t->singal_finish((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
case 2: _t->signal_progress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< QUrl(*)>(_a[3]))); break;
case 3: _t->startLoad((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
case 4: _t->url_finished((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
case 5: _t->url_progress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< QUrl(*)>(_a[3]))); break;
default: ;
}
}
}
const QMetaObjectExtraData DownLoadManager::staticMetaObjectExtraData = {
0, qt_static_metacall
};
const QMetaObject DownLoadManager::staticMetaObject = {
{ &QObject::staticMetaObject, qt_meta_stringdata_DownLoadManager,
qt_meta_data_DownLoadManager, &staticMetaObjectExtraData }
};
#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &DownLoadManager::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION
const QMetaObject *DownLoadManager::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}
void *DownLoadManager::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_DownLoadManager))
return static_cast<void*>(const_cast< DownLoadManager*>(this));
return QObject::qt_metacast(_clname);
}
int DownLoadManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::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;
}
return _id;
}
// SIGNAL 0
void DownLoadManager::signal_download(QUrl _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void DownLoadManager::singal_finish(QUrl _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void DownLoadManager::signal_progress(qint64 _t1, qint64 _t2, QUrl _t3)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_END_MOC_NAMESPACE
没有合适的资源?快使用搜索试试~ 我知道了~
QT多线程Http源码
共56个文件
tlog:13个
cpp:10个
obj:10个
5星 · 超过95%的资源 需积分: 50 140 下载量 47 浏览量
2013-04-25
19:46:02
上传
评论 2
收藏 25.66MB RAR 举报
温馨提示
实现了多线程下载,可以同时下载不同地址的多个资源。
资源推荐
资源详情
资源评论
收起资源包目录
Http.rar (56个子文件)
Http
Http
Http.sln 879B
Http.suo 28KB
ipch
http-e9804f76
http-95d5208c.ipch 47.5MB
Http
http.cpp 2KB
Debug
cl.command.1.tlog 12KB
Http.log 3KB
custombuild.read.1.tlog 986B
Http.exe.intermediate.manifest 381B
CL.read.1.tlog 228KB
Http.lastbuildstate 51B
workthread.obj 52KB
mt.read.1.tlog 566B
moc_downloadmanager.obj 75KB
http.obj 122KB
custombuild.command.1.tlog 5KB
link.read.2.tlog 2B
link.read.1.tlog 5KB
link.write.1.tlog 1KB
CL.write.1.tlog 6KB
moc_workthread.obj 39KB
vc100.pdb 868KB
main.obj 66KB
link.command.1.tlog 3KB
moc_download.obj 73KB
mt.write.1.tlog 206B
downloadmanager.obj 74KB
Http.Build.CppClean.log 2KB
download.obj 90KB
moc_http.obj 72KB
qrc_http.obj 17KB
mt.command.1.tlog 378B
custombuild.write.1.tlog 1KB
Resources
http.qrc 64B
downloadmanager.cpp 890B
workthread.cpp 946B
http.ui 4KB
download.h 1012B
download.cpp 3KB
Http.vcxproj.filters 4KB
QQ2012.exe 14.12MB
GeneratedFiles
Debug
moc_http.cpp 3KB
moc_downloadmanager.cpp 5KB
moc_download.cpp 4KB
moc_workthread.cpp 3KB
qrc_http.cpp 703B
Release
ui_http.h 4KB
main.cpp 163B
workthread.h 359B
Http.vcxproj 17KB
downloadmanager.h 527B
http.h 691B
Http.vcxproj.user 527B
Http.pdb 1.31MB
Http.exe 82KB
Http.ilk 1016KB
Http.sdf 18.77MB
共 56 条
- 1
初级码工
- 粉丝: 1
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页