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