moc_justtalktest.cpp 11.6 KB
/****************************************************************************
** Meta object code from reading C++ file 'justtalktest.h'
**
** Created: Fri Jul 15 16:00:06 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/justtalktest.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'justtalktest.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_JustTalkTest_t {
    QByteArrayData data[32];
    char stringdata[453];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    offsetof(qt_meta_stringdata_JustTalkTest_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData) \
    )
static const qt_meta_stringdata_JustTalkTest_t qt_meta_stringdata_JustTalkTest = {
    {
QT_MOC_LITERAL(0, 0, 12),
QT_MOC_LITERAL(1, 13, 11),
QT_MOC_LITERAL(2, 25, 0),
QT_MOC_LITERAL(3, 26, 12),
QT_MOC_LITERAL(4, 39, 11),
QT_MOC_LITERAL(5, 51, 12),
QT_MOC_LITERAL(6, 64, 12),
QT_MOC_LITERAL(7, 77, 12),
QT_MOC_LITERAL(8, 90, 10),
QT_MOC_LITERAL(9, 101, 15),
QT_MOC_LITERAL(10, 117, 14),
QT_MOC_LITERAL(11, 132, 4),
QT_MOC_LITERAL(12, 137, 6),
QT_MOC_LITERAL(13, 144, 6),
QT_MOC_LITERAL(14, 151, 12),
QT_MOC_LITERAL(15, 164, 4),
QT_MOC_LITERAL(16, 169, 13),
QT_MOC_LITERAL(17, 183, 16),
QT_MOC_LITERAL(18, 200, 12),
QT_MOC_LITERAL(19, 213, 13),
QT_MOC_LITERAL(20, 227, 17),
QT_MOC_LITERAL(21, 245, 16),
QT_MOC_LITERAL(22, 262, 15),
QT_MOC_LITERAL(23, 278, 22),
QT_MOC_LITERAL(24, 301, 25),
QT_MOC_LITERAL(25, 327, 26),
QT_MOC_LITERAL(26, 354, 26),
QT_MOC_LITERAL(27, 381, 28),
QT_MOC_LITERAL(28, 410, 13),
QT_MOC_LITERAL(29, 424, 6),
QT_MOC_LITERAL(30, 431, 10),
QT_MOC_LITERAL(31, 442, 9)
    },
    "JustTalkTest\0justMessage\0\0justLogouted\0"
    "closeClient\0videoReceive\0CallIncoming\0"
    "CallOutgoing\0CallUiShow\0CallNetStrength\0"
    "onServiceEvent\0name\0size_t\0cookie\0"
    "Notification\0info\0onCloseClient\0"
    "onBitrateChanged\0currentIndex\0"
    "onNackChanged\0onMicphoneChanged\0"
    "onSpeakerChanged\0onCameraChanged\0"
    "on_loginButton_clicked\0on_loginButtonOut_clicked\0"
    "on_voiceCallButton_clicked\0"
    "on_videoCallButton_clicked\0"
    "on_startDoodleButton_clicked\0onSessCreated\0"
    "sessId\0doResponse\0loginAuth\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_JustTalkTest[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x05,
       3,    1,  132,    2, 0x05,
       4,    0,  135,    2, 0x05,
       5,    1,  136,    2, 0x05,
       6,    3,  139,    2, 0x05,
       7,    1,  146,    2, 0x05,
       8,    1,  149,    2, 0x05,
       9,    1,  152,    2, 0x05,

 // slots: name, argc, parameters, tag, flags
      10,    3,  155,    2, 0x0a,
      16,    0,  162,    2, 0x0a,
      17,    1,  163,    2, 0x0a,
      19,    1,  166,    2, 0x0a,
      20,    1,  169,    2, 0x0a,
      21,    1,  172,    2, 0x0a,
      22,    1,  175,    2, 0x0a,
      23,    0,  178,    2, 0x0a,
      24,    0,  179,    2, 0x0a,
      25,    0,  180,    2, 0x0a,
      26,    0,  181,    2, 0x0a,
      27,    0,  182,    2, 0x0a,
      28,    1,  183,    2, 0x0a,
      30,    4,  186,    2, 0x0a,
      31,    0,  195,    2, 0x0a,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 12, 0x80000000 | 14,   11,   13,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   29,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString, QMetaType::QString,    2,    2,    2,    2,
    QMetaType::Void,

       0        // eod
};

void JustTalkTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        JustTalkTest *_t = static_cast<JustTalkTest *>(_o);
        switch (_id) {
        case 0: _t->justMessage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->justLogouted((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->closeClient(); break;
        case 3: _t->videoReceive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->CallIncoming((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->CallOutgoing((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 6: _t->CallUiShow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->CallNetStrength((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->onServiceEvent((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< size_t(*)>(_a[2])),(*reinterpret_cast< const Notification(*)>(_a[3]))); break;
        case 9: _t->onCloseClient(); break;
        case 10: _t->onBitrateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->onNackChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->onMicphoneChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->onSpeakerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->onCameraChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->on_loginButton_clicked(); break;
        case 16: _t->on_loginButtonOut_clicked(); break;
        case 17: _t->on_voiceCallButton_clicked(); break;
        case 18: _t->on_videoCallButton_clicked(); break;
        case 19: _t->on_startDoodleButton_clicked(); break;
        case 20: _t->onSessCreated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->doResponse((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
        case 22: _t->loginAuth(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (JustTalkTest::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::justMessage)) {
                *result = 0;
            }
        }
        {
            typedef void (JustTalkTest::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::justLogouted)) {
                *result = 1;
            }
        }
        {
            typedef void (JustTalkTest::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::closeClient)) {
                *result = 2;
            }
        }
        {
            typedef void (JustTalkTest::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::videoReceive)) {
                *result = 3;
            }
        }
        {
            typedef void (JustTalkTest::*_t)(const QString , const QString , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::CallIncoming)) {
                *result = 4;
            }
        }
        {
            typedef void (JustTalkTest::*_t)(QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::CallOutgoing)) {
                *result = 5;
            }
        }
        {
            typedef void (JustTalkTest::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::CallUiShow)) {
                *result = 6;
            }
        }
        {
            typedef void (JustTalkTest::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JustTalkTest::CallNetStrength)) {
                *result = 7;
            }
        }
    }
}

const QMetaObject JustTalkTest::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_JustTalkTest.data,
      qt_meta_data_JustTalkTest,  qt_static_metacall, 0, 0}
};


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

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

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

// SIGNAL 0
void JustTalkTest::justMessage(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void JustTalkTest::justLogouted(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void JustTalkTest::closeClient()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

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

// SIGNAL 4
void JustTalkTest::CallIncoming(const QString _t1, const QString _t2, int _t3)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void JustTalkTest::CallOutgoing(QString _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void JustTalkTest::CallUiShow(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void JustTalkTest::CallNetStrength(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_END_MOC_NAMESPACE