/****************************************************************************
** Meta object code from reading C++ file 'mediaobject.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/phonon-4.9.1/phonon/mediaobject.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mediaobject.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_Phonon__MediaObject_t {
    QByteArrayData data[42];
    char stringdata0[551];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Phonon__MediaObject_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Phonon__MediaObject_t qt_meta_stringdata_Phonon__MediaObject = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Phonon::MediaObject"
QT_MOC_LITERAL(1, 20, 12), // "stateChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 13), // "Phonon::State"
QT_MOC_LITERAL(4, 48, 8), // "newstate"
QT_MOC_LITERAL(5, 57, 8), // "oldstate"
QT_MOC_LITERAL(6, 66, 4), // "tick"
QT_MOC_LITERAL(7, 71, 4), // "time"
QT_MOC_LITERAL(8, 76, 15), // "metaDataChanged"
QT_MOC_LITERAL(9, 92, 15), // "seekableChanged"
QT_MOC_LITERAL(10, 108, 10), // "isSeekable"
QT_MOC_LITERAL(11, 119, 15), // "hasVideoChanged"
QT_MOC_LITERAL(12, 135, 8), // "hasVideo"
QT_MOC_LITERAL(13, 144, 12), // "bufferStatus"
QT_MOC_LITERAL(14, 157, 13), // "percentFilled"
QT_MOC_LITERAL(15, 171, 8), // "finished"
QT_MOC_LITERAL(16, 180, 20), // "currentSourceChanged"
QT_MOC_LITERAL(17, 201, 19), // "Phonon::MediaSource"
QT_MOC_LITERAL(18, 221, 9), // "newSource"
QT_MOC_LITERAL(19, 231, 13), // "aboutToFinish"
QT_MOC_LITERAL(20, 245, 20), // "prefinishMarkReached"
QT_MOC_LITERAL(21, 266, 9), // "msecToEnd"
QT_MOC_LITERAL(22, 276, 16), // "totalTimeChanged"
QT_MOC_LITERAL(23, 293, 12), // "newTotalTime"
QT_MOC_LITERAL(24, 306, 15), // "setTickInterval"
QT_MOC_LITERAL(25, 322, 15), // "newTickInterval"
QT_MOC_LITERAL(26, 338, 4), // "play"
QT_MOC_LITERAL(27, 343, 5), // "pause"
QT_MOC_LITERAL(28, 349, 4), // "stop"
QT_MOC_LITERAL(29, 354, 4), // "seek"
QT_MOC_LITERAL(30, 359, 5), // "clear"
QT_MOC_LITERAL(31, 365, 13), // "_k_resumePlay"
QT_MOC_LITERAL(32, 379, 14), // "_k_resumePause"
QT_MOC_LITERAL(33, 394, 18), // "_k_metaDataChanged"
QT_MOC_LITERAL(34, 413, 26), // "QMultiMap<QString,QString>"
QT_MOC_LITERAL(35, 440, 15), // "_k_stateChanged"
QT_MOC_LITERAL(36, 456, 16), // "_k_aboutToFinish"
QT_MOC_LITERAL(37, 473, 23), // "_k_currentSourceChanged"
QT_MOC_LITERAL(38, 497, 11), // "MediaSource"
QT_MOC_LITERAL(39, 509, 14), // "transitionTime"
QT_MOC_LITERAL(40, 524, 13), // "prefinishMark"
QT_MOC_LITERAL(41, 538, 12) // "tickInterval"

    },
    "Phonon::MediaObject\0stateChanged\0\0"
    "Phonon::State\0newstate\0oldstate\0tick\0"
    "time\0metaDataChanged\0seekableChanged\0"
    "isSeekable\0hasVideoChanged\0hasVideo\0"
    "bufferStatus\0percentFilled\0finished\0"
    "currentSourceChanged\0Phonon::MediaSource\0"
    "newSource\0aboutToFinish\0prefinishMarkReached\0"
    "msecToEnd\0totalTimeChanged\0newTotalTime\0"
    "setTickInterval\0newTickInterval\0play\0"
    "pause\0stop\0seek\0clear\0_k_resumePlay\0"
    "_k_resumePause\0_k_metaDataChanged\0"
    "QMultiMap<QString,QString>\0_k_stateChanged\0"
    "_k_aboutToFinish\0_k_currentSourceChanged\0"
    "MediaSource\0transitionTime\0prefinishMark\0"
    "tickInterval"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Phonon__MediaObject[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      24,   14, // methods
       3,  192, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      11,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,  134,    2, 0x06 /* Public */,
       6,    1,  139,    2, 0x06 /* Public */,
       8,    0,  142,    2, 0x06 /* Public */,
       9,    1,  143,    2, 0x06 /* Public */,
      11,    1,  146,    2, 0x06 /* Public */,
      13,    1,  149,    2, 0x06 /* Public */,
      15,    0,  152,    2, 0x06 /* Public */,
      16,    1,  153,    2, 0x06 /* Public */,
      19,    0,  156,    2, 0x06 /* Public */,
      20,    1,  157,    2, 0x06 /* Public */,
      22,    1,  160,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      24,    1,  163,    2, 0x0a /* Public */,
      26,    0,  166,    2, 0x0a /* Public */,
      27,    0,  167,    2, 0x0a /* Public */,
      28,    0,  168,    2, 0x0a /* Public */,
      29,    1,  169,    2, 0x0a /* Public */,
      30,    0,  172,    2, 0x0a /* Public */,
      31,    0,  173,    2, 0x08 /* Private */,
      32,    0,  174,    2, 0x08 /* Private */,
      33,    1,  175,    2, 0x08 /* Private */,
      35,    2,  178,    2, 0x08 /* Private */,
      36,    0,  183,    2, 0x08 /* Private */,
      37,    1,  184,    2, 0x08 /* Private */,
      35,    2,  187,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    4,    5,
    QMetaType::Void, QMetaType::LongLong,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   10,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::LongLong,   23,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 34,    2,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 38,    2,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    2,    2,

 // properties: name, type, flags
      39, QMetaType::Int, 0x00095103,
      40, QMetaType::Int, 0x00095103,
      41, QMetaType::Int, 0x00095103,

       0        // eod
};

