moc_DoodleWindow.cpp 12 KB
/****************************************************************************
** Meta object code from reading C++ file 'DoodleWindow.h'
**
** Created: Fri Jul 15 16:00:05 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/JusDoodle/DoodleWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'DoodleWindow.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_JusDoodle__DoodleWindow_t {
    QByteArrayData data[32];
    char stringdata[426];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    offsetof(qt_meta_stringdata_JusDoodle__DoodleWindow_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData) \
    )
static const qt_meta_stringdata_JusDoodle__DoodleWindow_t qt_meta_stringdata_JusDoodle__DoodleWindow = {
    {
QT_MOC_LITERAL(0, 0, 23),
QT_MOC_LITERAL(1, 24, 12),
QT_MOC_LITERAL(2, 37, 0),
QT_MOC_LITERAL(3, 38, 5),
QT_MOC_LITERAL(4, 44, 12),
QT_MOC_LITERAL(5, 57, 5),
QT_MOC_LITERAL(6, 63, 11),
QT_MOC_LITERAL(7, 75, 5),
QT_MOC_LITERAL(8, 81, 17),
QT_MOC_LITERAL(9, 99, 6),
QT_MOC_LITERAL(10, 106, 11),
QT_MOC_LITERAL(11, 118, 14),
QT_MOC_LITERAL(12, 133, 4),
QT_MOC_LITERAL(13, 138, 4),
QT_MOC_LITERAL(14, 143, 15),
QT_MOC_LITERAL(15, 159, 11),
QT_MOC_LITERAL(16, 171, 18),
QT_MOC_LITERAL(17, 190, 7),
QT_MOC_LITERAL(18, 198, 16),
QT_MOC_LITERAL(19, 215, 17),
QT_MOC_LITERAL(20, 233, 17),
QT_MOC_LITERAL(21, 251, 19),
QT_MOC_LITERAL(22, 271, 18),
QT_MOC_LITERAL(23, 290, 18),
QT_MOC_LITERAL(24, 309, 10),
QT_MOC_LITERAL(25, 320, 12),
QT_MOC_LITERAL(26, 333, 8),
QT_MOC_LITERAL(27, 342, 22),
QT_MOC_LITERAL(28, 365, 7),
QT_MOC_LITERAL(29, 373, 19),
QT_MOC_LITERAL(30, 393, 13),
QT_MOC_LITERAL(31, 407, 17)
    },
    "JusDoodle::DoodleWindow\0colorChanged\0"
    "\0color\0widthChanged\0width\0modeChanged\0"
    "erase\0notifyPageChanged\0pageId\0"
    "notifyClean\0notifyDrawPath\0Path\0path\0"
    "notifyErasePath\0setDrawFlag\0"
    "colorBlackSelected\0checked\0colorRedSelected\0"
    "colorBlueSelected\0widthThinSelected\0"
    "widthMiddleSelected\0widthThickSelected\0"
    "toolsEraseSelected\0toolsClear\0"
    "pagePrevious\0pageNext\0onStatusMessageChanged\0"
    "message\0on_btnColor_clicked\0selectedColor\0"
    "on_btnPen_clicked\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_JusDoodle__DoodleWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x05,
       4,    1,  127,    2, 0x05,
       6,    1,  130,    2, 0x05,
       8,    1,  133,    2, 0x05,
      10,    1,  136,    2, 0x05,
      11,    4,  139,    2, 0x05,
      14,    3,  148,    2, 0x05,
      15,    1,  155,    2, 0x05,

 // slots: name, argc, parameters, tag, flags
      16,    1,  158,    2, 0x0a,
      18,    1,  161,    2, 0x0a,
      19,    1,  164,    2, 0x0a,
      20,    1,  167,    2, 0x0a,
      21,    1,  170,    2, 0x0a,
      22,    1,  173,    2, 0x0a,
      23,    1,  176,    2, 0x0a,
      24,    0,  179,    2, 0x0a,
      25,    0,  180,    2, 0x0a,
      26,    0,  181,    2, 0x0a,
      27,    1,  182,    2, 0x0a,
      29,    1,  185,    2, 0x08,
      30,    0,  188,    2, 0x08,
      31,    0,  189,    2, 0x08,

 // signals: parameters
    QMetaType::Void, QMetaType::QColor,    3,
    QMetaType::Void, QMetaType::Double,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 12, QMetaType::QColor, QMetaType::Double,    9,   13,    3,    5,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 12, QMetaType::Double,    9,   13,    5,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   28,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void JusDoodle::DoodleWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DoodleWindow *_t = static_cast<DoodleWindow *>(_o);
        switch (_id) {
        case 0: _t->colorChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 1: _t->widthChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 2: _t->modeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->notifyPageChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->notifyClean((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->notifyDrawPath((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const Path(*)>(_a[2])),(*reinterpret_cast< const QColor(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4]))); break;
        case 6: _t->notifyErasePath((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const Path(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 7: _t->setDrawFlag((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->colorBlackSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->colorRedSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->colorBlueSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->widthThinSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->widthMiddleSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->widthThickSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->toolsEraseSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->toolsClear(); break;
        case 16: _t->pagePrevious(); break;
        case 17: _t->pageNext(); break;
        case 18: _t->onStatusMessageChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->on_btnColor_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->selectedColor(); break;
        case 21: _t->on_btnPen_clicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DoodleWindow::*_t)(const QColor & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::colorChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (DoodleWindow::*_t)(double );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::widthChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (DoodleWindow::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::modeChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (DoodleWindow::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::notifyPageChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (DoodleWindow::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::notifyClean)) {
                *result = 4;
            }
        }
        {
            typedef void (DoodleWindow::*_t)(int , const Path & , const QColor & , double );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::notifyDrawPath)) {
                *result = 5;
            }
        }
        {
            typedef void (DoodleWindow::*_t)(int , const Path & , double );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::notifyErasePath)) {
                *result = 6;
            }
        }
        {
            typedef void (DoodleWindow::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DoodleWindow::setDrawFlag)) {
                *result = 7;
            }
        }
    }
}

const QMetaObject JusDoodle::DoodleWindow::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_JusDoodle__DoodleWindow.data,
      qt_meta_data_JusDoodle__DoodleWindow,  qt_static_metacall, 0, 0}
};


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

void *JusDoodle::DoodleWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_JusDoodle__DoodleWindow.stringdata))
        return static_cast<void*>(const_cast< DoodleWindow*>(this));
    return QMainWindow::qt_metacast(_clname);
}

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

// SIGNAL 0
void JusDoodle::DoodleWindow::colorChanged(const QColor & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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

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

// SIGNAL 5
void JusDoodle::DoodleWindow::notifyDrawPath(int _t1, const Path & _t2, const QColor & _t3, double _t4)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void JusDoodle::DoodleWindow::notifyErasePath(int _t1, const Path & _t2, double _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, 6, _a);
}

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