moc_downloadmanager.cpp 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'downloadmanager.h'
  3. **
  4. ** Created: Wed 4. Jan 13:19:57 2012
  5. ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.4)
  6. **
  7. ** WARNING! All changes made in this file will be lost!
  8. *****************************************************************************/
  9. #include "../downloadmanager.h"
  10. #if !defined(Q_MOC_OUTPUT_REVISION)
  11. #error "The header file 'downloadmanager.h' doesn't include <QObject>."
  12. #elif Q_MOC_OUTPUT_REVISION != 62
  13. #error "This file was generated using the moc from 4.7.4. It"
  14. #error "cannot be used with the include files from this version of Qt."
  15. #error "(The moc has changed too much.)"
  16. #endif
  17. QT_BEGIN_MOC_NAMESPACE
  18. static const uint qt_meta_data_DownloadManager[] = {
  19. // content:
  20. 5, // revision
  21. 0, // classname
  22. 0, 0, // classinfo
  23. 3, 14, // methods
  24. 0, 0, // properties
  25. 0, 0, // enums/sets
  26. 0, 0, // constructors
  27. 0, // flags
  28. 1, // signalCount
  29. // signals: signature, parameters, type, tag, flags
  30. 17, 16, 16, 16, 0x05,
  31. // slots: signature, parameters, type, tag, flags
  32. 38, 32, 16, 16, 0x0a,
  33. // methods: signature, parameters, type, tag, flags
  34. 100, 71, 16, 16, 0x02,
  35. 0 // eod
  36. };
  37. static const char qt_meta_stringdata_DownloadManager[] = {
  38. "DownloadManager\0\0downloadDone()\0reply\0"
  39. "downloadFinished(QNetworkReply*)\0"
  40. "url,accessToken,name,doctype\0"
  41. "doDownload(QUrl,QString,QString,QString)\0"
  42. };
  43. const QMetaObject DownloadManager::staticMetaObject = {
  44. { &QObject::staticMetaObject, qt_meta_stringdata_DownloadManager,
  45. qt_meta_data_DownloadManager, 0 }
  46. };
  47. #ifdef Q_NO_DATA_RELOCATION
  48. const QMetaObject &DownloadManager::getStaticMetaObject() { return staticMetaObject; }
  49. #endif //Q_NO_DATA_RELOCATION
  50. const QMetaObject *DownloadManager::metaObject() const
  51. {
  52. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  53. }
  54. void *DownloadManager::qt_metacast(const char *_clname)
  55. {
  56. if (!_clname) return 0;
  57. if (!strcmp(_clname, qt_meta_stringdata_DownloadManager))
  58. return static_cast<void*>(const_cast< DownloadManager*>(this));
  59. return QObject::qt_metacast(_clname);
  60. }
  61. int DownloadManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  62. {
  63. _id = QObject::qt_metacall(_c, _id, _a);
  64. if (_id < 0)
  65. return _id;
  66. if (_c == QMetaObject::InvokeMetaMethod) {
  67. switch (_id) {
  68. case 0: downloadDone(); break;
  69. case 1: downloadFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
  70. case 2: doDownload((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
  71. default: ;
  72. }
  73. _id -= 3;
  74. }
  75. return _id;
  76. }
  77. // SIGNAL 0
  78. void DownloadManager::downloadDone()
  79. {
  80. QMetaObject::activate(this, &staticMetaObject, 0, 0);
  81. }
  82. QT_END_MOC_NAMESPACE