/****************************************************************************
** Meta object code from reading C++ file 'mediaframe.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/kdeplasma-addons-5.8.9/applets/mediaframe/plugin/mediaframe.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mediaframe.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_MediaFrame_t {
    QByteArrayData data[34];
    char stringdata0[312];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MediaFrame_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MediaFrame_t qt_meta_stringdata_MediaFrame = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MediaFrame"
QT_MOC_LITERAL(1, 11, 12), // "countChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 13), // "randomChanged"
QT_MOC_LITERAL(4, 39, 11), // "itemChanged"
QT_MOC_LITERAL(5, 51, 4), // "path"
QT_MOC_LITERAL(6, 56, 15), // "slotItemChanged"
QT_MOC_LITERAL(7, 72, 12), // "slotFinished"
QT_MOC_LITERAL(8, 85, 5), // "KJob*"
QT_MOC_LITERAL(9, 91, 3), // "job"
QT_MOC_LITERAL(10, 95, 5), // "isDir"
QT_MOC_LITERAL(11, 101, 10), // "isDirEmpty"
QT_MOC_LITERAL(12, 112, 6), // "isFile"
QT_MOC_LITERAL(13, 119, 3), // "add"
QT_MOC_LITERAL(14, 123, 9), // "AddOption"
QT_MOC_LITERAL(15, 133, 6), // "option"
QT_MOC_LITERAL(16, 140, 5), // "clear"
QT_MOC_LITERAL(17, 146, 5), // "watch"
QT_MOC_LITERAL(18, 152, 7), // "isAdded"
QT_MOC_LITERAL(19, 160, 3), // "get"
QT_MOC_LITERAL(20, 164, 8), // "QJSValue"
QT_MOC_LITERAL(21, 173, 8), // "callback"
QT_MOC_LITERAL(22, 182, 14), // "error_callback"
QT_MOC_LITERAL(23, 197, 11), // "pushHistory"
QT_MOC_LITERAL(24, 209, 6), // "string"
QT_MOC_LITERAL(25, 216, 10), // "popHistory"
QT_MOC_LITERAL(26, 227, 13), // "historyLength"
QT_MOC_LITERAL(27, 241, 10), // "pushFuture"
QT_MOC_LITERAL(28, 252, 9), // "popFuture"
QT_MOC_LITERAL(29, 262, 12), // "futureLength"
QT_MOC_LITERAL(30, 275, 5), // "count"
QT_MOC_LITERAL(31, 281, 6), // "random"
QT_MOC_LITERAL(32, 288, 13), // "NON_RECURSIVE"
QT_MOC_LITERAL(33, 302, 9) // "RECURSIVE"

    },
    "MediaFrame\0countChanged\0\0randomChanged\0"
    "itemChanged\0path\0slotItemChanged\0"
    "slotFinished\0KJob*\0job\0isDir\0isDirEmpty\0"
    "isFile\0add\0AddOption\0option\0clear\0"
    "watch\0isAdded\0get\0QJSValue\0callback\0"
    "error_callback\0pushHistory\0string\0"
    "popHistory\0historyLength\0pushFuture\0"
    "popFuture\0futureLength\0count\0random\0"
    "NON_RECURSIVE\0RECURSIVE"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MediaFrame[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       2,  172, // properties
       1,  180, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    0,  120,    2, 0x06 /* Public */,
       4,    1,  121,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  124,    2, 0x08 /* Private */,
       7,    1,  127,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      10,    1,  130,    2, 0x02 /* Public */,
      11,    1,  133,    2, 0x02 /* Public */,
      12,    1,  136,    2, 0x02 /* Public */,
      13,    1,  139,    2, 0x02 /* Public */,
      13,    2,  142,    2, 0x02 /* Public */,
      16,    0,  147,    2, 0x02 /* Public */,
      17,    1,  148,    2, 0x02 /* Public */,
      18,    1,  151,    2, 0x02 /* Public */,
      19,    1,  154,    2, 0x02 /* Public */,
      19,    2,  157,    2, 0x02 /* Public */,
      23,    1,  162,    2, 0x02 /* Public */,
      25,    0,  165,    2, 0x02 /* Public */,
      26,    0,  166,    2, 0x02 /* Public */,
      27,    1,  167,    2, 0x02 /* Public */,
      28,    0,  170,    2, 0x02 /* Public */,
      29,    0,  171,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, 0x80000000 | 8,    9,

 // methods: parameters
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 14,    5,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 20,   21,   22,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::QString,
    QMetaType::Int,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::QString,
    QMetaType::Int,

 // properties: name, type, flags
      30, QMetaType::Int, 0x00495001,
      31, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       1,

 // enums: name, flags, count, data
      14, 0x0,    2,  184,

 // enum data: key, value
      32, uint(MediaFrame::NON_RECURSIVE),
      33, uint(MediaFrame::RECURSIVE),

       0        // eod
};

void MediaFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MediaFrame *_t = static_cast<MediaFrame *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: _t->randomChanged(); break;
        case 2: _t->itemChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->slotItemChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->slotFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 5: { bool _r = _t->isDir((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->isDirEmpty((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { bool _r = _t->isFile((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->add((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->add((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< AddOption(*)>(_a[2]))); break;
        case 10: _t->clear(); break;
        case 11: _t->watch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: { bool _r = _t->isAdded((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->get((*reinterpret_cast< QJSValue(*)>(_a[1]))); break;
        case 14: _t->get((*reinterpret_cast< QJSValue(*)>(_a[1])),(*reinterpret_cast< QJSValue(*)>(_a[2]))); break;
        case 15: _t->pushHistory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: { QString _r = _t->popHistory();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 17: { int _r = _t->historyLength();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->pushFuture((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: { QString _r = _t->popFuture();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 20: { int _r = _t->futureLength();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (MediaFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaFrame::countChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MediaFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaFrame::randomChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MediaFrame::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaFrame::itemChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        MediaFrame *_t = static_cast<MediaFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->random(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        MediaFrame *_t = static_cast<MediaFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setRandom(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject MediaFrame::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_MediaFrame.data,
      qt_meta_data_MediaFrame,  qt_static_metacall, nullptr, nullptr}
};


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

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

int MediaFrame::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void MediaFrame::itemChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
