/**************************************************************************** ** Meta object code from reading C++ file 'downloadfile.h' ** ** Created: Fri Jul 15 16:00:06 2016 ** by: The Qt Meta Object Compiler version 67 (Qt 5.0.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../../LiveChat/FeiTalk/common/downloadfile.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'downloadfile.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.0.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_IDownloadFile_t { QByteArrayData data[11]; char stringdata[153]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ offsetof(qt_meta_stringdata_IDownloadFile_t, stringdata) + ofs \ - idx * sizeof(QByteArrayData) \ ) static const qt_meta_stringdata_IDownloadFile_t qt_meta_stringdata_IDownloadFile = { { QT_MOC_LITERAL(0, 0, 13), QT_MOC_LITERAL(1, 14, 7), QT_MOC_LITERAL(2, 22, 0), QT_MOC_LITERAL(3, 23, 13), QT_MOC_LITERAL(4, 37, 17), QT_MOC_LITERAL(5, 55, 15), QT_MOC_LITERAL(6, 71, 13), QT_MOC_LITERAL(7, 85, 12), QT_MOC_LITERAL(8, 98, 11), QT_MOC_LITERAL(9, 110, 27), QT_MOC_LITERAL(10, 138, 13) }, "IDownloadFile\0writeok\0\0downloadError\0" "startDownloadFile\0downloadFileEnd\0" "httpReadyRead\0httpFinished\0errorReturn\0" "QNetworkReply::NetworkError\0startDownload\0" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_IDownloadFile[] = { // content: 7, // revision 0, // classname 0, 0, // classinfo 8, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 4, // signalCount // signals: name, argc, parameters, tag, flags 1, 1, 54, 2, 0x05, 3, 1, 57, 2, 0x05, 4, 0, 60, 2, 0x05, 5, 0, 61, 2, 0x05, // slots: name, argc, parameters, tag, flags 6, 0, 62, 2, 0x0a, 7, 0, 63, 2, 0x0a, 8, 1, 64, 2, 0x0a, 10, 0, 67, 2, 0x0a, // signals: parameters QMetaType::Void, QMetaType::Int, 2, QMetaType::Void, QMetaType::Int, 2, QMetaType::Void, QMetaType::Void, // slots: parameters QMetaType::Void, QMetaType::Void, QMetaType::Void, 0x80000000 | 9, 2, QMetaType::Void, 0 // eod }; void IDownloadFile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { IDownloadFile *_t = static_cast(_o); switch (_id) { case 0: _t->writeok((*reinterpret_cast< int(*)>(_a[1]))); break; case 1: _t->downloadError((*reinterpret_cast< int(*)>(_a[1]))); break; case 2: _t->startDownloadFile(); break; case 3: _t->downloadFileEnd(); break; case 4: _t->httpReadyRead(); break; case 5: _t->httpFinished(); break; case 6: _t->errorReturn((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; case 7: _t->startDownload(); break; default: ; } } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 6: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QNetworkReply::NetworkError >(); break; } break; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); void **func = reinterpret_cast(_a[1]); { typedef void (IDownloadFile::*_t)(int ); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDownloadFile::writeok)) { *result = 0; } } { typedef void (IDownloadFile::*_t)(int ); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDownloadFile::downloadError)) { *result = 1; } } { typedef void (IDownloadFile::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDownloadFile::startDownloadFile)) { *result = 2; } } { typedef void (IDownloadFile::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDownloadFile::downloadFileEnd)) { *result = 3; } } } } const QMetaObject IDownloadFile::staticMetaObject = { { &QObject::staticMetaObject, qt_meta_stringdata_IDownloadFile.data, qt_meta_data_IDownloadFile, qt_static_metacall, 0, 0} }; const QMetaObject *IDownloadFile::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *IDownloadFile::qt_metacast(const char *_clname) { if (!_clname) return 0; if (!strcmp(_clname, qt_meta_stringdata_IDownloadFile.stringdata)) return static_cast(const_cast< IDownloadFile*>(this)); return QObject::qt_metacast(_clname); } int IDownloadFile::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 < 8) qt_static_metacall(this, _c, _id, _a); _id -= 8; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 8) qt_static_metacall(this, _c, _id, _a); _id -= 8; } return _id; } // SIGNAL 0 void IDownloadFile::writeok(int _t1) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void IDownloadFile::downloadError(int _t1) { void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void IDownloadFile::startDownloadFile() { QMetaObject::activate(this, &staticMetaObject, 2, 0); } // SIGNAL 3 void IDownloadFile::downloadFileEnd() { QMetaObject::activate(this, &staticMetaObject, 3, 0); } QT_END_MOC_NAMESPACE