/**************************************************************************** ** Meta object code from reading C++ file 'loader.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../lib/src/loader.h" #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'loader.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.5.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_Fancontrol__Loader_t { QByteArrayData data[28]; char stringdata0[358]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_Fancontrol__Loader_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_Fancontrol__Loader_t qt_meta_stringdata_Fancontrol__Loader = { { QT_MOC_LITERAL(0, 0, 18), // "Fancontrol::Loader" QT_MOC_LITERAL(1, 19, 16), // "configUrlChanged" QT_MOC_LITERAL(2, 36, 0), // "" QT_MOC_LITERAL(3, 37, 17), // "configFileChanged" QT_MOC_LITERAL(4, 55, 13), // "hwmonsChanged" QT_MOC_LITERAL(5, 69, 15), // "intervalChanged" QT_MOC_LITERAL(6, 85, 12), // "errorChanged" QT_MOC_LITERAL(7, 98, 19), // "sensorsUpdateNeeded" QT_MOC_LITERAL(8, 118, 17), // "allPwmFansChanged" QT_MOC_LITERAL(9, 136, 15), // "allTempsChanged" QT_MOC_LITERAL(10, 152, 13), // "updateSensors" QT_MOC_LITERAL(11, 166, 16), // "createConfigFile" QT_MOC_LITERAL(12, 183, 21), // "emitAllPwmFansChanged" QT_MOC_LITERAL(13, 205, 19), // "emitAllTempsChanged" QT_MOC_LITERAL(14, 225, 8), // "setError" QT_MOC_LITERAL(15, 234, 5), // "error" QT_MOC_LITERAL(16, 240, 11), // "parseHwmons" QT_MOC_LITERAL(17, 252, 4), // "load" QT_MOC_LITERAL(18, 257, 4), // "save" QT_MOC_LITERAL(19, 262, 8), // "testFans" QT_MOC_LITERAL(20, 271, 13), // "detectSensors" QT_MOC_LITERAL(21, 285, 9), // "configUrl" QT_MOC_LITERAL(22, 295, 10), // "configFile" QT_MOC_LITERAL(23, 306, 6), // "hwmons" QT_MOC_LITERAL(24, 313, 15), // "QList" QT_MOC_LITERAL(25, 329, 10), // "allPwmFans" QT_MOC_LITERAL(26, 340, 8), // "allTemps" QT_MOC_LITERAL(27, 349, 8) // "interval" }, "Fancontrol::Loader\0configUrlChanged\0" "\0configFileChanged\0hwmonsChanged\0" "intervalChanged\0errorChanged\0" "sensorsUpdateNeeded\0allPwmFansChanged\0" "allTempsChanged\0updateSensors\0" "createConfigFile\0emitAllPwmFansChanged\0" "emitAllTempsChanged\0setError\0error\0" "parseHwmons\0load\0save\0testFans\0" "detectSensors\0configUrl\0configFile\0" "hwmons\0QList\0allPwmFans\0" "allTemps\0interval" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_Fancontrol__Loader[] = { // content: 7, // revision 0, // classname 0, 0, // classinfo 20, 14, // methods 7, 140, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 8, // signalCount // signals: name, argc, parameters, tag, flags 1, 0, 114, 2, 0x06 /* Public */, 3, 0, 115, 2, 0x06 /* Public */, 4, 0, 116, 2, 0x06 /* Public */, 5, 0, 117, 2, 0x06 /* Public */, 6, 0, 118, 2, 0x06 /* Public */, 7, 0, 119, 2, 0x06 /* Public */, 8, 0, 120, 2, 0x06 /* Public */, 9, 0, 121, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 10, 0, 122, 2, 0x0a /* Public */, 11, 0, 123, 2, 0x09 /* Protected */, 12, 0, 124, 2, 0x09 /* Protected */, 13, 0, 125, 2, 0x09 /* Protected */, 14, 1, 126, 2, 0x09 /* Protected */, // methods: name, argc, parameters, tag, flags 16, 0, 129, 2, 0x02 /* Public */, 17, 1, 130, 2, 0x02 /* Public */, 17, 0, 133, 2, 0x22 /* Public | MethodCloned */, 18, 1, 134, 2, 0x02 /* Public */, 18, 0, 137, 2, 0x22 /* Public | MethodCloned */, 19, 0, 138, 2, 0x02 /* Public */, 20, 0, 139, 2, 0x02 /* Public */, // signals: parameters QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, // slots: parameters QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::QString, 15, // methods: parameters QMetaType::Void, QMetaType::Bool, QMetaType::QUrl, 2, QMetaType::Bool, QMetaType::Bool, QMetaType::QUrl, 2, QMetaType::Bool, QMetaType::Void, QMetaType::Void, // properties: name, type, flags 21, QMetaType::QUrl, 0x00495001, 22, QMetaType::QString, 0x00495001, 23, 0x80000000 | 24, 0x00495009, 25, 0x80000000 | 24, 0x00495009, 26, 0x80000000 | 24, 0x00495009, 27, QMetaType::Int, 0x00495103, 15, QMetaType::QString, 0x00495001, // properties: notify_signal_id 0, 1, 2, 6, 7, 3, 4, 0 // eod }; void Fancontrol::Loader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { Loader *_t = static_cast(_o); Q_UNUSED(_t) switch (_id) { case 0: _t->configUrlChanged(); break; case 1: _t->configFileChanged(); break; case 2: _t->hwmonsChanged(); break; case 3: _t->intervalChanged(); break; case 4: _t->errorChanged(); break; case 5: _t->sensorsUpdateNeeded(); break; case 6: _t->allPwmFansChanged(); break; case 7: _t->allTempsChanged(); break; case 8: _t->updateSensors(); break; case 9: _t->createConfigFile(); break; case 10: _t->emitAllPwmFansChanged(); break; case 11: _t->emitAllTempsChanged(); break; case 12: _t->setError((*reinterpret_cast< const QString(*)>(_a[1]))); break; case 13: _t->parseHwmons(); break; case 14: { bool _r = _t->load((*reinterpret_cast< const QUrl(*)>(_a[1]))); if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; case 15: { bool _r = _t->load(); if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; case 16: { bool _r = _t->save((*reinterpret_cast< const QUrl(*)>(_a[1]))); if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; case 17: { bool _r = _t->save(); if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; case 18: _t->testFans(); break; case 19: _t->detectSensors(); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); void **func = reinterpret_cast(_a[1]); { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::configUrlChanged)) { *result = 0; } } { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::configFileChanged)) { *result = 1; } } { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::hwmonsChanged)) { *result = 2; } } { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::intervalChanged)) { *result = 3; } } { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::errorChanged)) { *result = 4; } } { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::sensorsUpdateNeeded)) { *result = 5; } } { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::allPwmFansChanged)) { *result = 6; } } { typedef void (Loader::*_t)(); if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Loader::allTempsChanged)) { *result = 7; } } } else if (_c == QMetaObject::RegisterPropertyMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 4: case 3: case 2: *reinterpret_cast(_a[0]) = qRegisterMetaType< QList >(); break; } } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { Loader *_t = static_cast(_o); Q_UNUSED(_t) void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QUrl*>(_v) = _t->configUrl(); break; case 1: *reinterpret_cast< QString*>(_v) = _t->configFile(); break; case 2: *reinterpret_cast< QList*>(_v) = _t->hwmons(); break; case 3: *reinterpret_cast< QList*>(_v) = _t->allPwmFans(); break; case 4: *reinterpret_cast< QList*>(_v) = _t->allTemps(); break; case 5: *reinterpret_cast< int*>(_v) = _t->interval(); break; case 6: *reinterpret_cast< QString*>(_v) = _t->error(); break; default: break; } } else if (_c == QMetaObject::WriteProperty) { Loader *_t = static_cast(_o); Q_UNUSED(_t) void *_v = _a[0]; switch (_id) { case 5: _t->setInterval(*reinterpret_cast< int*>(_v)); break; default: break; } } else if (_c == QMetaObject::ResetProperty) { } #endif // QT_NO_PROPERTIES } const QMetaObject Fancontrol::Loader::staticMetaObject = { { &QObject::staticMetaObject, qt_meta_stringdata_Fancontrol__Loader.data, qt_meta_data_Fancontrol__Loader, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} }; const QMetaObject *Fancontrol::Loader::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *Fancontrol::Loader::qt_metacast(const char *_clname) { if (!_clname) return Q_NULLPTR; if (!strcmp(_clname, qt_meta_stringdata_Fancontrol__Loader.stringdata0)) return static_cast(const_cast< Loader*>(this)); return QObject::qt_metacast(_clname); } int Fancontrol::Loader::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 < 20) qt_static_metacall(this, _c, _id, _a); _id -= 20; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 20) *reinterpret_cast(_a[0]) = -1; _id -= 20; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { qt_static_metacall(this, _c, _id, _a); _id -= 7; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 7; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 7; } #endif // QT_NO_PROPERTIES return _id; } // SIGNAL 0 void Fancontrol::Loader::configUrlChanged() { QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR); } // SIGNAL 1 void Fancontrol::Loader::configFileChanged() { QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR); } // SIGNAL 2 void Fancontrol::Loader::hwmonsChanged() { QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR); } // SIGNAL 3 void Fancontrol::Loader::intervalChanged() { QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR); } // SIGNAL 4 void Fancontrol::Loader::errorChanged() { QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR); } // SIGNAL 5 void Fancontrol::Loader::sensorsUpdateNeeded() { QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR); } // SIGNAL 6 void Fancontrol::Loader::allPwmFansChanged() { QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR); } // SIGNAL 7 void Fancontrol::Loader::allTempsChanged() { QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR); } QT_END_MOC_NAMESPACE