/**************************************************************************** ** Meta object code from reading C++ file 'Preferences.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.17) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "control/Preferences.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'Preferences.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.17. 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 QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_Preferences_t { QByteArrayData data[19]; char stringdata0[350]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_Preferences_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_Preferences_t qt_meta_stringdata_Preferences = { { QT_MOC_LITERAL(0, 0, 11), // "Preferences" QT_MOC_LITERAL(1, 12, 12), // "stateChanged" QT_MOC_LITERAL(2, 25, 0), // "" QT_MOC_LITERAL(3, 26, 7), // "updated" QT_MOC_LITERAL(4, 34, 11), // "lastVersion" QT_MOC_LITERAL(5, 46, 11), // "setFullName" QT_MOC_LITERAL(6, 58, 12), // "newFirstName" QT_MOC_LITERAL(7, 71, 11), // "newLastName" QT_MOC_LITERAL(8, 83, 18), // "NotificationsTypes" QT_MOC_LITERAL(9, 102, 28), // "GENERAL_SWITCH_NOTIFICATIONS" QT_MOC_LITERAL(10, 131, 26), // "NEW_FOLDERS_SHARED_WITH_ME" QT_MOC_LITERAL(11, 158, 39), // "NODES_SHARED_WITH_ME_CREATED_..." QT_MOC_LITERAL(12, 198, 30), // "FOLDERS_SHARED_WITH_ME_DELETED" QT_MOC_LITERAL(13, 229, 20), // "NEW_CONTACT_REQUESTS" QT_MOC_LITERAL(14, 250, 32), // "PENDING_CONTACT_REQUEST_REMINDER" QT_MOC_LITERAL(15, 283, 19), // "CONTACT_ESTABLISHED" QT_MOC_LITERAL(16, 303, 13), // "INFO_MESSAGES" QT_MOC_LITERAL(17, 317, 27), // "COMPLETED_UPLOADS_DOWNLOADS" QT_MOC_LITERAL(18, 345, 4) // "LAST" }, "Preferences\0stateChanged\0\0updated\0" "lastVersion\0setFullName\0newFirstName\0" "newLastName\0NotificationsTypes\0" "GENERAL_SWITCH_NOTIFICATIONS\0" "NEW_FOLDERS_SHARED_WITH_ME\0" "NODES_SHARED_WITH_ME_CREATED_OR_REMOVED\0" "FOLDERS_SHARED_WITH_ME_DELETED\0" "NEW_CONTACT_REQUESTS\0" "PENDING_CONTACT_REQUEST_REMINDER\0" "CONTACT_ESTABLISHED\0INFO_MESSAGES\0" "COMPLETED_UPLOADS_DOWNLOADS\0LAST" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_Preferences[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 3, 14, // methods 0, 0, // properties 1, 38, // enums/sets 0, 0, // constructors 0, // flags 2, // signalCount // signals: name, argc, parameters, tag, flags 1, 0, 29, 2, 0x06 /* Public */, 3, 1, 30, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 5, 2, 33, 2, 0x08 /* Private */, // signals: parameters QMetaType::Void, QMetaType::Void, QMetaType::Int, 4, // slots: parameters QMetaType::Void, QMetaType::QString, QMetaType::QString, 6, 7, // enums: name, alias, flags, count, data 8, 8, 0x2, 10, 43, // enum data: key, value 9, uint(Preferences::NotificationsTypes::GENERAL_SWITCH_NOTIFICATIONS), 10, uint(Preferences::NotificationsTypes::NEW_FOLDERS_SHARED_WITH_ME), 11, uint(Preferences::NotificationsTypes::NODES_SHARED_WITH_ME_CREATED_OR_REMOVED), 12, uint(Preferences::NotificationsTypes::FOLDERS_SHARED_WITH_ME_DELETED), 13, uint(Preferences::NotificationsTypes::NEW_CONTACT_REQUESTS), 14, uint(Preferences::NotificationsTypes::PENDING_CONTACT_REQUEST_REMINDER), 15, uint(Preferences::NotificationsTypes::CONTACT_ESTABLISHED), 16, uint(Preferences::NotificationsTypes::INFO_MESSAGES), 17, uint(Preferences::NotificationsTypes::COMPLETED_UPLOADS_DOWNLOADS), 18, uint(Preferences::NotificationsTypes::LAST), 0 // eod }; void Preferences::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); (void)_t; switch (_id) { case 0: _t->stateChanged(); break; case 1: _t->updated((*reinterpret_cast< int(*)>(_a[1]))); break; case 2: _t->setFullName((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (Preferences::*)(); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Preferences::stateChanged)) { *result = 0; return; } } { using _t = void (Preferences::*)(int ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Preferences::updated)) { *result = 1; return; } } } } QT_INIT_METAOBJECT const QMetaObject Preferences::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_Preferences.data, qt_meta_data_Preferences, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *Preferences::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *Preferences::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_Preferences.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int Preferences::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 < 3) qt_static_metacall(this, _c, _id, _a); _id -= 3; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 3) *reinterpret_cast(_a[0]) = -1; _id -= 3; } return _id; } // SIGNAL 0 void Preferences::stateChanged() { QMetaObject::activate(this, &staticMetaObject, 0, nullptr); } // SIGNAL 1 void Preferences::updated(int _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } QT_WARNING_POP QT_END_MOC_NAMESPACE