Actualizaciones varias: mejoras en cuenta, sincronización, UI
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "../../../src/ui/settingsview.h"
|
||||
#include <QtGui/qtextcursor.h>
|
||||
#include <QtNetwork/QSslError>
|
||||
#include <QtCore/qmetatype.h>
|
||||
|
||||
#include <QtCore/qtmochelpers.h>
|
||||
@@ -43,14 +44,19 @@ template <> constexpr inline auto SettingsView::qt_create_metaobjectdata<qt_meta
|
||||
"accountAddRequested",
|
||||
"",
|
||||
"accountEditRequested",
|
||||
"accountIndex",
|
||||
"accountId",
|
||||
"accountDeleteRequested",
|
||||
"themeChanged",
|
||||
"theme",
|
||||
"settingChanged",
|
||||
"key",
|
||||
"QVariant",
|
||||
"value"
|
||||
"value",
|
||||
"onAccountListChanged",
|
||||
"loadAccounts",
|
||||
"onEditClicked",
|
||||
"onDeleteClicked",
|
||||
"onAccountSelectionChanged"
|
||||
};
|
||||
|
||||
QtMocHelpers::UintData qt_methods {
|
||||
@@ -72,6 +78,16 @@ template <> constexpr inline auto SettingsView::qt_create_metaobjectdata<qt_meta
|
||||
QtMocHelpers::SignalData<void(const QString &, const QVariant &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
|
||||
{ QMetaType::QString, 9 }, { 0x80000000 | 10, 11 },
|
||||
}}),
|
||||
// Slot 'onAccountListChanged'
|
||||
QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
|
||||
// Slot 'loadAccounts'
|
||||
QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
|
||||
// Slot 'onEditClicked'
|
||||
QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
|
||||
// Slot 'onDeleteClicked'
|
||||
QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
|
||||
// Slot 'onAccountSelectionChanged'
|
||||
QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
|
||||
};
|
||||
QtMocHelpers::UintData qt_properties {
|
||||
};
|
||||
@@ -100,6 +116,11 @@ void SettingsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
|
||||
case 2: _t->accountDeleteRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
||||
case 3: _t->themeChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
|
||||
case 4: _t->settingChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[2]))); break;
|
||||
case 5: _t->onAccountListChanged(); break;
|
||||
case 6: _t->loadAccounts(); break;
|
||||
case 7: _t->onEditClicked(); break;
|
||||
case 8: _t->onDeleteClicked(); break;
|
||||
case 9: _t->onAccountSelectionChanged(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
@@ -136,14 +157,14 @@ int SettingsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
if (_id < 10)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
_id -= 10;
|
||||
}
|
||||
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
if (_id < 10)
|
||||
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
|
||||
_id -= 5;
|
||||
_id -= 10;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user