/****************************************************************************
** Meta object code from reading C++ file 'interface_file.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 "interface_file.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 'interface_file.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_ZN27OrgKdeKioAdminFileInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto OrgKdeKioAdminFileInterface::qt_create_metaobjectdata<qt_meta_tag_ZN27OrgKdeKioAdminFileInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OrgKdeKioAdminFileInterface",
        "closed",
        "",
        "data",
        "mimeTypeFound",
        "mimeType",
        "opened",
        "positionChanged",
        "offset",
        "result",
        "error",
        "errorMessage",
        "truncated",
        "length",
        "written",
        "close",
        "QDBusPendingReply<>",
        "open",
        "read",
        "size",
        "seek",
        "QDBusPendingReply<qulonglong>",
        "truncate",
        "write"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'closed'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'data'
        QtMocHelpers::SignalData<void(const QByteArray &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QByteArray, 3 },
        }}),
        // Signal 'mimeTypeFound'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'opened'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'positionChanged'
        QtMocHelpers::SignalData<void(qulonglong)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 8 },
        }}),
        // Signal 'result'
        QtMocHelpers::SignalData<void(int, const QString &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 }, { QMetaType::QString, 11 },
        }}),
        // Signal 'truncated'
        QtMocHelpers::SignalData<void(qulonglong)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 13 },
        }}),
        // Signal 'written'
        QtMocHelpers::SignalData<void(qulonglong)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 14 },
        }}),
        // Slot 'close'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(15, 2, QMC::AccessPublic, 0x80000000 | 16),
        // Slot 'open'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(17, 2, QMC::AccessPublic, 0x80000000 | 16),
        // Slot 'read'
        QtMocHelpers::SlotData<QDBusPendingReply<>(qulonglong)>(18, 2, QMC::AccessPublic, 0x80000000 | 16, {{
            { QMetaType::ULongLong, 19 },
        }}),
        // Slot 'seek'
        QtMocHelpers::SlotData<QDBusPendingReply<>(qulonglong)>(20, 2, QMC::AccessPublic, 0x80000000 | 16, {{
            { QMetaType::ULongLong, 8 },
        }}),
        // Slot 'size'
        QtMocHelpers::SlotData<QDBusPendingReply<qulonglong>()>(19, 2, QMC::AccessPublic, 0x80000000 | 21),
        // Slot 'truncate'
        QtMocHelpers::SlotData<QDBusPendingReply<>(qulonglong)>(22, 2, QMC::AccessPublic, 0x80000000 | 16, {{
            { QMetaType::ULongLong, 13 },
        }}),
        // Slot 'write'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QByteArray &)>(23, 2, QMC::AccessPublic, 0x80000000 | 16, {{
            { QMetaType::QByteArray, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OrgKdeKioAdminFileInterface, qt_meta_tag_ZN27OrgKdeKioAdminFileInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OrgKdeKioAdminFileInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN27OrgKdeKioAdminFileInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN27OrgKdeKioAdminFileInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN27OrgKdeKioAdminFileInterfaceE_t>.metaTypes,
    nullptr
} };

void OrgKdeKioAdminFileInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OrgKdeKioAdminFileInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->closed(); break;
        case 1: _t->data((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 2: _t->mimeTypeFound((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->opened(); break;
        case 4: _t->positionChanged((*reinterpret_cast<std::add_pointer_t<qulonglong>>(_a[1]))); break;
        case 5: _t->result((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 6: _t->truncated((*reinterpret_cast<std::add_pointer_t<qulonglong>>(_a[1]))); break;
        case 7: _t->written((*reinterpret_cast<std::add_pointer_t<qulonglong>>(_a[1]))); break;
        case 8: { QDBusPendingReply<> _r = _t->close();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<> _r = _t->open();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<> _r = _t->read((*reinterpret_cast<std::add_pointer_t<qulonglong>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->seek((*reinterpret_cast<std::add_pointer_t<qulonglong>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusPendingReply<qulonglong> _r = _t->size();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<qulonglong>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusPendingReply<> _r = _t->truncate((*reinterpret_cast<std::add_pointer_t<qulonglong>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QDBusPendingReply<> _r = _t->write((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)()>(_a, &OrgKdeKioAdminFileInterface::closed, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)(const QByteArray & )>(_a, &OrgKdeKioAdminFileInterface::data, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)(const QString & )>(_a, &OrgKdeKioAdminFileInterface::mimeTypeFound, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)()>(_a, &OrgKdeKioAdminFileInterface::opened, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)(qulonglong )>(_a, &OrgKdeKioAdminFileInterface::positionChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)(int , const QString & )>(_a, &OrgKdeKioAdminFileInterface::result, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)(qulonglong )>(_a, &OrgKdeKioAdminFileInterface::truncated, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdeKioAdminFileInterface::*)(qulonglong )>(_a, &OrgKdeKioAdminFileInterface::written, 7))
            return;
    }
}

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

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

int OrgKdeKioAdminFileInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::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 OrgKdeKioAdminFileInterface::closed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void OrgKdeKioAdminFileInterface::data(const QByteArray & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void OrgKdeKioAdminFileInterface::mimeTypeFound(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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

// SIGNAL 4
void OrgKdeKioAdminFileInterface::positionChanged(qulonglong _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void OrgKdeKioAdminFileInterface::result(int _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void OrgKdeKioAdminFileInterface::truncated(qulonglong _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void OrgKdeKioAdminFileInterface::written(qulonglong _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