void Phonon::MediaObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MediaObject *_t = static_cast<MediaObject *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->stateChanged((*reinterpret_cast< Phonon::State(*)>(_a[1])),(*reinterpret_cast< Phonon::State(*)>(_a[2]))); break;
        case 1: _t->tick((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 2: _t->metaDataChanged(); break;
        case 3: _t->seekableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->hasVideoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->bufferStatus((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->finished(); break;
        case 7: _t->currentSourceChanged((*reinterpret_cast< const Phonon::MediaSource(*)>(_a[1]))); break;
        case 8: _t->aboutToFinish(); break;
        case 9: _t->prefinishMarkReached((*reinterpret_cast< qint32(*)>(_a[1]))); break;
        case 10: _t->totalTimeChanged((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 11: _t->setTickInterval((*reinterpret_cast< qint32(*)>(_a[1]))); break;
        case 12: _t->play(); break;
        case 13: _t->pause(); break;
        case 14: _t->stop(); break;
        case 15: _t->seek((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 16: _t->clear(); break;
        case 17: _t->k_func()->_k_resumePlay(); break;
        case 18: _t->k_func()->_k_resumePause(); break;
        case 19: _t->k_func()->_k_metaDataChanged((*reinterpret_cast< const QMultiMap<QString,QString>(*)>(_a[1]))); break;
        case 20: _t->k_func()->_k_stateChanged((*reinterpret_cast< Phonon::State(*)>(_a[1])),(*reinterpret_cast< Phonon::State(*)>(_a[2]))); break;
        case 21: _t->k_func()->_k_aboutToFinish(); break;
        case 22: _t->k_func()->_k_currentSourceChanged((*reinterpret_cast< const MediaSource(*)>(_a[1]))); break;
        case 23: _t->k_func()->_k_stateChanged((*reinterpret_cast< Phonon::State(*)>(_a[1])),(*reinterpret_cast< Phonon::State(*)>(_a[2]))); 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 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Phonon::State >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Phonon::State >(); break;
            }
            break;
        case 23:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Phonon::State >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (MediaObject::*_t)(Phonon::State , Phonon::State );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::stateChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)(qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::tick)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::metaDataChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::seekableChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::hasVideoChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::bufferStatus)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::finished)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)(const Phonon::MediaSource & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::currentSourceChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::aboutToFinish)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)(qint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::prefinishMarkReached)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (MediaObject::*_t)(qint64 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MediaObject::totalTimeChanged)) {
                *result = 10;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        MediaObject *_t = static_cast<MediaObject *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qint32*>(_v) = _t->transitionTime(); break;
        case 1: *reinterpret_cast< qint32*>(_v) = _t->prefinishMark(); break;
        case 2: *reinterpret_cast< qint32*>(_v) = _t->tickInterval(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        MediaObject *_t = static_cast<MediaObject *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTransitionTime(*reinterpret_cast< qint32*>(_v)); break;
        case 1: _t->setPrefinishMark(*reinterpret_cast< qint32*>(_v)); break;
        case 2: _t->setTickInterval(*reinterpret_cast< qint32*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Phonon::MediaObject::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Phonon__MediaObject.data,
      qt_meta_data_Phonon__MediaObject,  qt_static_metacall, nullptr, nullptr}
};


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

void *Phonon::MediaObject::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Phonon__MediaObject.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "MediaNode"))
        return static_cast< MediaNode*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void Phonon::MediaObject::stateChanged(Phonon::State _t1, Phonon::State _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Phonon::MediaObject::tick(qint64 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Phonon::MediaObject::metaDataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Phonon::MediaObject::seekableChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Phonon::MediaObject::hasVideoChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Phonon::MediaObject::bufferStatus(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Phonon::MediaObject::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Phonon::MediaObject::currentSourceChanged(const Phonon::MediaSource & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Phonon::MediaObject::aboutToFinish()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Phonon::MediaObject::prefinishMarkReached(qint32 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Phonon::MediaObject::totalTimeChanged(qint64 _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
