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

#include "../src/kget-17.12.3/ui/metalinkcreator/metalinkcreator.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'metalinkcreator.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_FileWidget_t {
    QByteArrayData data[5];
    char stringdata0[42];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FileWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FileWidget_t qt_meta_stringdata_FileWidget = {
    {
QT_MOC_LITERAL(0, 0, 10), // "FileWidget"
QT_MOC_LITERAL(1, 11, 11), // "urlsDropped"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 11), // "QList<QUrl>"
QT_MOC_LITERAL(4, 36, 5) // "files"

    },
    "FileWidget\0urlsDropped\0\0QList<QUrl>\0"
    "files"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FileWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

       0        // eod
};

void FileWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FileWidget *_t = static_cast<FileWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->urlsDropped((*reinterpret_cast< const QList<QUrl>(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (FileWidget::*_t)(const QList<QUrl> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileWidget::urlsDropped)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject FileWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_FileWidget.data,
      qt_meta_data_FileWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *FileWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_FileWidget.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int FileWidget::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void FileWidget::urlsDropped(const QList<QUrl> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_MetalinkCreator_t {
    QByteArrayData data[25];
    char stringdata0[376];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MetalinkCreator_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MetalinkCreator_t qt_meta_stringdata_MetalinkCreator = {
    {
QT_MOC_LITERAL(0, 0, 15), // "MetalinkCreator"
QT_MOC_LITERAL(1, 16, 11), // "slotAddFile"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 18), // "KGetMetalink::File"
QT_MOC_LITERAL(4, 48, 4), // "file"
QT_MOC_LITERAL(5, 53, 14), // "slotFileEdited"
QT_MOC_LITERAL(6, 68, 11), // "oldFileName"
QT_MOC_LITERAL(7, 80, 11), // "newFileName"
QT_MOC_LITERAL(8, 92, 17), // "slotHandleDropped"
QT_MOC_LITERAL(9, 110, 5), // "types"
QT_MOC_LITERAL(10, 116, 13), // "createPartial"
QT_MOC_LITERAL(11, 130, 19), // "slotDelayedCreation"
QT_MOC_LITERAL(12, 150, 26), // "slotUpdateAssistantButtons"
QT_MOC_LITERAL(13, 177, 16), // "KPageWidgetItem*"
QT_MOC_LITERAL(14, 194, 2), // "to"
QT_MOC_LITERAL(15, 197, 4), // "from"
QT_MOC_LITERAL(16, 202, 32), // "slotUpdateIntroductionNextButton"
QT_MOC_LITERAL(17, 235, 22), // "slotUpdateFilesButtons"
QT_MOC_LITERAL(18, 258, 14), // "slotRemoveFile"
QT_MOC_LITERAL(19, 273, 18), // "slotFileProperties"
QT_MOC_LITERAL(20, 292, 24), // "slotAddLocalFilesClicked"
QT_MOC_LITERAL(21, 317, 14), // "slotAddClicked"
QT_MOC_LITERAL(22, 332, 8), // "slotSave"
QT_MOC_LITERAL(23, 341, 18), // "slotThreadFinished"
QT_MOC_LITERAL(24, 360, 15) // "slotOpenDragDlg"

    },
    "MetalinkCreator\0slotAddFile\0\0"
    "KGetMetalink::File\0file\0slotFileEdited\0"
    "oldFileName\0newFileName\0slotHandleDropped\0"
    "types\0createPartial\0slotDelayedCreation\0"
    "slotUpdateAssistantButtons\0KPageWidgetItem*\0"
    "to\0from\0slotUpdateIntroductionNextButton\0"
    "slotUpdateFilesButtons\0slotRemoveFile\0"
    "slotFileProperties\0slotAddLocalFilesClicked\0"
    "slotAddClicked\0slotSave\0slotThreadFinished\0"
    "slotOpenDragDlg"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MetalinkCreator[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x0a /* Public */,
       1,    1,  100,    2, 0x0a /* Public */,
       5,    2,  103,    2, 0x0a /* Public */,
       8,    2,  108,    2, 0x0a /* Public */,
      11,    0,  113,    2, 0x08 /* Private */,
      12,    2,  114,    2, 0x08 /* Private */,
      12,    1,  119,    2, 0x28 /* Private | MethodCloned */,
      12,    0,  122,    2, 0x28 /* Private | MethodCloned */,
      16,    0,  123,    2, 0x08 /* Private */,
      17,    0,  124,    2, 0x08 /* Private */,
      18,    0,  125,    2, 0x08 /* Private */,
      19,    0,  126,    2, 0x08 /* Private */,
      20,    0,  127,    2, 0x08 /* Private */,
      21,    0,  128,    2, 0x08 /* Private */,
      22,    0,  129,    2, 0x08 /* Private */,
      23,    0,  130,    2, 0x08 /* Private */,
      24,    0,  131,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    6,    7,
    QMetaType::Void, QMetaType::QStringList, QMetaType::Bool,    9,   10,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13,   14,   15,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MetalinkCreator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MetalinkCreator *_t = static_cast<MetalinkCreator *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotAddFile(); break;
        case 1: _t->slotAddFile((*reinterpret_cast< const KGetMetalink::File(*)>(_a[1]))); break;
        case 2: _t->slotFileEdited((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->slotHandleDropped((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: _t->slotDelayedCreation(); break;
        case 5: _t->slotUpdateAssistantButtons((*reinterpret_cast< KPageWidgetItem*(*)>(_a[1])),(*reinterpret_cast< KPageWidgetItem*(*)>(_a[2]))); break;
        case 6: _t->slotUpdateAssistantButtons((*reinterpret_cast< KPageWidgetItem*(*)>(_a[1]))); break;
        case 7: _t->slotUpdateAssistantButtons(); break;
        case 8: _t->slotUpdateIntroductionNextButton(); break;
        case 9: _t->slotUpdateFilesButtons(); break;
        case 10: _t->slotRemoveFile(); break;
        case 11: _t->slotFileProperties(); break;
        case 12: _t->slotAddLocalFilesClicked(); break;
        case 13: _t->slotAddClicked(); break;
        case 14: _t->slotSave(); break;
        case 15: _t->slotThreadFinished(); break;
        case 16: _t->slotOpenDragDlg(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KPageWidgetItem* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KPageWidgetItem* >(); break;
            }
            break;
        }
    }
}

const QMetaObject MetalinkCreator::staticMetaObject = {
    { &KAssistantDialog::staticMetaObject, qt_meta_stringdata_MetalinkCreator.data,
      qt_meta_data_MetalinkCreator,  qt_static_metacall, nullptr, nullptr}
};


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

void *MetalinkCreator::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MetalinkCreator.stringdata0))
        return static_cast<void*>(this);
    return KAssistantDialog::qt_metacast(_clname);
}

int MetalinkCreator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KAssistantDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
