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

#include "../../../src/kio-5.39.0/src/filewidgets/knewfilemenu.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'knewfilemenu.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_KNewFileMenu_t {
    QByteArrayData data[23];
    char stringdata0[368];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KNewFileMenu_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KNewFileMenu_t qt_meta_stringdata_KNewFileMenu = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KNewFileMenu"
QT_MOC_LITERAL(1, 13, 11), // "fileCreated"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 3), // "url"
QT_MOC_LITERAL(4, 30, 16), // "directoryCreated"
QT_MOC_LITERAL(5, 47, 13), // "checkUpToDate"
QT_MOC_LITERAL(6, 61, 15), // "createDirectory"
QT_MOC_LITERAL(7, 77, 10), // "slotResult"
QT_MOC_LITERAL(8, 88, 5), // "KJob*"
QT_MOC_LITERAL(9, 94, 3), // "job"
QT_MOC_LITERAL(10, 98, 18), // "_k_slotAbortDialog"
QT_MOC_LITERAL(11, 117, 22), // "_k_slotActionTriggered"
QT_MOC_LITERAL(12, 140, 8), // "QAction*"
QT_MOC_LITERAL(13, 149, 22), // "_k_slotCreateDirectory"
QT_MOC_LITERAL(14, 172, 14), // "writeHiddenDir"
QT_MOC_LITERAL(15, 187, 28), // "_k_slotCreateHiddenDirectory"
QT_MOC_LITERAL(16, 216, 20), // "_k_slotFillTemplates"
QT_MOC_LITERAL(17, 237, 23), // "_k_slotOtherDesktopFile"
QT_MOC_LITERAL(18, 261, 29), // "_k_slotOtherDesktopFileClosed"
QT_MOC_LITERAL(19, 291, 20), // "_k_slotRealFileOrDir"
QT_MOC_LITERAL(20, 312, 18), // "_k_slotTextChanged"
QT_MOC_LITERAL(21, 331, 14), // "_k_slotSymLink"
QT_MOC_LITERAL(22, 346, 21) // "_k_slotUrlDesktopFile"

    },
    "KNewFileMenu\0fileCreated\0\0url\0"
    "directoryCreated\0checkUpToDate\0"
    "createDirectory\0slotResult\0KJob*\0job\0"
    "_k_slotAbortDialog\0_k_slotActionTriggered\0"
    "QAction*\0_k_slotCreateDirectory\0"
    "writeHiddenDir\0_k_slotCreateHiddenDirectory\0"
    "_k_slotFillTemplates\0_k_slotOtherDesktopFile\0"
    "_k_slotOtherDesktopFileClosed\0"
    "_k_slotRealFileOrDir\0_k_slotTextChanged\0"
    "_k_slotSymLink\0_k_slotUrlDesktopFile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KNewFileMenu[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x06 /* Public */,
       4,    1,  102,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,  105,    2, 0x0a /* Public */,
       6,    0,  106,    2, 0x0a /* Public */,
       7,    1,  107,    2, 0x09 /* Protected */,
      10,    0,  110,    2, 0x08 /* Private */,
      11,    1,  111,    2, 0x08 /* Private */,
      13,    1,  114,    2, 0x08 /* Private */,
      13,    0,  117,    2, 0x28 /* Private | MethodCloned */,
      15,    0,  118,    2, 0x08 /* Private */,
      16,    0,  119,    2, 0x08 /* Private */,
      17,    0,  120,    2, 0x08 /* Private */,
      18,    0,  121,    2, 0x08 /* Private */,
      19,    0,  122,    2, 0x08 /* Private */,
      20,    1,  123,    2, 0x08 /* Private */,
      21,    0,  126,    2, 0x08 /* Private */,
      22,    0,  127,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl,    3,
    QMetaType::Void, QMetaType::QUrl,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KNewFileMenu::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KNewFileMenu *_t = static_cast<KNewFileMenu *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->fileCreated((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: _t->directoryCreated((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->checkUpToDate(); break;
        case 3: _t->createDirectory(); break;
        case 4: _t->slotResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 5: _t->d->_k_slotAbortDialog(); break;
        case 6: _t->d->_k_slotActionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 7: _t->d->_k_slotCreateDirectory((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->d->_k_slotCreateDirectory(); break;
        case 9: _t->d->_k_slotCreateHiddenDirectory(); break;
        case 10: _t->d->_k_slotFillTemplates(); break;
        case 11: _t->d->_k_slotOtherDesktopFile(); break;
        case 12: _t->d->_k_slotOtherDesktopFileClosed(); break;
        case 13: _t->d->_k_slotRealFileOrDir(); break;
        case 14: _t->d->_k_slotTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->d->_k_slotSymLink(); break;
        case 16: _t->d->_k_slotUrlDesktopFile(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KNewFileMenu::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KNewFileMenu::fileCreated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KNewFileMenu::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KNewFileMenu::directoryCreated)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KNewFileMenu::staticMetaObject = {
    { &KActionMenu::staticMetaObject, qt_meta_stringdata_KNewFileMenu.data,
      qt_meta_data_KNewFileMenu,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KNewFileMenu::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KActionMenu::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;
}

// SIGNAL 0
void KNewFileMenu::fileCreated(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KNewFileMenu::directoryCreated(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
