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