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 68 (Qt 6.8.1)
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 != 68
21#error "This file was generated using the moc from 6.8.1. 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
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN9FilesDockE = QtMocHelpers::stringData(
40 "FilesDock",
41 "selectionChanged",
42 "",
43 "onOpenActionTriggered",
44 "changeDirectory",
45 "path",
46 "updateLocation",
47 "changeFilesDirectory",
48 "QModelIndex",
49 "index",
50 "viewCustomContextMenuRequested",
51 "pos",
52 "onMediaTypeClicked",
53 "onOpenOtherAdd",
54 "onOpenOtherRemove",
55 "clearStatus",
56 "updateStatus",
57 "onLocationsEditingFinished",
58 "on_locationsCombo_activated",
59 "on_addLocationButton_clicked",
60 "on_removeLocationButton_clicked"
61);
62#else // !QT_MOC_HAS_STRINGDATA
63#error "qtmochelpers.h not found or too old."
64#endif // !QT_MOC_HAS_STRINGDATA
65
66Q_CONSTINIT static const uint qt_meta_data_ZN9FilesDockE[] = {
67
68 // content:
69 12, // revision
70 0, // classname
71 0, 0, // classinfo
72 15, 14, // methods
73 0, 0, // properties
74 0, 0, // enums/sets
75 0, 0, // constructors
76 0, // flags
77 1, // signalCount
78
79 // signals: name, argc, parameters, tag, flags, initial metatype offsets
80 1, 0, 104, 2, 0x06, 1 /* Public */,
81
82 // slots: name, argc, parameters, tag, flags, initial metatype offsets
83 3, 0, 105, 2, 0x0a, 2 /* Public */,
84 4, 2, 106, 2, 0x0a, 3 /* Public */,
85 4, 1, 111, 2, 0x2a, 6 /* Public | MethodCloned */,
86 7, 1, 114, 2, 0x0a, 8 /* Public */,
87 10, 1, 117, 2, 0x08, 10 /* Private */,
88 12, 0, 120, 2, 0x08, 12 /* Private */,
89 13, 0, 121, 2, 0x08, 13 /* Private */,
90 14, 0, 122, 2, 0x08, 14 /* Private */,
91 15, 0, 123, 2, 0x08, 15 /* Private */,
92 16, 0, 124, 2, 0x08, 16 /* Private */,
93 17, 0, 125, 2, 0x08, 17 /* Private */,
94 18, 1, 126, 2, 0x08, 18 /* Private */,
95 19, 0, 129, 2, 0x08, 20 /* Private */,
96 20, 0, 130, 2, 0x08, 21 /* Private */,
97
98 // signals: parameters
99 QMetaType::Void,
100
101 // slots: parameters
102 QMetaType::Void,
103 QMetaType::Void, QMetaType::QString, QMetaType::Bool, 5, 6,
104 QMetaType::Void, QMetaType::QString, 5,
105 QMetaType::Void, 0x80000000 | 8, 9,
106 QMetaType::Void, QMetaType::QPoint, 11,
107 QMetaType::Void,
108 QMetaType::Void,
109 QMetaType::Void,
110 QMetaType::Void,
111 QMetaType::Void,
112 QMetaType::Void,
113 QMetaType::Void, QMetaType::Int, 9,
114 QMetaType::Void,
115 QMetaType::Void,
116
117 0 // eod
118};
119
120Q_CONSTINIT const QMetaObject FilesDock::staticMetaObject = { {
121 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
122 qt_meta_stringdata_ZN9FilesDockE.offsetsAndSizes,
123 qt_meta_data_ZN9FilesDockE,
124 qt_static_metacall,
125 nullptr,
126 qt_incomplete_metaTypeArray<qt_meta_tag_ZN9FilesDockE_t,
127 // Q_OBJECT / Q_GADGET
128 QtPrivate::TypeAndForceComplete<FilesDock, std::true_type>,
129 // method 'selectionChanged'
130 QtPrivate::TypeAndForceComplete<void, std::false_type>,
131 // method 'onOpenActionTriggered'
132 QtPrivate::TypeAndForceComplete<void, std::false_type>,
133 // method 'changeDirectory'
134 QtPrivate::TypeAndForceComplete<void, std::false_type>,
135 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
136 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
137 // method 'changeDirectory'
138 QtPrivate::TypeAndForceComplete<void, std::false_type>,
139 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
140 // method 'changeFilesDirectory'
141 QtPrivate::TypeAndForceComplete<void, std::false_type>,
142 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
143 // method 'viewCustomContextMenuRequested'
144 QtPrivate::TypeAndForceComplete<void, std::false_type>,
145 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
146 // method 'onMediaTypeClicked'
147 QtPrivate::TypeAndForceComplete<void, std::false_type>,
148 // method 'onOpenOtherAdd'
149 QtPrivate::TypeAndForceComplete<void, std::false_type>,
150 // method 'onOpenOtherRemove'
151 QtPrivate::TypeAndForceComplete<void, std::false_type>,
152 // method 'clearStatus'
153 QtPrivate::TypeAndForceComplete<void, std::false_type>,
154 // method 'updateStatus'
155 QtPrivate::TypeAndForceComplete<void, std::false_type>,
156 // method 'onLocationsEditingFinished'
157 QtPrivate::TypeAndForceComplete<void, std::false_type>,
158 // method 'on_locationsCombo_activated'
159 QtPrivate::TypeAndForceComplete<void, std::false_type>,
160 QtPrivate::TypeAndForceComplete<int, std::false_type>,
161 // method 'on_addLocationButton_clicked'
162 QtPrivate::TypeAndForceComplete<void, std::false_type>,
163 // method 'on_removeLocationButton_clicked'
164 QtPrivate::TypeAndForceComplete<void, std::false_type>
165 >,
166 nullptr
167} };
168
169void FilesDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
170{
171 auto *_t = static_cast<FilesDock *>(_o);
172 if (_c == QMetaObject::InvokeMetaMethod) {
173 switch (_id) {
174 case 0: _t->selectionChanged(); break;
175 case 1: _t->onOpenActionTriggered(); break;
176 case 2: _t->changeDirectory((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
177 case 3: _t->changeDirectory((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
178 case 4: _t->changeFilesDirectory((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
179 case 5: _t->viewCustomContextMenuRequested((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
180 case 6: _t->onMediaTypeClicked(); break;
181 case 7: _t->onOpenOtherAdd(); break;
182 case 8: _t->onOpenOtherRemove(); break;
183 case 9: _t->clearStatus(); break;
184 case 10: _t->updateStatus(); break;
185 case 11: _t->onLocationsEditingFinished(); break;
186 case 12: _t->on_locationsCombo_activated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
187 case 13: _t->on_addLocationButton_clicked(); break;
188 case 14: _t->on_removeLocationButton_clicked(); break;
189 default: ;
190 }
191 }
192 if (_c == QMetaObject::IndexOfMethod) {
193 int *result = reinterpret_cast<int *>(_a[0]);
194 {
195 using _q_method_type = void (FilesDock::*)();
196 if (_q_method_type _q_method = &FilesDock::selectionChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
197 *result = 0;
198 return;
199 }
200 }
201 }
202}
203
204const QMetaObject *FilesDock::metaObject() const
205{
206 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
207}
208
209void *FilesDock::qt_metacast(const char *_clname)
210{
211 if (!_clname) return nullptr;
212 if (!strcmp(_clname, qt_meta_stringdata_ZN9FilesDockE.stringdata0))
213 return static_cast<void*>(this);
214 return QDockWidget::qt_metacast(_clname);
215}
216
217int FilesDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
218{
219 _id = QDockWidget::qt_metacall(_c, _id, _a);
220 if (_id < 0)
221 return _id;
222 if (_c == QMetaObject::InvokeMetaMethod) {
223 if (_id < 15)
224 qt_static_metacall(this, _c, _id, _a);
225 _id -= 15;
226 }
227 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
228 if (_id < 15)
229 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
230 _id -= 15;
231 }
232 return _id;
233}
234
235// SIGNAL 0
236void FilesDock::selectionChanged()
237{
238 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
239}
240QT_WARNING_POP