CuteLogger
Fast and simple logging solution for Qt based applications
moc_filesdock.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'filesdock.h'
3**
4** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/docks/filesdock.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'filesdock.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 69
21#error "This file was generated using the moc from 6.11.0. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34struct qt_meta_tag_ZN9FilesDockE_t {};
35} // unnamed namespace
36
37template <> constexpr inline auto FilesDock::qt_create_metaobjectdata<qt_meta_tag_ZN9FilesDockE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "FilesDock",
42 "selectionChanged",
43 "",
44 "onOpenActionTriggered",
45 "changeDirectory",
46 "path",
47 "updateLocation",
48 "changeFilesDirectory",
49 "QModelIndex",
50 "index",
51 "viewCustomContextMenuRequested",
52 "QPoint",
53 "pos",
54 "onMediaTypeClicked",
55 "onOpenOtherAdd",
56 "onOpenOtherRemove",
57 "clearStatus",
58 "updateStatus",
59 "onLocationsEditingFinished",
60 "on_locationsCombo_activated",
61 "on_addLocationButton_clicked",
62 "on_removeLocationButton_clicked"
63 };
64
65 QtMocHelpers::UintData qt_methods {
66 // Signal 'selectionChanged'
67 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
68 // Slot 'onOpenActionTriggered'
69 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
70 // Slot 'changeDirectory'
71 QtMocHelpers::SlotData<void(const QString &, bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
72 { QMetaType::QString, 5 }, { QMetaType::Bool, 6 },
73 }}),
74 // Slot 'changeDirectory'
75 QtMocHelpers::SlotData<void(const QString &)>(4, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
76 { QMetaType::QString, 5 },
77 }}),
78 // Slot 'changeFilesDirectory'
79 QtMocHelpers::SlotData<void(const QModelIndex &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
80 { 0x80000000 | 8, 9 },
81 }}),
82 // Slot 'viewCustomContextMenuRequested'
83 QtMocHelpers::SlotData<void(const QPoint &)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
84 { 0x80000000 | 11, 12 },
85 }}),
86 // Slot 'onMediaTypeClicked'
87 QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
88 // Slot 'onOpenOtherAdd'
89 QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
90 // Slot 'onOpenOtherRemove'
91 QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
92 // Slot 'clearStatus'
93 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
94 // Slot 'updateStatus'
95 QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
96 // Slot 'onLocationsEditingFinished'
97 QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
98 // Slot 'on_locationsCombo_activated'
99 QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
100 { QMetaType::Int, 9 },
101 }}),
102 // Slot 'on_addLocationButton_clicked'
103 QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
104 // Slot 'on_removeLocationButton_clicked'
105 QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
106 };
107 QtMocHelpers::UintData qt_properties {
108 };
109 QtMocHelpers::UintData qt_enums {
110 };
111 return QtMocHelpers::metaObjectData<FilesDock, qt_meta_tag_ZN9FilesDockE_t>(QMC::MetaObjectFlag{}, qt_stringData,
112 qt_methods, qt_properties, qt_enums);
113}
114Q_CONSTINIT const QMetaObject FilesDock::staticMetaObject = { {
115 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
116 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FilesDockE_t>.stringdata,
117 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FilesDockE_t>.data,
118 qt_static_metacall,
119 nullptr,
120 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9FilesDockE_t>.metaTypes,
121 nullptr
122} };
123
124void FilesDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
125{
126 auto *_t = static_cast<FilesDock *>(_o);
127 if (_c == QMetaObject::InvokeMetaMethod) {
128 switch (_id) {
129 case 0: _t->selectionChanged(); break;
130 case 1: _t->onOpenActionTriggered(); break;
131 case 2: _t->changeDirectory((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
132 case 3: _t->changeDirectory((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
133 case 4: _t->changeFilesDirectory((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
134 case 5: _t->viewCustomContextMenuRequested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
135 case 6: _t->onMediaTypeClicked(); break;
136 case 7: _t->onOpenOtherAdd(); break;
137 case 8: _t->onOpenOtherRemove(); break;
138 case 9: _t->clearStatus(); break;
139 case 10: _t->updateStatus(); break;
140 case 11: _t->onLocationsEditingFinished(); break;
141 case 12: _t->on_locationsCombo_activated((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
142 case 13: _t->on_addLocationButton_clicked(); break;
143 case 14: _t->on_removeLocationButton_clicked(); break;
144 default: ;
145 }
146 }
147 if (_c == QMetaObject::IndexOfMethod) {
148 if (QtMocHelpers::indexOfMethod<void (FilesDock::*)()>(_a, &FilesDock::selectionChanged, 0))
149 return;
150 }
151}
152
153const QMetaObject *FilesDock::metaObject() const
154{
155 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
156}
157
158void *FilesDock::qt_metacast(const char *_clname)
159{
160 if (!_clname) return nullptr;
161 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FilesDockE_t>.strings))
162 return static_cast<void*>(this);
163 return QDockWidget::qt_metacast(_clname);
164}
165
166int FilesDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
167{
168 _id = QDockWidget::qt_metacall(_c, _id, _a);
169 if (_id < 0)
170 return _id;
171 if (_c == QMetaObject::InvokeMetaMethod) {
172 if (_id < 15)
173 qt_static_metacall(this, _c, _id, _a);
174 _id -= 15;
175 }
176 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
177 if (_id < 15)
178 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
179 _id -= 15;
180 }
181 return _id;
182}
183
184// SIGNAL 0
185void FilesDock::selectionChanged()
186{
187 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
188}
189QT_WARNING_POP