/****************************************************************************
** Meta object code from reading C++ file 'activitywidget.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../ownCloud-6.0.3.18040/src/gui/activitywidget.h"
#include <QtNetwork/QSslError>
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'activitywidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN3OCC14ActivityWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto OCC::ActivityWidget::qt_create_metaobjectdata<qt_meta_tag_ZN3OCC14ActivityWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OCC::ActivityWidget",
        "guiLog",
        "",
        "dataChanged",
        "hideActivityTab",
        "newNotification",
        "slotRefreshActivities",
        "AccountStatePtr",
        "ptr",
        "slotRefreshNotifications",
        "slotRemoveAccount",
        "slotAccountActivityStatus",
        "ast",
        "statusCode",
        "slotRequestCleanupAndBlacklist",
        "Activity",
        "blacklistActivity",
        "slotBuildNotificationDisplay",
        "ActivityList",
        "list",
        "slotSendNotificationRequest",
        "accountName",
        "link",
        "verb",
        "endNotificationRequest",
        "NotificationWidget*",
        "widget",
        "success",
        "scheduleWidgetToRemove",
        "milliseconds",
        "slotCheckToCleanWidgets"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'guiLog'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
        // Signal 'dataChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'hideActivityTab'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'newNotification'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotRefreshActivities'
        QtMocHelpers::SlotData<void(const AccountStatePtr &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'slotRefreshNotifications'
        QtMocHelpers::SlotData<void(const AccountStatePtr &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'slotRemoveAccount'
        QtMocHelpers::SlotData<void(const AccountStatePtr &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'slotAccountActivityStatus'
        QtMocHelpers::SlotData<void(AccountStatePtr, int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 12 }, { QMetaType::Int, 13 },
        }}),
        // Slot 'slotRequestCleanupAndBlacklist'
        QtMocHelpers::SlotData<void(const Activity &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Slot 'slotBuildNotificationDisplay'
        QtMocHelpers::SlotData<void(const ActivityList &)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'slotSendNotificationRequest'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const QByteArray &)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { QMetaType::QString, 22 }, { QMetaType::QByteArray, 23 },
        }}),
        // Slot 'endNotificationRequest'
        QtMocHelpers::SlotData<void(NotificationWidget *, bool)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 }, { QMetaType::Bool, 27 },
        }}),
        // Slot 'scheduleWidgetToRemove'
        QtMocHelpers::SlotData<void(NotificationWidget *, int)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 }, { QMetaType::Int, 29 },
        }}),
        // Slot 'scheduleWidgetToRemove'
        QtMocHelpers::SlotData<void(NotificationWidget *)>(28, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'slotCheckToCleanWidgets'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ActivityWidget, qt_meta_tag_ZN3OCC14ActivityWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OCC::ActivityWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC14ActivityWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC14ActivityWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3OCC14ActivityWidgetE_t>.metaTypes,
    nullptr
} };

void OCC::ActivityWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ActivityWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->guiLog((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->dataChanged(); break;
        case 2: _t->hideActivityTab((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->newNotification(); break;
        case 4: _t->slotRefreshActivities((*reinterpret_cast<std::add_pointer_t<AccountStatePtr>>(_a[1]))); break;
        case 5: _t->slotRefreshNotifications((*reinterpret_cast<std::add_pointer_t<AccountStatePtr>>(_a[1]))); break;
        case 6: _t->slotRemoveAccount((*reinterpret_cast<std::add_pointer_t<AccountStatePtr>>(_a[1]))); break;
        case 7: _t->slotAccountActivityStatus((*reinterpret_cast<std::add_pointer_t<AccountStatePtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 8: _t->slotRequestCleanupAndBlacklist((*reinterpret_cast<std::add_pointer_t<Activity>>(_a[1]))); break;
        case 9: _t->slotBuildNotificationDisplay((*reinterpret_cast<std::add_pointer_t<ActivityList>>(_a[1]))); break;
        case 10: _t->slotSendNotificationRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[3]))); break;
        case 11: _t->endNotificationRequest((*reinterpret_cast<std::add_pointer_t<NotificationWidget*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 12: _t->scheduleWidgetToRemove((*reinterpret_cast<std::add_pointer_t<NotificationWidget*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 13: _t->scheduleWidgetToRemove((*reinterpret_cast<std::add_pointer_t<NotificationWidget*>>(_a[1]))); break;
        case 14: _t->slotCheckToCleanWidgets(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ActivityWidget::*)(const QString & , const QString & )>(_a, &ActivityWidget::guiLog, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActivityWidget::*)()>(_a, &ActivityWidget::dataChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActivityWidget::*)(bool )>(_a, &ActivityWidget::hideActivityTab, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ActivityWidget::*)()>(_a, &ActivityWidget::newNotification, 3))
            return;
    }
}

const QMetaObject *OCC::ActivityWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *OCC::ActivityWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC14ActivityWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int OCC::ActivityWidget::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void OCC::ActivityWidget::guiLog(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void OCC::ActivityWidget::dataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void OCC::ActivityWidget::hideActivityTab(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void OCC::ActivityWidget::newNotification()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
namespace {
struct qt_meta_tag_ZN3OCC16ActivitySettingsE_t {};
} // unnamed namespace

template <> constexpr inline auto OCC::ActivitySettings::qt_create_metaobjectdata<qt_meta_tag_ZN3OCC16ActivitySettingsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OCC::ActivitySettings",
        "guiLog",
        "",
        "slotRefresh",
        "AccountStatePtr",
        "ptr",
        "slotRemoveAccount",
        "setNotificationRefreshInterval",
        "std::chrono::milliseconds",
        "interval",
        "slotShowIssuesTab",
        "setActivityTabHidden",
        "hidden",
        "slotRegularNotificationCheck",
        "slotShowIssueItemCount",
        "cnt",
        "slotShowActivityTab"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'guiLog'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'slotRefresh'
        QtMocHelpers::SlotData<void(AccountStatePtr)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'slotRemoveAccount'
        QtMocHelpers::SlotData<void(const AccountStatePtr &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'setNotificationRefreshInterval'
        QtMocHelpers::SlotData<void(std::chrono::milliseconds)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'slotShowIssuesTab'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setActivityTabHidden'
        QtMocHelpers::SlotData<void(bool)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'slotRegularNotificationCheck'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowIssueItemCount'
        QtMocHelpers::SlotData<void(int)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 15 },
        }}),
        // Slot 'slotShowActivityTab'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ActivitySettings, qt_meta_tag_ZN3OCC16ActivitySettingsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OCC::ActivitySettings::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC16ActivitySettingsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC16ActivitySettingsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3OCC16ActivitySettingsE_t>.metaTypes,
    nullptr
} };

void OCC::ActivitySettings::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ActivitySettings *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->guiLog((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->slotRefresh((*reinterpret_cast<std::add_pointer_t<AccountStatePtr>>(_a[1]))); break;
        case 2: _t->slotRemoveAccount((*reinterpret_cast<std::add_pointer_t<AccountStatePtr>>(_a[1]))); break;
        case 3: _t->setNotificationRefreshInterval((*reinterpret_cast<std::add_pointer_t<std::chrono::milliseconds>>(_a[1]))); break;
        case 4: _t->slotShowIssuesTab(); break;
        case 5: _t->setActivityTabHidden((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->slotRegularNotificationCheck(); break;
        case 7: _t->slotShowIssueItemCount((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->slotShowActivityTab(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ActivitySettings::*)(const QString & , const QString & )>(_a, &ActivitySettings::guiLog, 0))
            return;
    }
}

const QMetaObject *OCC::ActivitySettings::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *OCC::ActivitySettings::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3OCC16ActivitySettingsE_t>.strings))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int OCC::ActivitySettings::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void OCC::ActivitySettings::guiLog(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
QT_WARNING_POP
