/****************************************************************************
** Meta object code from reading C++ file 'qthttpdownloadcontrol.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../qthttpdownloadcontrol.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qthttpdownloadcontrol.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.6. 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_DownloadControl[] = {
// content:
6, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
// signals: signature, parameters, type, tag, flags
17, 16, 16, 16, 0x05,
// slots: signature, parameters, type, tag, flags
40, 16, 16, 16, 0x08,
0 // eod
};
static const char qt_meta_stringdata_DownloadControl[] = {
"DownloadControl\0\0FileDownloadFinished()\0"
"SubPartFinished()\0"
};
void DownloadControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
Q_ASSERT(staticMetaObject.cast(_o));
DownloadControl *_t = static_cast<DownloadControl *>(_o);
switch (_id) {
case 0: _t->FileDownloadFinished(); break;
case 1: _t->SubPartFinished(); break;
default: ;
}
}
Q_UNUSED(_a);
}
const QMetaObjectExtraData DownloadControl::staticMetaObjectExtraData = {
0, qt_static_metacall
};
const QMetaObject DownloadControl::staticMetaObject = {
{ &QObject::staticMetaObject, qt_meta_stringdata_DownloadControl,
qt_meta_data_DownloadControl, &staticMetaObjectExtraData }
};
#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &DownloadControl::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION
const QMetaObject *DownloadControl::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}
void *DownloadControl::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_DownloadControl))
return static_cast<void*>(const_cast< DownloadControl*>(this));
return QObject::qt_metacast(_clname);
}
int DownloadControl::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 < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
}
return _id;
}
// SIGNAL 0
void DownloadControl::FileDownloadFinished()
{
QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
没有合适的资源?快使用搜索试试~ 我知道了~
通过QT QNetworkAccessManager类实现HTTP下载文件的小工具
共9个文件
cpp:5个
h:2个
user:1个
4星 · 超过85%的资源 需积分: 17 157 下载量 99 浏览量
2015-01-23
17:33:21
上传
评论 4
收藏 8KB RAR 举报
温馨提示
通过QT QNetworkAccessManager 实现HTTP下载文件的小例子,仅供初学者参考。通过vs搭建QT4.8.6环境下编译且正常运行的小例子
资源推荐
资源详情
资源评论
收起资源包目录
qhttp.rar (9个子文件)
qthttpdownloadcontrol.h 737B
eeea.vcproj 9KB
Resources
qthttpdownload.cpp 1KB
qthttpdownload.h 798B
main.cpp 504B
GeneratedFiles
Release
Debug
moc_qthttpdownloadcontrol.cpp 3KB
moc_qthttpdownload.cpp 3KB
eeea.vcproj.YINGGE.Administrator.user 1KB
qthttpdownloadcontrol.cpp 2KB
共 9 条
- 1
资源评论
- 六月溪风2016-09-06很不错 正好弄这一块 谢了
- Clark_Hu2016-03-22很不错的demo,对我的帮助挺大。
- dingxiaofu2016-04-02一般,但还是感谢你的分享!
cr4315
- 粉丝: 8
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功