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

#include <memory>
#include "../../src/qmltypes/qmlapplication.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmlapplication.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.3. 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_QmlApplication_t {
    QByteArrayData data[30];
    char stringdata0[403];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QmlApplication_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QmlApplication_t qt_meta_stringdata_QmlApplication = {
    {
QT_MOC_LITERAL(0, 0, 14), // "QmlApplication"
QT_MOC_LITERAL(1, 15, 14), // "paletteChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 13), // "filtersCopied"
QT_MOC_LITERAL(4, 45, 13), // "filtersPasted"
QT_MOC_LITERAL(5, 59, 14), // "Mlt::Producer*"
QT_MOC_LITERAL(6, 74, 11), // "copyFilters"
QT_MOC_LITERAL(7, 86, 12), // "pasteFilters"
QT_MOC_LITERAL(8, 99, 8), // "timecode"
QT_MOC_LITERAL(9, 108, 6), // "frames"
QT_MOC_LITERAL(10, 115, 13), // "audioChannels"
QT_MOC_LITERAL(11, 129, 18), // "getNextProjectFile"
QT_MOC_LITERAL(12, 148, 8), // "filename"
QT_MOC_LITERAL(13, 157, 15), // "isProjectFolder"
QT_MOC_LITERAL(14, 173, 17), // "showStatusMessage"
QT_MOC_LITERAL(15, 191, 7), // "message"
QT_MOC_LITERAL(16, 199, 14), // "timeoutSeconds"
QT_MOC_LITERAL(17, 214, 19), // "confirmOutputFilter"
QT_MOC_LITERAL(18, 234, 16), // "contrastingColor"
QT_MOC_LITERAL(19, 251, 5), // "color"
QT_MOC_LITERAL(20, 257, 14), // "dialogModality"
QT_MOC_LITERAL(21, 272, 18), // "Qt::WindowModality"
QT_MOC_LITERAL(22, 291, 8), // "mousePos"
QT_MOC_LITERAL(23, 300, 16), // "toolTipBaseColor"
QT_MOC_LITERAL(24, 317, 16), // "toolTipTextColor"
QT_MOC_LITERAL(25, 334, 2), // "OS"
QT_MOC_LITERAL(26, 337, 11), // "mainWinRect"
QT_MOC_LITERAL(27, 349, 21), // "hasFiltersOnClipboard"
QT_MOC_LITERAL(28, 371, 16), // "devicePixelRatio"
QT_MOC_LITERAL(29, 388, 14) // "maxTextureSize"

    },
    "QmlApplication\0paletteChanged\0\0"
    "filtersCopied\0filtersPasted\0Mlt::Producer*\0"
    "copyFilters\0pasteFilters\0timecode\0"
    "frames\0audioChannels\0getNextProjectFile\0"
    "filename\0isProjectFolder\0showStatusMessage\0"
    "message\0timeoutSeconds\0confirmOutputFilter\0"
    "contrastingColor\0color\0dialogModality\0"
    "Qt::WindowModality\0mousePos\0"
    "toolTipBaseColor\0toolTipTextColor\0OS\0"
    "mainWinRect\0hasFiltersOnClipboard\0"
    "devicePixelRatio\0maxTextureSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QmlApplication[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       9,  106, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    0,   80,    2, 0x06 /* Public */,
       4,    1,   81,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       6,    0,   84,    2, 0x02 /* Public */,
       7,    0,   85,    2, 0x02 /* Public */,
       8,    1,   86,    2, 0x02 /* Public */,
      10,    0,   89,    2, 0x02 /* Public */,
      11,    1,   90,    2, 0x02 /* Public */,
      13,    0,   93,    2, 0x02 /* Public */,
      14,    2,   94,    2, 0x02 /* Public */,
      14,    1,   99,    2, 0x22 /* Public | MethodCloned */,
      17,    0,  102,    2, 0x02 /* Public */,
      18,    1,  103,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    2,

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QString, QMetaType::Int,    9,
    QMetaType::Int,
    QMetaType::QString, QMetaType::QString,   12,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   15,   16,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Bool,
    QMetaType::QColor, QMetaType::QString,   19,

 // properties: name, type, flags
      20, 0x80000000 | 21, 0x00095409,
      22, QMetaType::QPoint, 0x00095001,
      23, QMetaType::QColor, 0x00495001,
      24, QMetaType::QColor, 0x00495001,
      25, QMetaType::QString, 0x00095401,
      26, QMetaType::QRect, 0x00095001,
      27, QMetaType::Bool, 0x00495001,
      28, QMetaType::QReal, 0x00095401,
      29, QMetaType::Int, 0x00095401,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       1,
       0,
       0,

       0        // eod
};

void QmlApplication::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QmlApplication *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->paletteChanged(); break;
        case 1: _t->filtersCopied(); break;
        case 2: _t->filtersPasted((*reinterpret_cast< Mlt::Producer*(*)>(_a[1]))); break;
        case 3: _t->copyFilters(); break;
        case 4: _t->pasteFilters(); break;
        case 5: { QString _r = _t->timecode((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 6: { int _r = _t->audioChannels();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: { QString _r = _t->getNextProjectFile((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { bool _r = _t->isProjectFolder();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: { bool _r = _t->confirmOutputFilter();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { QColor _r = _t->contrastingColor((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QColor*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QmlApplication::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlApplication::paletteChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QmlApplication::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlApplication::filtersCopied)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QmlApplication::*)(Mlt::Producer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlApplication::filtersPasted)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QmlApplication *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt::WindowModality*>(_v) = _t->dialogModality(); break;
        case 1: *reinterpret_cast< QPoint*>(_v) = _t->mousePos(); break;
        case 2: *reinterpret_cast< QColor*>(_v) = _t->toolTipBaseColor(); break;
        case 3: *reinterpret_cast< QColor*>(_v) = _t->toolTipTextColor(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->OS(); break;
        case 5: *reinterpret_cast< QRect*>(_v) = _t->mainWinRect(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->hasFiltersOnClipboard(); break;
        case 7: *reinterpret_cast< qreal*>(_v) = _t->devicePixelRatio(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->maxTextureSize(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QmlApplication::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QmlApplication.data,
    qt_meta_data_QmlApplication,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QmlApplication::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 -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void QmlApplication::filtersPasted(Mlt::Producer * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
