SIGNAL/SLOT migration: lts_app_descriptor_editor.cpp and qsql_informix.cpp
- Migrated 12 SIGNAL/SLOT connections in lts_app_descriptor_editor.cpp to function-pointer syntax - clicked, editingFinished, pressed, textChanged signals - Added required includes: QListView, QLineEdit, QPushButton - Migrated 2 SIGNAL/SLOT connections in qsql_informix.cpp to function-pointer syntax - timeout signal connections - Added Qt5::Core5Compat dependency for QTextCodec support in Qt6 - Updated CMakeLists.txt to link Qt6::Core5Compat Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
060792032b
commit
0ca0e9ac60
13006 files changed
+7409837
-16
No files matched your search
+147
@@ -0,0 +1,147 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'pdm_data_plugin.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../../../../../../qt6-after/qt6-migrated-legatus/Lts/Plugins/ProjectDataManagement/Data/pdm_data_plugin.h"
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/qplugin.h>
|
||||
|
||||
#include <QtCore/qtmochelpers.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
#include <QtCore/qxptype_traits.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'pdm_data_plugin.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 69
|
||||
#error "This file was generated using the moc from 6.10.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
#ifndef Q_CONSTINIT
|
||||
#define Q_CONSTINIT
|
||||
#endif
|
||||
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
|
||||
namespace {
|
||||
struct qt_meta_tag_ZN21ProjectDataManagement10DataPluginE_t {};
|
||||
} // unnamed namespace
|
||||
|
||||
template <> constexpr inline auto ProjectDataManagement::DataPlugin::qt_create_metaobjectdata<qt_meta_tag_ZN21ProjectDataManagement10DataPluginE_t>()
|
||||
{
|
||||
namespace QMC = QtMocConstants;
|
||||
QtMocHelpers::StringRefStorage qt_stringData {
|
||||
"ProjectDataManagement::DataPlugin",
|
||||
"onTranslationBlobChanged",
|
||||
"",
|
||||
"ProjectDataManagement::TranslationBlob",
|
||||
"data",
|
||||
"DataModification",
|
||||
"modType"
|
||||
};
|
||||
|
||||
QtMocHelpers::UintData qt_methods {
|
||||
// Slot 'onTranslationBlobChanged'
|
||||
QtMocHelpers::SlotData<void(const ProjectDataManagement::TranslationBlob &, DataModification)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
||||
{ 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
|
||||
}}),
|
||||
};
|
||||
QtMocHelpers::UintData qt_properties {
|
||||
};
|
||||
QtMocHelpers::UintData qt_enums {
|
||||
};
|
||||
return QtMocHelpers::metaObjectData<DataPlugin, qt_meta_tag_ZN21ProjectDataManagement10DataPluginE_t>(QMC::MetaObjectFlag{}, qt_stringData,
|
||||
qt_methods, qt_properties, qt_enums);
|
||||
}
|
||||
Q_CONSTINIT const QMetaObject ProjectDataManagement::DataPlugin::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<DataPluginBase::Plugin::staticMetaObject>(),
|
||||
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ProjectDataManagement10DataPluginE_t>.stringdata,
|
||||
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ProjectDataManagement10DataPluginE_t>.data,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21ProjectDataManagement10DataPluginE_t>.metaTypes,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
void ProjectDataManagement::DataPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
auto *_t = static_cast<DataPlugin *>(_o);
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: _t->onTranslationBlobChanged((*reinterpret_cast<std::add_pointer_t<ProjectDataManagement::TranslationBlob>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<DataModification>>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject *ProjectDataManagement::DataPlugin::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *ProjectDataManagement::DataPlugin::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21ProjectDataManagement10DataPluginE_t>.strings))
|
||||
return static_cast<void*>(this);
|
||||
return DataPluginBase::Plugin::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int ProjectDataManagement::DataPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = DataPluginBase::Plugin::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
}
|
||||
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
using namespace ProjectDataManagement;
|
||||
|
||||
#ifdef QT_MOC_EXPORT_PLUGIN_V2
|
||||
static constexpr unsigned char qt_pluginMetaDataV2_DataPlugin[] = {
|
||||
0xbf,
|
||||
// "IID"
|
||||
0x02, 0x6a, 'd', 'a', 't', 'a', ':', '3',
|
||||
':', 'p', 'd', 'm',
|
||||
// "className"
|
||||
0x03, 0x6a, 'D', 'a', 't', 'a', 'P', 'l',
|
||||
'u', 'g', 'i', 'n',
|
||||
0xff,
|
||||
};
|
||||
QT_MOC_EXPORT_PLUGIN_V2(ProjectDataManagement::DataPlugin, DataPlugin, qt_pluginMetaDataV2_DataPlugin)
|
||||
#else
|
||||
QT_PLUGIN_METADATA_SECTION
|
||||
Q_CONSTINIT static constexpr unsigned char qt_pluginMetaData_DataPlugin[] = {
|
||||
'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
|
||||
// metadata version, Qt version, architectural requirements
|
||||
0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
|
||||
0xbf,
|
||||
// "IID"
|
||||
0x02, 0x6a, 'd', 'a', 't', 'a', ':', '3',
|
||||
':', 'p', 'd', 'm',
|
||||
// "className"
|
||||
0x03, 0x6a, 'D', 'a', 't', 'a', 'P', 'l',
|
||||
'u', 'g', 'i', 'n',
|
||||
0xff,
|
||||
};
|
||||
QT_MOC_EXPORT_PLUGIN(ProjectDataManagement::DataPlugin, DataPlugin)
|
||||
#endif // QT_MOC_EXPORT_PLUGIN_V2
|
||||
|
||||
QT_WARNING_POP
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/repo/build-rti-off/Lts/Plugins/ProjectDataManagement/Data/PdmDataPlugin_autogen/EWIEGA46WW/moc_pdm_data_plugin.cpp: /repo/qt6-after/qt6-migrated-legatus/Lts/Plugins/ProjectDataManagement/Data/pdm_data_plugin.h \
|
||||
/repo/build-rti-off/Lts/Plugins/ProjectDataManagement/Data/PdmDataPlugin_autogen/moc_predefs.h
|
||||
Reference in new issue
Block a user