238 lines
9.1 KiB
C++
238 lines
9.1 KiB
C++
/****************************************************************************
|
|||
|
|
** Meta object code from reading C++ file 'categorytreewidget.h'
|
||
|
|
**
|
||
|
|
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
|
||
|
|
**
|
||
|
|
** WARNING! All changes made in this file will be lost!
|
||
|
|
*****************************************************************************/
|
||
|
|
|
||
|
|
#include "../../../src/ui/categorytreewidget.h"
|
||
|
|
#include <QtCore/qmetatype.h>
|
||
|
|
#include <QtCore/QList>
|
||
|
|
|
||
|
|
#include <QtCore/qtmochelpers.h>
|
||
|
|
|
||
|
|
#include <memory>
|
||
|
|
|
||
|
|
|
||
|
|
#include <QtCore/qxptype_traits.h>
|
||
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||
|
|
#error "The header file 'categorytreewidget.h' doesn't include <QObject>."
|
||
|
|
#elif Q_MOC_OUTPUT_REVISION != 69
|
||
|
|
#error "This file was generated using the moc from 6.10.2. It"
|
||
|
|
#error "cannot be used with the include files from this version of Qt."
|
||
|
|
#error "(The moc has changed too much.)"
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#ifndef Q_CONSTINIT
|
||
|
|
#define Q_CONSTINIT
|
||
|
|
#endif
|
||
|
|
|
||
|
|
QT_WARNING_PUSH
|
||
|
|
QT_WARNING_DISABLE_DEPRECATED
|
||
|
|
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
|
||
|
|
namespace {
|
||
|
|
struct qt_meta_tag_ZN18CategoryTreeWidgetE_t {};
|
||
|
|
} // unnamed namespace
|
||
|
|
|
||
|
|
template <> constexpr inline auto CategoryTreeWidget::qt_create_metaobjectdata<qt_meta_tag_ZN18CategoryTreeWidgetE_t>()
|
||
|
|
{
|
||
|
|
namespace QMC = QtMocConstants;
|
||
|
|
QtMocHelpers::StringRefStorage qt_stringData {
|
||
|
|
"CategoryTreeWidget",
|
||
|
|
"categorySelected",
|
||
|
|
"",
|
||
|
|
"Category",
|
||
|
|
"cat",
|
||
|
|
"categoryDoubleClicked",
|
||
|
|
"assignCategoryRequested",
|
||
|
|
"mailId",
|
||
|
|
"categoryId",
|
||
|
|
"categoryCreated",
|
||
|
|
"categoryEdited",
|
||
|
|
"categoryDeleted",
|
||
|
|
"mailCategorized",
|
||
|
|
"QList<qint64>",
|
||
|
|
"categoryIds",
|
||
|
|
"onMailSelected",
|
||
|
|
"onCategoryContextMenu",
|
||
|
|
"QPoint",
|
||
|
|
"pos"
|
||
|
|
};
|
||
|
|
|
||
|
|
QtMocHelpers::UintData qt_methods {
|
||
|
|
// Signal 'categorySelected'
|
||
|
|
QtMocHelpers::SignalData<void(const Category &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ 0x80000000 | 3, 4 },
|
||
|
|
}}),
|
||
|
|
// Signal 'categoryDoubleClicked'
|
||
|
|
QtMocHelpers::SignalData<void(const Category &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ 0x80000000 | 3, 4 },
|
||
|
|
}}),
|
||
|
|
// Signal 'assignCategoryRequested'
|
||
|
|
QtMocHelpers::SignalData<void(qint64, qint64)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ QMetaType::LongLong, 7 }, { QMetaType::LongLong, 8 },
|
||
|
|
}}),
|
||
|
|
// Signal 'categoryCreated'
|
||
|
|
QtMocHelpers::SignalData<void(const Category &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ 0x80000000 | 3, 4 },
|
||
|
|
}}),
|
||
|
|
// Signal 'categoryEdited'
|
||
|
|
QtMocHelpers::SignalData<void(const Category &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ 0x80000000 | 3, 4 },
|
||
|
|
}}),
|
||
|
|
// Signal 'categoryDeleted'
|
||
|
|
QtMocHelpers::SignalData<void(qint64)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ QMetaType::LongLong, 8 },
|
||
|
|
}}),
|
||
|
|
// Signal 'mailCategorized'
|
||
|
|
QtMocHelpers::SignalData<void(qint64, const QVector<qint64> &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ QMetaType::LongLong, 7 }, { 0x80000000 | 13, 14 },
|
||
|
|
}}),
|
||
|
|
// Slot 'onMailSelected'
|
||
|
|
QtMocHelpers::SlotData<void(qint64)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ QMetaType::LongLong, 7 },
|
||
|
|
}}),
|
||
|
|
// Slot 'onCategoryContextMenu'
|
||
|
|
QtMocHelpers::SlotData<void(const QPoint &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||
|
|
{ 0x80000000 | 17, 18 },
|
||
|
|
}}),
|
||
|
|
};
|
||
|
|
QtMocHelpers::UintData qt_properties {
|
||
|
|
};
|
||
|
|
QtMocHelpers::UintData qt_enums {
|
||
|
|
};
|
||
|
|
return QtMocHelpers::metaObjectData<CategoryTreeWidget, qt_meta_tag_ZN18CategoryTreeWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
|
||
|
|
qt_methods, qt_properties, qt_enums);
|
||
|
|
}
|
||
|
|
Q_CONSTINIT const QMetaObject CategoryTreeWidget::staticMetaObject = { {
|
||
|
|
QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
|
||
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18CategoryTreeWidgetE_t>.stringdata,
|
||
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18CategoryTreeWidgetE_t>.data,
|
||
|
|
qt_static_metacall,
|
||
|
|
nullptr,
|
||
|
|
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18CategoryTreeWidgetE_t>.metaTypes,
|
||
|
|
nullptr
|
||
|
|
} };
|
||
|
|
|
||
|
|
void CategoryTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||
|
|
{
|
||
|
|
auto *_t = static_cast<CategoryTreeWidget *>(_o);
|
||
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||
|
|
switch (_id) {
|
||
|
|
case 0: _t->categorySelected((*reinterpret_cast<std::add_pointer_t<Category>>(_a[1]))); break;
|
||
|
|
case 1: _t->categoryDoubleClicked((*reinterpret_cast<std::add_pointer_t<Category>>(_a[1]))); break;
|
||
|
|
case 2: _t->assignCategoryRequested((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qint64>>(_a[2]))); break;
|
||
|
|
case 3: _t->categoryCreated((*reinterpret_cast<std::add_pointer_t<Category>>(_a[1]))); break;
|
||
|
|
case 4: _t->categoryEdited((*reinterpret_cast<std::add_pointer_t<Category>>(_a[1]))); break;
|
||
|
|
case 5: _t->categoryDeleted((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
|
||
|
|
case 6: _t->mailCategorized((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<qint64>>>(_a[2]))); break;
|
||
|
|
case 7: _t->onMailSelected((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
|
||
|
|
case 8: _t->onCategoryContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
|
||
|
|
default: ;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||
|
|
switch (_id) {
|
||
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
||
|
|
case 6:
|
||
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
||
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
||
|
|
case 1:
|
||
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<qint64> >(); break;
|
||
|
|
}
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
if (_c == QMetaObject::IndexOfMethod) {
|
||
|
|
if (QtMocHelpers::indexOfMethod<void (CategoryTreeWidget::*)(const Category & )>(_a, &CategoryTreeWidget::categorySelected, 0))
|
||
|
|
return;
|
||
|
|
if (QtMocHelpers::indexOfMethod<void (CategoryTreeWidget::*)(const Category & )>(_a, &CategoryTreeWidget::categoryDoubleClicked, 1))
|
||
|
|
return;
|
||
|
|
if (QtMocHelpers::indexOfMethod<void (CategoryTreeWidget::*)(qint64 , qint64 )>(_a, &CategoryTreeWidget::assignCategoryRequested, 2))
|
||
|
|
return;
|
||
|
|
if (QtMocHelpers::indexOfMethod<void (CategoryTreeWidget::*)(const Category & )>(_a, &CategoryTreeWidget::categoryCreated, 3))
|
||
|
|
return;
|
||
|
|
if (QtMocHelpers::indexOfMethod<void (CategoryTreeWidget::*)(const Category & )>(_a, &CategoryTreeWidget::categoryEdited, 4))
|
||
|
|
return;
|
||
|
|
if (QtMocHelpers::indexOfMethod<void (CategoryTreeWidget::*)(qint64 )>(_a, &CategoryTreeWidget::categoryDeleted, 5))
|
||
|
|
return;
|
||
|
|
if (QtMocHelpers::indexOfMethod<void (CategoryTreeWidget::*)(qint64 , const QVector<qint64> & )>(_a, &CategoryTreeWidget::mailCategorized, 6))
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
const QMetaObject *CategoryTreeWidget::metaObject() const
|
||
|
|
{
|
||
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||
|
|
}
|
||
|
|
|
||
|
|
void *CategoryTreeWidget::qt_metacast(const char *_clname)
|
||
|
|
{
|
||
|
|
if (!_clname) return nullptr;
|
||
|
|
if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18CategoryTreeWidgetE_t>.strings))
|
||
|
|
return static_cast<void*>(this);
|
||
|
|
return QTreeWidget::qt_metacast(_clname);
|
||
|
|
}
|
||
|
|
|
||
|
|
int CategoryTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||
|
|
{
|
||
|
|
_id = QTreeWidget::qt_metacall(_c, _id, _a);
|
||
|
|
if (_id < 0)
|
||
|
|
return _id;
|
||
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||
|
|
if (_id < 9)
|
||
|
|
qt_static_metacall(this, _c, _id, _a);
|
||
|
|
_id -= 9;
|
||
|
|
}
|
||
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||
|
|
if (_id < 9)
|
||
|
|
qt_static_metacall(this, _c, _id, _a);
|
||
|
|
_id -= 9;
|
||
|
|
}
|
||
|
|
return _id;
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 0
|
||
|
|
void CategoryTreeWidget::categorySelected(const Category & _t1)
|
||
|
|
{
|
||
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 1
|
||
|
|
void CategoryTreeWidget::categoryDoubleClicked(const Category & _t1)
|
||
|
|
{
|
||
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 2
|
||
|
|
void CategoryTreeWidget::assignCategoryRequested(qint64 _t1, qint64 _t2)
|
||
|
|
{
|
||
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 3
|
||
|
|
void CategoryTreeWidget::categoryCreated(const Category & _t1)
|
||
|
|
{
|
||
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 4
|
||
|
|
void CategoryTreeWidget::categoryEdited(const Category & _t1)
|
||
|
|
{
|
||
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 5
|
||
|
|
void CategoryTreeWidget::categoryDeleted(qint64 _t1)
|
||
|
|
{
|
||
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 6
|
||
|
|
void CategoryTreeWidget::mailCategorized(qint64 _t1, const QVector<qint64> & _t2)
|
||
|
|
{
|
||
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
|
||
|
|
}
|
||
|
|
QT_WARNING_POP
|