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

#include <memory>
#include "../../../../../../util-dfm/include/dfm-io/dfm-io/dfilefuture.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dfilefuture.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_dfmio__DFileFuture_t {
    QByteArrayData data[25];
    char stringdata0[278];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_dfmio__DFileFuture_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_dfmio__DFileFuture_t qt_meta_stringdata_dfmio__DFileFuture = {
    {
QT_MOC_LITERAL(0, 0, 18), // "dfmio::DFileFuture"
QT_MOC_LITERAL(1, 19, 8), // "finished"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 13), // "infoAttribute"
QT_MOC_LITERAL(4, 43, 22), // "DFileInfo::AttributeID"
QT_MOC_LITERAL(5, 66, 2), // "id"
QT_MOC_LITERAL(6, 69, 5), // "value"
QT_MOC_LITERAL(7, 75, 3), // "key"
QT_MOC_LITERAL(8, 79, 14), // "progressNotify"
QT_MOC_LITERAL(9, 94, 7), // "current"
QT_MOC_LITERAL(10, 102, 5), // "total"
QT_MOC_LITERAL(11, 108, 10), // "infoExists"
QT_MOC_LITERAL(12, 119, 6), // "exists"
QT_MOC_LITERAL(13, 126, 15), // "infoPermissions"
QT_MOC_LITERAL(14, 142, 18), // "DFile::Permissions"
QT_MOC_LITERAL(15, 161, 11), // "permissions"
QT_MOC_LITERAL(16, 173, 8), // "infoSize"
QT_MOC_LITERAL(17, 182, 4), // "size"
QT_MOC_LITERAL(18, 187, 14), // "writeAsyncSize"
QT_MOC_LITERAL(19, 202, 8), // "readData"
QT_MOC_LITERAL(20, 211, 4), // "data"
QT_MOC_LITERAL(21, 216, 9), // "infoMedia"
QT_MOC_LITERAL(22, 226, 3), // "url"
QT_MOC_LITERAL(23, 230, 43), // "QMap<DFileInfo::AttributeExte..."
QT_MOC_LITERAL(24, 274, 3) // "map"

    },
    "dfmio::DFileFuture\0finished\0\0infoAttribute\0"
    "DFileInfo::AttributeID\0id\0value\0key\0"
    "progressNotify\0current\0total\0infoExists\0"
    "exists\0infoPermissions\0DFile::Permissions\0"
    "permissions\0infoSize\0size\0writeAsyncSize\0"
    "readData\0data\0infoMedia\0url\0"
    "QMap<DFileInfo::AttributeExtendID,QVariant>\0"
    "map"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_dfmio__DFileFuture[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    2,   65,    2, 0x06 /* Public */,
       3,    2,   70,    2, 0x06 /* Public */,
       8,    2,   75,    2, 0x06 /* Public */,
      11,    1,   80,    2, 0x06 /* Public */,
      13,    1,   83,    2, 0x06 /* Public */,
      16,    1,   86,    2, 0x06 /* Public */,
      18,    1,   89,    2, 0x06 /* Public */,
      19,    1,   92,    2, 0x06 /* Public */,
      21,    2,   95,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, QMetaType::QVariant,    5,    6,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::QVariant,    7,    6,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    9,   10,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, QMetaType::ULongLong,   17,
    QMetaType::Void, QMetaType::LongLong,   17,
    QMetaType::Void, QMetaType::QByteArray,   20,
    QMetaType::Void, QMetaType::QUrl, 0x80000000 | 23,   22,   24,

       0        // eod
};

void dfmio::DFileFuture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DFileFuture *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->finished(); break;
        case 1: _t->infoAttribute((*reinterpret_cast< DFileInfo::AttributeID(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        case 2: _t->infoAttribute((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        case 3: _t->progressNotify((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;
        case 4: _t->infoExists((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 5: _t->infoPermissions((*reinterpret_cast< const DFile::Permissions(*)>(_a[1]))); break;
        case 6: _t->infoSize((*reinterpret_cast< const quint64(*)>(_a[1]))); break;
        case 7: _t->writeAsyncSize((*reinterpret_cast< const qint64(*)>(_a[1]))); break;
        case 8: _t->readData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 9: _t->infoMedia((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QMap<DFileInfo::AttributeExtendID,QVariant>(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DFileFuture::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::finished)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(DFileInfo::AttributeID , const QVariant & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::infoAttribute)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(const QByteArray & , const QVariant & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::infoAttribute)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(qint64 , qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::progressNotify)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(const bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::infoExists)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(const DFile::Permissions );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::infoPermissions)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(const quint64 & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::infoSize)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(const qint64 & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::writeAsyncSize)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(const QByteArray & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::readData)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (DFileFuture::*)(const QUrl & , const QMap<DFileInfo::AttributeExtendID,QVariant> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DFileFuture::infoMedia)) {
                *result = 9;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject dfmio::DFileFuture::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_dfmio__DFileFuture.data,
    qt_meta_data_dfmio__DFileFuture,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *dfmio::DFileFuture::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_dfmio__DFileFuture.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int dfmio::DFileFuture::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void dfmio::DFileFuture::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void dfmio::DFileFuture::infoAttribute(DFileInfo::AttributeID _t1, const QVariant & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void dfmio::DFileFuture::infoAttribute(const QByteArray & _t1, const QVariant & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void dfmio::DFileFuture::progressNotify(qint64 _t1, qint64 _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void dfmio::DFileFuture::infoExists(const bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void dfmio::DFileFuture::infoPermissions(const DFile::Permissions _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void dfmio::DFileFuture::infoSize(const quint64 & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void dfmio::DFileFuture::writeAsyncSize(const qint64 & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void dfmio::DFileFuture::readData(const QByteArray & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void dfmio::DFileFuture::infoMedia(const QUrl & _t1, const QMap<DFileInfo::AttributeExtendID,QVariant> & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
