/****************************************************************************
** Meta object code from reading C++ file 'pumpiocomposerwidget.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/choqok-1.6.0/microblogs/pumpio/pumpiocomposerwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pumpiocomposerwidget.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_PumpIOComposerWidget_t {
    QByteArrayData data[15];
    char stringdata0[184];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PumpIOComposerWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PumpIOComposerWidget_t qt_meta_stringdata_PumpIOComposerWidget = {
    {
QT_MOC_LITERAL(0, 0, 20), // "PumpIOComposerWidget"
QT_MOC_LITERAL(1, 21, 10), // "submitPost"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 4), // "text"
QT_MOC_LITERAL(4, 38, 16), // "slotPostSubmited"
QT_MOC_LITERAL(5, 55, 16), // "Choqok::Account*"
QT_MOC_LITERAL(6, 72, 10), // "theAccount"
QT_MOC_LITERAL(7, 83, 13), // "Choqok::Post*"
QT_MOC_LITERAL(8, 97, 4), // "post"
QT_MOC_LITERAL(9, 102, 12), // "slotSetReply"
QT_MOC_LITERAL(10, 115, 9), // "replyToId"
QT_MOC_LITERAL(11, 125, 15), // "replyToUsername"
QT_MOC_LITERAL(12, 141, 17), // "replyToObjectType"
QT_MOC_LITERAL(13, 159, 12), // "cancelAttach"
QT_MOC_LITERAL(14, 172, 11) // "attachMedia"

    },
    "PumpIOComposerWidget\0submitPost\0\0text\0"
    "slotPostSubmited\0Choqok::Account*\0"
    "theAccount\0Choqok::Post*\0post\0"
    "slotSetReply\0replyToId\0replyToUsername\0"
    "replyToObjectType\0cancelAttach\0"
    "attachMedia"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PumpIOComposerWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x09 /* Protected */,
       4,    2,   42,    2, 0x09 /* Protected */,
       9,    3,   47,    2, 0x09 /* Protected */,
      13,    0,   54,    2, 0x09 /* Protected */,
      14,    0,   55,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7,    6,    8,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   10,   11,   12,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void PumpIOComposerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PumpIOComposerWidget *_t = static_cast<PumpIOComposerWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->submitPost((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->slotPostSubmited((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< Choqok::Post*(*)>(_a[2]))); break;
        case 2: _t->slotSetReply((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->cancelAttach(); break;
        case 4: _t->attachMedia(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Choqok::Account* >(); break;
            }
            break;
        }
    }
}

const QMetaObject PumpIOComposerWidget::staticMetaObject = {
    { &Choqok::UI::ComposerWidget::staticMetaObject, qt_meta_stringdata_PumpIOComposerWidget.data,
      qt_meta_data_PumpIOComposerWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *PumpIOComposerWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PumpIOComposerWidget.stringdata0))
        return static_cast<void*>(this);
    return Choqok::UI::ComposerWidget::qt_metacast(_clname);
}

int PumpIOComposerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Choqok::UI::ComposerWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
