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.9.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.9.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 "pos",
53 "onMediaTypeClicked",
54 "onOpenOtherAdd",
55 "onOpenOtherRemove",
56 "clearStatus",
57 "updateStatus",
58 "onLocationsEditingFinished",
59 "on_locationsCombo_activated",
60 "on_addLocationButton_clicked",
61 "on_removeLocationButton_clicked"
62 };
63
64 QtMocHelpers::UintData qt_methods {
65 // Signal 'selectionChanged'
66 QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
67 // Slot 'onOpenActionTriggered'
68 QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
69 // Slot 'changeDirectory'
70 QtMocHelpers::SlotData<void(const QString &, bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
71 { QMetaType::QString, 5 }, { QMetaType::Bool, 6 },
72 }}),
73 // Slot 'changeDirectory'
74 QtMocHelpers::SlotData<void(const QString &)>(4, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
75 { QMetaType::QString, 5 },
76 }}),
77 // Slot 'changeFilesDirectory'
78 QtMocHelpers::SlotData<void(const QModelIndex &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
79 { 0x80000000 | 8, 9 },
80 }}),
81 // Slot 'viewCustomContextMenuRequested'
82 QtMocHelpers::SlotData<void(const QPoint &)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
83 { QMetaType::QPoint, 11 },
84 }}),
85 // Slot 'onMediaTypeClicked'
86 QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
87 // Slot 'onOpenOtherAdd'
88 QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
89 // Slot 'onOpenOtherRemove'
90 QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
91 // Slot 'clearStatus'
92 QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
93 // Slot 'updateStatus'
94 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
95 // Slot 'onLocationsEditingFinished'
96 QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
97 // Slot 'on_locationsCombo_activated'
98 QtMocHelpers::SlotData<void(int)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
99 { QMetaType::Int, 9 },
100 }}),
101 // Slot 'on_addLocationButton_clicked'
102 QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
103 // Slot 'on_removeLocationButton_clicked'
104 QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
105 };
106 QtMocHelpers::UintData qt_properties {
107 };
108 QtMocHelpers::UintData qt_enums {
109 };
110 return QtMocHelpers::metaObjectData<FilesDock, qt_meta_tag_ZN9FilesDockE_t>(QMC::MetaObjectFlag{}, qt_stringData,
111 qt_methods, qt_properties, qt_enums);
112}
113Q_CONSTINIT const QMetaObject FilesDock::staticMetaObject = { {
114 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
115 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FilesDockE_t>.stringdata,
116 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FilesDockE_t>.data,
117 qt_static_metacall,
118 nullptr,
119 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9FilesDockE_t>.metaTypes,
120 nullptr
121} };
122
123void FilesDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
124{
125 auto *_t = static_cast<FilesDock *>(_o);
126 if (_c == QMetaObject::InvokeMetaMethod) {
127 switch (_id) {
128 case 0: _t->selectionChanged(); break;
129 case 1: _t->onOpenActionTriggered(); break;
130 case 2: _t->changeDirectory((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
131 case 3: _t->changeDirectory((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
132 case 4: _t->changeFilesDirectory((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
133 case 5: _t->viewCustomContextMenuRequested((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
134 case 6: _t->onMediaTypeClicked(); break;
135 case 7: _t->onOpenOtherAdd(); break;
136 case 8: _t->onOpenOtherRemove(); break;
137 case 9: _t->clearStatus(); break;
138 case 10: _t->updateStatus(); break;
139 case 11: _t->onLocationsEditingFinished(); break;
140 case 12: _t->on_locationsCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
141 case 13: _t->on_addLocationButton_clicked(); break;
142 case 14: _t->on_removeLocationButton_clicked(); break;
143 default: ;
144 }
145 }
146 if (_c == QMetaObject::IndexOfMethod) {
147 if (QtMocHelpers::indexOfMethod<void (FilesDock::*)()>(_a, &FilesDock::selectionChanged, 0))
148 return;
149 }
150}
151
152const QMetaObject *FilesDock::metaObject() const
153{
154 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
155}
156
157void *FilesDock::qt_metacast(const char *_clname)
158{
159 if (!_clname) return nullptr;
160 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FilesDockE_t>.strings))
161 return static_cast<void*>(this);
162 return QDockWidget::qt_metacast(_clname);
163}
164
165int FilesDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
166{
167 _id = QDockWidget::qt_metacall(_c, _id, _a);
168 if (_id < 0)
169 return _id;
170 if (_c == QMetaObject::InvokeMetaMethod) {
171 if (_id < 15)
172 qt_static_metacall(this, _c, _id, _a);
173 _id -= 15;
174 }
175 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
176 if (_id < 15)
177 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
178 _id -= 15;
179 }
180 return _id;
181}
182
183// SIGNAL 0
184void FilesDock::selectionChanged()
185{
186 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
187}
188QT_WARNING_POP