Base: fix compile errors in wino-mail-dtkqt (composeview UI, initializeComposition, startNewEmail, authenticator includes)
This commit is contained in:
@@ -43,6 +43,7 @@ template <> constexpr inline auto MailListView::qt_create_metaobjectdata<qt_meta
|
||||
"emailSelected",
|
||||
"",
|
||||
"mailId",
|
||||
"emailOpenRequested",
|
||||
"composeRequested",
|
||||
"onRowSelected",
|
||||
"QModelIndex",
|
||||
@@ -54,11 +55,15 @@ template <> constexpr inline auto MailListView::qt_create_metaobjectdata<qt_meta
|
||||
QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||||
{ QMetaType::Int, 3 },
|
||||
}}),
|
||||
// Signal 'emailOpenRequested'
|
||||
QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||||
{ QMetaType::Int, 3 },
|
||||
}}),
|
||||
// Signal 'composeRequested'
|
||||
QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
|
||||
QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
|
||||
// Slot 'onRowSelected'
|
||||
QtMocHelpers::SlotData<void(const QModelIndex &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
||||
{ 0x80000000 | 6, 7 },
|
||||
QtMocHelpers::SlotData<void(const QModelIndex &)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
||||
{ 0x80000000 | 7, 8 },
|
||||
}}),
|
||||
};
|
||||
QtMocHelpers::UintData qt_properties {
|
||||
@@ -84,15 +89,18 @@ void MailListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: _t->emailSelected((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
||||
case 1: _t->composeRequested(); break;
|
||||
case 2: _t->onRowSelected((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
|
||||
case 1: _t->emailOpenRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
||||
case 2: _t->composeRequested(); break;
|
||||
case 3: _t->onRowSelected((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
if (_c == QMetaObject::IndexOfMethod) {
|
||||
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::emailSelected, 0))
|
||||
return;
|
||||
if (QtMocHelpers::indexOfMethod<void (MailListView::*)()>(_a, &MailListView::composeRequested, 1))
|
||||
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::emailOpenRequested, 1))
|
||||
return;
|
||||
if (QtMocHelpers::indexOfMethod<void (MailListView::*)()>(_a, &MailListView::composeRequested, 2))
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -116,14 +124,14 @@ int MailListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
_id -= 4;
|
||||
}
|
||||
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
if (_id < 4)
|
||||
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
|
||||
_id -= 3;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
@@ -135,8 +143,14 @@ void MailListView::emailSelected(int _t1)
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void MailListView::emailOpenRequested(int _t1)
|
||||
{
|
||||
QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void MailListView::composeRequested()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
|
||||
Reference in New Issue
Block a user