moc_SessionVideo.cpp 7.38 KB
/****************************************************************************
** Meta object code from reading C++ file 'SessionVideo.h'
**
** Created: Fri Jul 15 16:00:04 2016
**      by: The Qt Meta Object Compiler version 67 (Qt 5.0.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../LiveChat/FeiTalk/JusCall/SessionVideo.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SessionVideo.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.0.0. 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
struct qt_meta_stringdata_RSessVideo_t {
    QByteArrayData data[24];
    char stringdata[415];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    offsetof(qt_meta_stringdata_RSessVideo_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData) \
    )
static const qt_meta_stringdata_RSessVideo_t qt_meta_stringdata_RSessVideo = {
    {
QT_MOC_LITERAL(0, 0, 10),
QT_MOC_LITERAL(1, 11, 16),
QT_MOC_LITERAL(2, 28, 0),
QT_MOC_LITERAL(3, 29, 21),
QT_MOC_LITERAL(4, 51, 22),
QT_MOC_LITERAL(5, 74, 12),
QT_MOC_LITERAL(6, 87, 9),
QT_MOC_LITERAL(7, 97, 12),
QT_MOC_LITERAL(8, 110, 4),
QT_MOC_LITERAL(9, 115, 18),
QT_MOC_LITERAL(10, 134, 20),
QT_MOC_LITERAL(11, 155, 21),
QT_MOC_LITERAL(12, 177, 17),
QT_MOC_LITERAL(13, 195, 20),
QT_MOC_LITERAL(14, 216, 17),
QT_MOC_LITERAL(15, 234, 28),
QT_MOC_LITERAL(16, 263, 21),
QT_MOC_LITERAL(17, 285, 18),
QT_MOC_LITERAL(18, 304, 29),
QT_MOC_LITERAL(19, 334, 13),
QT_MOC_LITERAL(20, 348, 14),
QT_MOC_LITERAL(21, 363, 18),
QT_MOC_LITERAL(22, 382, 12),
QT_MOC_LITERAL(23, 395, 18)
    },
    "RSessVideo\0signalVideoEnded\0\0"
    "signalStartLocalVideo\0signalStartRemoteVideo\0"
    "onVideoEvent\0eventType\0Notification\0"
    "info\0slotClickedBtnInfo\0slotClickedBtnAnswer\0"
    "slotClickedBtnDecline\0slotClickedBtnEnd\0"
    "slotStatisticsClosed\0slotShowFullSreen\0"
    "slotOpacityAnimationFinished\0"
    "slotAnimationFinished\0slotHideVideoLabel\0"
    "slotAnimationPositionFinished\0"
    "slotSessTimer\0slotMouseTimer\0"
    "slotMouseInControl\0bIsInControl\0"
    "slotFullRotateDone\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_RSessVideo[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x05,
       3,    0,  105,    2, 0x05,
       4,    0,  106,    2, 0x05,

 // slots: name, argc, parameters, tag, flags
       5,    2,  107,    2, 0x08,
       9,    0,  112,    2, 0x08,
      10,    0,  113,    2, 0x08,
      11,    0,  114,    2, 0x08,
      12,    0,  115,    2, 0x08,
      13,    0,  116,    2, 0x08,
      14,    0,  117,    2, 0x08,
      15,    0,  118,    2, 0x08,
      16,    0,  119,    2, 0x08,
      17,    0,  120,    2, 0x08,
      18,    0,  121,    2, 0x08,
      19,    0,  122,    2, 0x08,
      20,    0,  123,    2, 0x08,
      21,    1,  124,    2, 0x08,
      23,    0,  127,    2, 0x08,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int, 0x80000000 | 7,    6,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void,

       0        // eod
};

void RSessVideo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RSessVideo *_t = static_cast<RSessVideo *>(_o);
        switch (_id) {
        case 0: _t->signalVideoEnded(); break;
        case 1: _t->signalStartLocalVideo(); break;
        case 2: _t->signalStartRemoteVideo(); break;
        case 3: _t->onVideoEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const Notification(*)>(_a[2]))); break;
        case 4: _t->slotClickedBtnInfo(); break;
        case 5: _t->slotClickedBtnAnswer(); break;
        case 6: _t->slotClickedBtnDecline(); break;
        case 7: _t->slotClickedBtnEnd(); break;
        case 8: _t->slotStatisticsClosed(); break;
        case 9: _t->slotShowFullSreen(); break;
        case 10: _t->slotOpacityAnimationFinished(); break;
        case 11: _t->slotAnimationFinished(); break;
        case 12: _t->slotHideVideoLabel(); break;
        case 13: _t->slotAnimationPositionFinished(); break;
        case 14: _t->slotSessTimer(); break;
        case 15: _t->slotMouseTimer(); break;
        case 16: _t->slotMouseInControl((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->slotFullRotateDone(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (RSessVideo::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RSessVideo::signalVideoEnded)) {
                *result = 0;
            }
        }
        {
            typedef void (RSessVideo::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RSessVideo::signalStartLocalVideo)) {
                *result = 1;
            }
        }
        {
            typedef void (RSessVideo::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RSessVideo::signalStartRemoteVideo)) {
                *result = 2;
            }
        }
    }
}

const QMetaObject RSessVideo::staticMetaObject = {
    { &RMetroDlg::staticMetaObject, qt_meta_stringdata_RSessVideo.data,
      qt_meta_data_RSessVideo,  qt_static_metacall, 0, 0}
};


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

void *RSessVideo::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_RSessVideo.stringdata))
        return static_cast<void*>(const_cast< RSessVideo*>(this));
    return RMetroDlg::qt_metacast(_clname);
}

int RSessVideo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = RMetroDlg::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void RSessVideo::signalVideoEnded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void RSessVideo::signalStartLocalVideo()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void RSessVideo::signalStartRemoteVideo()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}
QT_END_MOC_NAMESPACE