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