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

#include "../../../../../krusader-2.9.0/app/DiskUsage/diskusage.h"
#include <QtGui/qtextcursor.h>
#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 'diskusage.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN9DiskUsageE_t {};
} // unnamed namespace

template <> constexpr inline auto DiskUsage::qt_create_metaobjectdata<qt_meta_tag_ZN9DiskUsageE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DiskUsage",
        "enteringDirectory",
        "",
        "Directory*",
        "clearing",
        "changed",
        "File*",
        "changeFinished",
        "deleted",
        "deleteFinished",
        "status",
        "viewChanged",
        "loadFinished",
        "newSearch",
        "dirUp",
        "clear",
        "slotLoadDirectory"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'enteringDirectory'
        QtMocHelpers::SignalData<void(Directory *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'clearing'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'changed'
        QtMocHelpers::SignalData<void(File *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Signal 'changeFinished'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deleted'
        QtMocHelpers::SignalData<void(File *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Signal 'deleteFinished'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'status'
        QtMocHelpers::SignalData<void(QString)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'viewChanged'
        QtMocHelpers::SignalData<void(int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'loadFinished'
        QtMocHelpers::SignalData<void(bool)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'newSearch'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'dirUp'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotLoadDirectory'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DiskUsage, qt_meta_tag_ZN9DiskUsageE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DiskUsage::staticMetaObject = { {
    QMetaObject::SuperData::link<QStackedWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9DiskUsageE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9DiskUsageE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9DiskUsageE_t>.metaTypes,
    nullptr
} };

void DiskUsage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DiskUsage *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->enteringDirectory((*reinterpret_cast<std::add_pointer_t<Directory*>>(_a[1]))); break;
        case 1: _t->clearing(); break;
        case 2: _t->changed((*reinterpret_cast<std::add_pointer_t<File*>>(_a[1]))); break;
        case 3: _t->changeFinished(); break;
        case 4: _t->deleted((*reinterpret_cast<std::add_pointer_t<File*>>(_a[1]))); break;
        case 5: _t->deleteFinished(); break;
        case 6: _t->status((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->viewChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->loadFinished((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->newSearch(); break;
        case 10: _t->dirUp(); break;
        case 11: _t->clear(); break;
        case 12: _t->slotLoadDirectory(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)(Directory * )>(_a, &DiskUsage::enteringDirectory, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)()>(_a, &DiskUsage::clearing, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)(File * )>(_a, &DiskUsage::changed, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)()>(_a, &DiskUsage::changeFinished, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)(File * )>(_a, &DiskUsage::deleted, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)()>(_a, &DiskUsage::deleteFinished, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)(QString )>(_a, &DiskUsage::status, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)(int )>(_a, &DiskUsage::viewChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)(bool )>(_a, &DiskUsage::loadFinished, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskUsage::*)()>(_a, &DiskUsage::newSearch, 9))
            return;
    }
}

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

void *DiskUsage::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9DiskUsageE_t>.strings))
        return static_cast<void*>(this);
    return QStackedWidget::qt_metacast(_clname);
}

int DiskUsage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStackedWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void DiskUsage::enteringDirectory(Directory * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void DiskUsage::clearing()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void DiskUsage::changed(File * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void DiskUsage::changeFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void DiskUsage::deleted(File * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void DiskUsage::deleteFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void DiskUsage::status(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void DiskUsage::viewChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void DiskUsage::loadFinished(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void DiskUsage::newSearch()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
namespace {
struct qt_meta_tag_ZN12LoaderWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto LoaderWidget::qt_create_metaobjectdata<qt_meta_tag_ZN12LoaderWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LoaderWidget",
        "slotCancelled",
        ""
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotCancelled'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LoaderWidget, qt_meta_tag_ZN12LoaderWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LoaderWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QScrollArea::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12LoaderWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12LoaderWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12LoaderWidgetE_t>.metaTypes,
    nullptr
} };

void LoaderWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LoaderWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotCancelled(); break;
        default: ;
        }
    }
    (void)_a;
}

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

void *LoaderWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12LoaderWidgetE_t>.strings))
        return static_cast<void*>(this);
    return QScrollArea::qt_metacast(_clname);
}

int LoaderWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QScrollArea::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
