- MailListView: ExtendedSelection mode for both tree and list views - Action bar (blue bar) appears when items selected - Select all checkbox + counter label - Batch actions: Flag, Mark unread, Move (TODO), Delete, Exit selection - Signals: selectionChanged, batchFlagRequested, batchDeleteRequested, batchMarkUnreadRequested, batchMoveRequested - enterMultiSelectMode()/exitMultiSelectMode() state management - Works in both normal and compact views
508 lines
21 KiB
C++
508 lines
21 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'maillistview.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 "../../../src/ui/maillistview.h"
|
|
#include <QtGui/qtextcursor.h>
|
|
#include <QtCore/qmetatype.h>
|
|
#include <QtCore/QList>
|
|
|
|
#include <QtCore/qtmochelpers.h>
|
|
|
|
#include <memory>
|
|
|
|
|
|
#include <QtCore/qxptype_traits.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'maillistview.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_ZN12MailListViewE_t {};
|
|
} // unnamed namespace
|
|
|
|
template <> constexpr inline auto MailListView::qt_create_metaobjectdata<qt_meta_tag_ZN12MailListViewE_t>()
|
|
{
|
|
namespace QMC = QtMocConstants;
|
|
QtMocHelpers::StringRefStorage qt_stringData {
|
|
"MailListView",
|
|
"emailSelected",
|
|
"",
|
|
"mailId",
|
|
"emailOpenRequested",
|
|
"composeRequested",
|
|
"flagRequested",
|
|
"deleteRequested",
|
|
"categoryRequested",
|
|
"moreRequested",
|
|
"QPoint",
|
|
"globalPos",
|
|
"replyRequested",
|
|
"forwardRequested",
|
|
"markUnreadRequested",
|
|
"selectionChanged",
|
|
"QList<int>",
|
|
"selectedMailIds",
|
|
"batchFlagRequested",
|
|
"mailIds",
|
|
"flagged",
|
|
"batchDeleteRequested",
|
|
"batchMarkUnreadRequested",
|
|
"batchMoveRequested",
|
|
"targetFolderId",
|
|
"onRowSelected",
|
|
"QModelIndex",
|
|
"index",
|
|
"onSearchTextChanged",
|
|
"text",
|
|
"onFilterChanged",
|
|
"onGroupByChanged",
|
|
"onCompactFlagRequested",
|
|
"onCompactDeleteRequested",
|
|
"onCompactCategoryRequested",
|
|
"onCompactMoreRequested",
|
|
"onCompactMailClicked",
|
|
"onCompactReplyRequested",
|
|
"onCompactForwardRequested",
|
|
"onCompactMarkUnreadRequested",
|
|
"onDisplayModeChanged",
|
|
"onTotalCountChanged",
|
|
"count",
|
|
"onTreeViewScrolled",
|
|
"value",
|
|
"onListViewScrolled",
|
|
"onRowsInserted",
|
|
"parent",
|
|
"first",
|
|
"last",
|
|
"onSelectionChanged",
|
|
"onSelectAllToggled",
|
|
"checked",
|
|
"onBatchFlagClicked",
|
|
"onBatchMarkUnreadClicked",
|
|
"onBatchMoveClicked",
|
|
"onBatchDeleteClicked",
|
|
"enterMultiSelectMode",
|
|
"exitMultiSelectMode"
|
|
};
|
|
|
|
QtMocHelpers::UintData qt_methods {
|
|
// Signal 'emailSelected'
|
|
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()>(5, 2, QMC::AccessPublic, QMetaType::Void),
|
|
// Signal 'flagRequested'
|
|
QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Signal 'deleteRequested'
|
|
QtMocHelpers::SignalData<void(int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Signal 'categoryRequested'
|
|
QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Signal 'moreRequested'
|
|
QtMocHelpers::SignalData<void(int, const QPoint &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 }, { 0x80000000 | 10, 11 },
|
|
}}),
|
|
// Signal 'replyRequested'
|
|
QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Signal 'forwardRequested'
|
|
QtMocHelpers::SignalData<void(int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Signal 'markUnreadRequested'
|
|
QtMocHelpers::SignalData<void(int)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Signal 'selectionChanged'
|
|
QtMocHelpers::SignalData<void(const QVector<int> &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 16, 17 },
|
|
}}),
|
|
// Signal 'batchFlagRequested'
|
|
QtMocHelpers::SignalData<void(const QVector<int> &, bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 16, 19 }, { QMetaType::Bool, 20 },
|
|
}}),
|
|
// Signal 'batchDeleteRequested'
|
|
QtMocHelpers::SignalData<void(const QVector<int> &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 16, 19 },
|
|
}}),
|
|
// Signal 'batchMarkUnreadRequested'
|
|
QtMocHelpers::SignalData<void(const QVector<int> &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 16, 19 },
|
|
}}),
|
|
// Signal 'batchMoveRequested'
|
|
QtMocHelpers::SignalData<void(const QVector<int> &, int)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 16, 19 }, { QMetaType::Int, 24 },
|
|
}}),
|
|
// Slot 'onRowSelected'
|
|
QtMocHelpers::SlotData<void(const QModelIndex &)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ 0x80000000 | 26, 27 },
|
|
}}),
|
|
// Slot 'onSearchTextChanged'
|
|
QtMocHelpers::SlotData<void(const QString &)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::QString, 29 },
|
|
}}),
|
|
// Slot 'onFilterChanged'
|
|
QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'onGroupByChanged'
|
|
QtMocHelpers::SlotData<void(int)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 27 },
|
|
}}),
|
|
// Slot 'onCompactFlagRequested'
|
|
QtMocHelpers::SlotData<void(int)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Slot 'onCompactDeleteRequested'
|
|
QtMocHelpers::SlotData<void(int)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Slot 'onCompactCategoryRequested'
|
|
QtMocHelpers::SlotData<void(int)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Slot 'onCompactMoreRequested'
|
|
QtMocHelpers::SlotData<void(int, const QPoint &)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 }, { 0x80000000 | 10, 11 },
|
|
}}),
|
|
// Slot 'onCompactMailClicked'
|
|
QtMocHelpers::SlotData<void(int)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Slot 'onCompactReplyRequested'
|
|
QtMocHelpers::SlotData<void(int)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Slot 'onCompactForwardRequested'
|
|
QtMocHelpers::SlotData<void(int)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Slot 'onCompactMarkUnreadRequested'
|
|
QtMocHelpers::SlotData<void(int)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 3 },
|
|
}}),
|
|
// Slot 'onDisplayModeChanged'
|
|
QtMocHelpers::SlotData<void(int)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 27 },
|
|
}}),
|
|
// Slot 'onTotalCountChanged'
|
|
QtMocHelpers::SlotData<void(int)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 42 },
|
|
}}),
|
|
// Slot 'onTreeViewScrolled'
|
|
QtMocHelpers::SlotData<void(int)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 44 },
|
|
}}),
|
|
// Slot 'onListViewScrolled'
|
|
QtMocHelpers::SlotData<void(int)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Int, 44 },
|
|
}}),
|
|
// Slot 'onRowsInserted'
|
|
QtMocHelpers::SlotData<void(const QModelIndex &, int, int)>(46, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ 0x80000000 | 26, 47 }, { QMetaType::Int, 48 }, { QMetaType::Int, 49 },
|
|
}}),
|
|
// Slot 'onSelectionChanged'
|
|
QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'onSelectAllToggled'
|
|
QtMocHelpers::SlotData<void(bool)>(51, 2, QMC::AccessPrivate, QMetaType::Void, {{
|
|
{ QMetaType::Bool, 52 },
|
|
}}),
|
|
// Slot 'onBatchFlagClicked'
|
|
QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'onBatchMarkUnreadClicked'
|
|
QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'onBatchMoveClicked'
|
|
QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'onBatchDeleteClicked'
|
|
QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'enterMultiSelectMode'
|
|
QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
// Slot 'exitMultiSelectMode'
|
|
QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPrivate, QMetaType::Void),
|
|
};
|
|
QtMocHelpers::UintData qt_properties {
|
|
};
|
|
QtMocHelpers::UintData qt_enums {
|
|
};
|
|
return QtMocHelpers::metaObjectData<MailListView, qt_meta_tag_ZN12MailListViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
|
|
qt_methods, qt_properties, qt_enums);
|
|
}
|
|
Q_CONSTINIT const QMetaObject MailListView::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12MailListViewE_t>.stringdata,
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12MailListViewE_t>.data,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12MailListViewE_t>.metaTypes,
|
|
nullptr
|
|
} };
|
|
|
|
void MailListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = static_cast<MailListView *>(_o);
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
switch (_id) {
|
|
case 0: _t->emailSelected((*reinterpret_cast<std::add_pointer_t<int>>(_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->flagRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 4: _t->deleteRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 5: _t->categoryRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 6: _t->moreRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[2]))); break;
|
|
case 7: _t->replyRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 8: _t->forwardRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 9: _t->markUnreadRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 10: _t->selectionChanged((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1]))); break;
|
|
case 11: _t->batchFlagRequested((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
|
|
case 12: _t->batchDeleteRequested((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1]))); break;
|
|
case 13: _t->batchMarkUnreadRequested((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1]))); break;
|
|
case 14: _t->batchMoveRequested((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
|
|
case 15: _t->onRowSelected((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
|
|
case 16: _t->onSearchTextChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
|
|
case 17: _t->onFilterChanged(); break;
|
|
case 18: _t->onGroupByChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 19: _t->onCompactFlagRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 20: _t->onCompactDeleteRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 21: _t->onCompactCategoryRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 22: _t->onCompactMoreRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[2]))); break;
|
|
case 23: _t->onCompactMailClicked((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 24: _t->onCompactReplyRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 25: _t->onCompactForwardRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 26: _t->onCompactMarkUnreadRequested((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 27: _t->onDisplayModeChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 28: _t->onTotalCountChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 29: _t->onTreeViewScrolled((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 30: _t->onListViewScrolled((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
|
|
case 31: _t->onRowsInserted((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
|
|
case 32: _t->onSelectionChanged(); break;
|
|
case 33: _t->onSelectAllToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
|
|
case 34: _t->onBatchFlagClicked(); break;
|
|
case 35: _t->onBatchMarkUnreadClicked(); break;
|
|
case 36: _t->onBatchMoveClicked(); break;
|
|
case 37: _t->onBatchDeleteClicked(); break;
|
|
case 38: _t->enterMultiSelectMode(); break;
|
|
case 39: _t->exitMultiSelectMode(); break;
|
|
default: ;
|
|
}
|
|
}
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
switch (_id) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 10:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
|
|
}
|
|
break;
|
|
case 11:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
|
|
}
|
|
break;
|
|
case 12:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
|
|
}
|
|
break;
|
|
case 13:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
|
|
}
|
|
break;
|
|
case 14:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
if (_c == QMetaObject::IndexOfMethod) {
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::emailSelected, 0))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::emailOpenRequested, 1))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)()>(_a, &MailListView::composeRequested, 2))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::flagRequested, 3))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::deleteRequested, 4))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::categoryRequested, 5))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int , const QPoint & )>(_a, &MailListView::moreRequested, 6))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::replyRequested, 7))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::forwardRequested, 8))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(int )>(_a, &MailListView::markUnreadRequested, 9))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(const QVector<int> & )>(_a, &MailListView::selectionChanged, 10))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(const QVector<int> & , bool )>(_a, &MailListView::batchFlagRequested, 11))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(const QVector<int> & )>(_a, &MailListView::batchDeleteRequested, 12))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(const QVector<int> & )>(_a, &MailListView::batchMarkUnreadRequested, 13))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (MailListView::*)(const QVector<int> & , int )>(_a, &MailListView::batchMoveRequested, 14))
|
|
return;
|
|
}
|
|
}
|
|
|
|
const QMetaObject *MailListView::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *MailListView::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12MailListViewE_t>.strings))
|
|
return static_cast<void*>(this);
|
|
return QWidget::qt_metacast(_clname);
|
|
}
|
|
|
|
int MailListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
_id = QWidget::qt_metacall(_c, _id, _a);
|
|
if (_id < 0)
|
|
return _id;
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
if (_id < 40)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 40;
|
|
}
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 40)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 40;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void MailListView::emailSelected(int _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _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, 2, nullptr);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void MailListView::flagRequested(int _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void MailListView::deleteRequested(int _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 5
|
|
void MailListView::categoryRequested(int _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 6
|
|
void MailListView::moreRequested(int _t1, const QPoint & _t2)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
|
|
}
|
|
|
|
// SIGNAL 7
|
|
void MailListView::replyRequested(int _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 8
|
|
void MailListView::forwardRequested(int _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 9
|
|
void MailListView::markUnreadRequested(int _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 10
|
|
void MailListView::selectionChanged(const QVector<int> & _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 11
|
|
void MailListView::batchFlagRequested(const QVector<int> & _t1, bool _t2)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
|
|
}
|
|
|
|
// SIGNAL 12
|
|
void MailListView::batchDeleteRequested(const QVector<int> & _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 13
|
|
void MailListView::batchMarkUnreadRequested(const QVector<int> & _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 14
|
|
void MailListView::batchMoveRequested(const QVector<int> & _t1, int _t2)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1, _t2);
|
|
}
|
|
QT_WARNING_POP
|