Actualizaciones varias: mejoras en cuenta, sincronización, UI
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../../../src/services/mailservice.h"
|
||||
#include <QtNetwork/QSslError>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
|
||||
@@ -53,7 +54,12 @@ template <> constexpr inline auto MailService::qt_create_metaobjectdata<qt_meta_
|
||||
"mailMoved",
|
||||
"mailDeleted",
|
||||
"mailReadStateChanged",
|
||||
"read"
|
||||
"read",
|
||||
"mailFetchError",
|
||||
"progressChanged",
|
||||
"percent",
|
||||
"statusMessage",
|
||||
"message"
|
||||
};
|
||||
|
||||
QtMocHelpers::UintData qt_methods {
|
||||
@@ -81,6 +87,18 @@ template <> constexpr inline auto MailService::qt_create_metaobjectdata<qt_meta_
|
||||
QtMocHelpers::SignalData<void(const QString &, bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||||
{ QMetaType::QString, 3 }, { QMetaType::Bool, 14 },
|
||||
}}),
|
||||
// Signal 'mailFetchError'
|
||||
QtMocHelpers::SignalData<void(const QString &, const QString &, const QString &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||||
{ QMetaType::QString, 7 }, { QMetaType::QString, 8 }, { QMetaType::QString, 5 },
|
||||
}}),
|
||||
// Signal 'progressChanged'
|
||||
QtMocHelpers::SignalData<void(int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||||
{ QMetaType::Int, 17 },
|
||||
}}),
|
||||
// Signal 'statusMessage'
|
||||
QtMocHelpers::SignalData<void(const QString &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||||
{ QMetaType::QString, 19 },
|
||||
}}),
|
||||
};
|
||||
QtMocHelpers::UintData qt_properties {
|
||||
};
|
||||
@@ -110,6 +128,9 @@ void MailService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
case 3: _t->mailMoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
|
||||
case 4: _t->mailDeleted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
|
||||
case 5: _t->mailReadStateChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
|
||||
case 6: _t->mailFetchError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
|
||||
case 7: _t->progressChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
||||
case 8: _t->statusMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
@@ -126,6 +147,12 @@ void MailService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
return;
|
||||
if (QtMocHelpers::indexOfMethod<void (MailService::*)(const QString & , bool )>(_a, &MailService::mailReadStateChanged, 5))
|
||||
return;
|
||||
if (QtMocHelpers::indexOfMethod<void (MailService::*)(const QString & , const QString & , const QString & )>(_a, &MailService::mailFetchError, 6))
|
||||
return;
|
||||
if (QtMocHelpers::indexOfMethod<void (MailService::*)(int )>(_a, &MailService::progressChanged, 7))
|
||||
return;
|
||||
if (QtMocHelpers::indexOfMethod<void (MailService::*)(const QString & )>(_a, &MailService::statusMessage, 8))
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -148,14 +175,14 @@ int MailService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 6)
|
||||
if (_id < 9)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
_id -= 9;
|
||||
}
|
||||
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 6)
|
||||
if (_id < 9)
|
||||
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
|
||||
_id -= 6;
|
||||
_id -= 9;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
@@ -195,4 +222,22 @@ void MailService::mailReadStateChanged(const QString & _t1, bool _t2)
|
||||
{
|
||||
QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void MailService::mailFetchError(const QString & _t1, const QString & _t2, const QString & _t3)
|
||||
{
|
||||
QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2, _t3);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void MailService::progressChanged(int _t1)
|
||||
{
|
||||
QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void MailService::statusMessage(const QString & _t1)
|
||||
{
|
||||
QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
|
||||
Reference in New Issue
Block a user