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

#include <memory>
#include "../../../../../qtquickcontrols2/src/imports/platform/qquickplatformdialog_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickplatformdialog_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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_QQuickPlatformDialog_t {
    QByteArrayData data[30];
    char stringdata0[332];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickPlatformDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickPlatformDialog_t qt_meta_stringdata_QQuickPlatformDialog = {
    {
QT_MOC_LITERAL(0, 0, 20), // "QQuickPlatformDialog"
QT_MOC_LITERAL(1, 21, 15), // "DefaultProperty"
QT_MOC_LITERAL(2, 37, 4), // "data"
QT_MOC_LITERAL(3, 42, 8), // "accepted"
QT_MOC_LITERAL(4, 51, 0), // ""
QT_MOC_LITERAL(5, 52, 8), // "rejected"
QT_MOC_LITERAL(6, 61, 19), // "parentWindowChanged"
QT_MOC_LITERAL(7, 81, 12), // "titleChanged"
QT_MOC_LITERAL(8, 94, 12), // "flagsChanged"
QT_MOC_LITERAL(9, 107, 15), // "modalityChanged"
QT_MOC_LITERAL(10, 123, 14), // "visibleChanged"
QT_MOC_LITERAL(11, 138, 13), // "resultChanged"
QT_MOC_LITERAL(12, 152, 4), // "open"
QT_MOC_LITERAL(13, 157, 5), // "close"
QT_MOC_LITERAL(14, 163, 6), // "accept"
QT_MOC_LITERAL(15, 170, 6), // "reject"
QT_MOC_LITERAL(16, 177, 4), // "done"
QT_MOC_LITERAL(17, 182, 6), // "result"
QT_MOC_LITERAL(18, 189, 25), // "QQmlListProperty<QObject>"
QT_MOC_LITERAL(19, 215, 12), // "parentWindow"
QT_MOC_LITERAL(20, 228, 8), // "QWindow*"
QT_MOC_LITERAL(21, 237, 5), // "title"
QT_MOC_LITERAL(22, 243, 5), // "flags"
QT_MOC_LITERAL(23, 249, 15), // "Qt::WindowFlags"
QT_MOC_LITERAL(24, 265, 8), // "modality"
QT_MOC_LITERAL(25, 274, 18), // "Qt::WindowModality"
QT_MOC_LITERAL(26, 293, 7), // "visible"
QT_MOC_LITERAL(27, 301, 12), // "StandardCode"
QT_MOC_LITERAL(28, 314, 8), // "Rejected"
QT_MOC_LITERAL(29, 323, 8) // "Accepted"

    },
    "QQuickPlatformDialog\0DefaultProperty\0"
    "data\0accepted\0\0rejected\0parentWindowChanged\0"
    "titleChanged\0flagsChanged\0modalityChanged\0"
    "visibleChanged\0resultChanged\0open\0"
    "close\0accept\0reject\0done\0result\0"
    "QQmlListProperty<QObject>\0parentWindow\0"
    "QWindow*\0title\0flags\0Qt::WindowFlags\0"
    "modality\0Qt::WindowModality\0visible\0"
    "StandardCode\0Rejected\0Accepted"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickPlatformDialog[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      13,   16, // methods
       7,   96, // properties
       1,  124, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   81,    4, 0x06 /* Public */,
       5,    0,   82,    4, 0x06 /* Public */,
       6,    0,   83,    4, 0x06 /* Public */,
       7,    0,   84,    4, 0x06 /* Public */,
       8,    0,   85,    4, 0x06 /* Public */,
       9,    0,   86,    4, 0x06 /* Public */,
      10,    0,   87,    4, 0x06 /* Public */,
      11,    0,   88,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,   89,    4, 0x0a /* Public */,
      13,    0,   90,    4, 0x0a /* Public */,
      14,    0,   91,    4, 0x0a /* Public */,
      15,    0,   92,    4, 0x0a /* Public */,
      16,    1,   93,    4, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   17,

 // properties: name, type, flags
       2, 0x80000000 | 18, 0x00095809,
      19, 0x80000000 | 20, 0x0049590b,
      21, QMetaType::QString, 0x00495903,
      22, 0x80000000 | 23, 0x0049590b,
      24, 0x80000000 | 25, 0x0049590b,
      26, QMetaType::Bool, 0x00495903,
      17, QMetaType::Int, 0x00495903,

 // properties: notify_signal_id
       0,
       2,
       3,
       4,
       5,
       6,
       7,

 // enums: name, alias, flags, count, data
      27,   27, 0x0,    2,  129,

 // enum data: key, value
      28, uint(QQuickPlatformDialog::Rejected),
      29, uint(QQuickPlatformDialog::Accepted),

       0        // eod
};

void QQuickPlatformDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickPlatformDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->accepted(); break;
        case 1: _t->rejected(); break;
        case 2: _t->parentWindowChanged(); break;
        case 3: _t->titleChanged(); break;
        case 4: _t->flagsChanged(); break;
        case 5: _t->modalityChanged(); break;
        case 6: _t->visibleChanged(); break;
        case 7: _t->resultChanged(); break;
        case 8: _t->open(); break;
        case 9: _t->close(); break;
        case 10: _t->accept(); break;
        case 11: _t->reject(); break;
        case 12: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::accepted)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::rejected)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::parentWindowChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::titleChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::flagsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::modalityChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::visibleChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QQuickPlatformDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPlatformDialog::resultChanged)) {
                *result = 7;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickPlatformDialog *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->data(); break;
        case 1: *reinterpret_cast< QWindow**>(_v) = _t->parentWindow(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 3: *reinterpret_cast< Qt::WindowFlags*>(_v) = _t->flags(); break;
        case 4: *reinterpret_cast< Qt::WindowModality*>(_v) = _t->modality(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->result(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickPlatformDialog *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setParentWindow(*reinterpret_cast< QWindow**>(_v)); break;
        case 2: _t->setTitle(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setFlags(*reinterpret_cast< Qt::WindowFlags*>(_v)); break;
        case 4: _t->setModality(*reinterpret_cast< Qt::WindowModality*>(_v)); break;
        case 5: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setResult(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuickPlatformDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QQuickPlatformDialog.data,
    qt_meta_data_QQuickPlatformDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuickPlatformDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickPlatformDialog.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QObject::qt_metacast(_clname);
}

int QQuickPlatformDialog::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQuickPlatformDialog::accepted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void QQuickPlatformDialog::parentWindowChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void QQuickPlatformDialog::flagsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

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

// SIGNAL 6
void QQuickPlatformDialog::visibleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QQuickPlatformDialog::resultChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
