moc_downloadmanager.cpp
资源名称:browser.rar [点击查看]
上传用户:huahtool
上传日期:2015-12-10
资源大小:1089k
文件大小:8k
源码类别:
浏览器
开发平台:
Visual C++
- /****************************************************************************
- ** Meta object code from reading C++ file 'downloadmanager.h'
- **
- ** Created: Tue Nov 18 19:00:11 2008
- ** by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
- **
- ** 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 != 59
- #error "This file was generated using the moc from 4.4.3. 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_DownloadItem[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 9, 10, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- // signals: signature, parameters, type, tag, flags
- 14, 13, 13, 13, 0x05,
- // slots: signature, parameters, type, tag, flags
- 30, 13, 13, 13, 0x08,
- 37, 13, 13, 13, 0x08,
- 48, 13, 13, 13, 0x08,
- 55, 13, 13, 13, 0x08,
- 80, 75, 13, 13, 0x08,
- 140, 115, 13, 13, 0x08,
- 172, 13, 13, 13, 0x08,
- 190, 13, 13, 13, 0x08,
- 0 // eod
- };
- static const char qt_meta_stringdata_DownloadItem[] = {
- "DownloadItem statusChanged() stop() "
- "tryAgain() open() downloadReadyRead() "
- "code error(QNetworkReply::NetworkError) "
- "bytesReceived,bytesTotal "
- "downloadProgress(qint64,qint64) "
- "metaDataChanged() finished() "
- };
- const QMetaObject DownloadItem::staticMetaObject = {
- { &QWidget::staticMetaObject, qt_meta_stringdata_DownloadItem,
- qt_meta_data_DownloadItem, 0 }
- };
- const QMetaObject *DownloadItem::metaObject() const
- {
- return &staticMetaObject;
- }
- void *DownloadItem::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_DownloadItem))
- return static_cast<void*>(const_cast< DownloadItem*>(this));
- if (!strcmp(_clname, "Ui_DownloadItem"))
- return static_cast< Ui_DownloadItem*>(const_cast< DownloadItem*>(this));
- return QWidget::qt_metacast(_clname);
- }
- int DownloadItem::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) {
- switch (_id) {
- case 0: statusChanged(); break;
- case 1: stop(); break;
- case 2: tryAgain(); break;
- case 3: open(); break;
- case 4: downloadReadyRead(); break;
- case 5: error((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
- case 6: downloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
- case 7: metaDataChanged(); break;
- case 8: finished(); break;
- }
- _id -= 9;
- }
- return _id;
- }
- // SIGNAL 0
- void DownloadItem::statusChanged()
- {
- QMetaObject::activate(this, &staticMetaObject, 0, 0);
- }
- static const uint qt_meta_data_DownloadManager[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 9, 10, // methods
- 1, 55, // properties
- 1, 58, // enums/sets
- // slots: signature, parameters, type, tag, flags
- 41, 17, 16, 16, 0x0a,
- 80, 72, 16, 16, 0x2a,
- 126, 106, 16, 16, 0x0a,
- 150, 146, 16, 16, 0x2a,
- 187, 165, 16, 16, 0x0a,
- 239, 233, 16, 16, 0x2a,
- 280, 16, 16, 16, 0x0a,
- 290, 16, 16, 16, 0x08,
- 297, 16, 16, 16, 0x08,
- // properties: name, type, flags
- 322, 309, 0x0009510b,
- // enums: name, flags, count, data
- 309, 0x0, 3, 62,
- // enum data: key, value
- 335, uint(DownloadManager::Never),
- 341, uint(DownloadManager::Exit),
- 346, uint(DownloadManager::SuccessFullDownload),
- 0 // eod
- };
- static const char qt_meta_stringdata_DownloadManager[] = {
- "DownloadManager request,requestFileName "
- "download(QNetworkRequest,bool) request "
- "download(QNetworkRequest) url,requestFileName "
- "download(QUrl,bool) url download(QUrl) "
- "reply,requestFileName "
- "handleUnsupportedContent(QNetworkReply*,bool) "
- "reply handleUnsupportedContent(QNetworkReply*) "
- "cleanup() save() updateRow() RemovePolicy "
- "removePolicy Never Exit SuccessFullDownload "
- };
- const QMetaObject DownloadManager::staticMetaObject = {
- { &QDialog::staticMetaObject, qt_meta_stringdata_DownloadManager,
- qt_meta_data_DownloadManager, 0 }
- };
- const QMetaObject *DownloadManager::metaObject() const
- {
- return &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));
- if (!strcmp(_clname, "Ui_DownloadDialog"))
- return static_cast< Ui_DownloadDialog*>(const_cast< DownloadManager*>(this));
- return QDialog::qt_metacast(_clname);
- }
- int DownloadManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QDialog::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- if (_c == QMetaObject::InvokeMetaMethod) {
- switch (_id) {
- case 0: download((*reinterpret_cast< const QNetworkRequest(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
- case 1: download((*reinterpret_cast< const QNetworkRequest(*)>(_a[1]))); break;
- case 2: download((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
- case 3: download((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
- case 4: handleUnsupportedContent((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
- case 5: handleUnsupportedContent((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
- case 6: cleanup(); break;
- case 7: save(); break;
- case 8: updateRow(); break;
- }
- _id -= 9;
- }
- #ifndef QT_NO_PROPERTIES
- else if (_c == QMetaObject::ReadProperty) {
- void *_v = _a[0];
- switch (_id) {
- case 0: *reinterpret_cast< RemovePolicy*>(_v) = removePolicy(); break;
- }
- _id -= 1;
- } else if (_c == QMetaObject::WriteProperty) {
- void *_v = _a[0];
- switch (_id) {
- case 0: setRemovePolicy(*reinterpret_cast< RemovePolicy*>(_v)); break;
- }
- _id -= 1;
- } else if (_c == QMetaObject::ResetProperty) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyDesignable) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyScriptable) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyStored) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyEditable) {
- _id -= 1;
- } else if (_c == QMetaObject::QueryPropertyUser) {
- _id -= 1;
- }
- #endif // QT_NO_PROPERTIES
- return _id;
- }
- static const uint qt_meta_data_DownloadModel[] = {
- // content:
- 1, // revision
- 0, // classname
- 0, 0, // classinfo
- 0, 0, // methods
- 0, 0, // properties
- 0, 0, // enums/sets
- 0 // eod
- };
- static const char qt_meta_stringdata_DownloadModel[] = {
- "DownloadModel "
- };
- const QMetaObject DownloadModel::staticMetaObject = {
- { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_DownloadModel,
- qt_meta_data_DownloadModel, 0 }
- };
- const QMetaObject *DownloadModel::metaObject() const
- {
- return &staticMetaObject;
- }
- void *DownloadModel::qt_metacast(const char *_clname)
- {
- if (!_clname) return 0;
- if (!strcmp(_clname, qt_meta_stringdata_DownloadModel))
- return static_cast<void*>(const_cast< DownloadModel*>(this));
- return QAbstractListModel::qt_metacast(_clname);
- }
- int DownloadModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
- {
- _id = QAbstractListModel::qt_metacall(_c, _id, _a);
- if (_id < 0)
- return _id;
- return _id;
- }
- QT_END_MOC_NAMESPACE