version 2

This commit is contained in:
master
2025-11-15 21:49:04 -05:00
parent 8c55eeffd4
commit f2cf0d7d89
28 changed files with 1315 additions and 1007 deletions
@@ -132,7 +132,9 @@ template <> constexpr inline auto ImageGallery::qt_create_metaobjectdata<qt_meta
"",
"searchText",
"handleThumbnailClicked",
"filePath"
"filePath",
"handleContainerResized",
"updateGridLayout"
};
QtMocHelpers::UintData qt_methods {
@@ -144,6 +146,10 @@ template <> constexpr inline auto ImageGallery::qt_create_metaobjectdata<qt_meta
QtMocHelpers::SlotData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
{ QMetaType::QString, 5 },
}}),
// Slot 'handleContainerResized'
QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
// Slot 'updateGridLayout'
QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
};
QtMocHelpers::UintData qt_properties {
};
@@ -169,6 +175,8 @@ void ImageGallery::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
switch (_id) {
case 0: _t->handleSearchTextChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
case 1: _t->handleThumbnailClicked((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
case 2: _t->handleContainerResized(); break;
case 3: _t->updateGridLayout(); break;
default: ;
}
}
@@ -193,14 +201,14 @@ int ImageGallery::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
if (_id < 4)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
_id -= 4;
}
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
if (_id < 4)
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
_id -= 2;
_id -= 4;
}
return _id;
}