/****************************************************************************
** Meta object code from reading C++ file 'pumpiopostwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/choqok-1.6.0/microblogs/pumpio/pumpiopostwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pumpiopostwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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_PumpIOPostWidget_t {
    QByteArrayData data[14];
    char stringdata0[188];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PumpIOPostWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PumpIOPostWidget_t qt_meta_stringdata_PumpIOPostWidget = {
    {
QT_MOC_LITERAL(0, 0, 16), // "PumpIOPostWidget"
QT_MOC_LITERAL(1, 17, 13), // "slotPostError"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 16), // "Choqok::Account*"
QT_MOC_LITERAL(4, 49, 10), // "theAccount"
QT_MOC_LITERAL(5, 60, 13), // "Choqok::Post*"
QT_MOC_LITERAL(6, 74, 4), // "post"
QT_MOC_LITERAL(7, 79, 28), // "Choqok::MicroBlog::ErrorType"
QT_MOC_LITERAL(8, 108, 5), // "error"
QT_MOC_LITERAL(9, 114, 12), // "errorMessage"
QT_MOC_LITERAL(10, 127, 14), // "slotResendPost"
QT_MOC_LITERAL(11, 142, 11), // "slotReplyTo"
QT_MOC_LITERAL(12, 154, 18), // "slotToggleFavorite"
QT_MOC_LITERAL(13, 173, 14) // "toggleFavorite"

    },
    "PumpIOPostWidget\0slotPostError\0\0"
    "Choqok::Account*\0theAccount\0Choqok::Post*\0"
    "post\0Choqok::MicroBlog::ErrorType\0"
    "error\0errorMessage\0slotResendPost\0"
    "slotReplyTo\0slotToggleFavorite\0"
    "toggleFavorite"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PumpIOPostWidget[] = {

 // 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,    4,   39,    2, 0x09 /* Protected */,
      10,    0,   48,    2, 0x09 /* Protected */,
      11,    0,   49,    2, 0x09 /* Protected */,
      12,    2,   50,    2, 0x09 /* Protected */,
      13,    0,   55,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, QMetaType::QString,    4,    6,    8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    2,    2,
    QMetaType::Void,

       0        // eod
};

void PumpIOPostWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PumpIOPostWidget *_t = static_cast<PumpIOPostWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotPostError((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< Choqok::Post*(*)>(_a[2])),(*reinterpret_cast< Choqok::MicroBlog::ErrorType(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 1: _t->slotResendPost(); break;
        case 2: _t->slotReplyTo(); break;
        case 3: _t->slotToggleFavorite((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< Choqok::Post*(*)>(_a[2]))); break;
        case 4: _t->toggleFavorite(); 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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Choqok::Account* >(); break;
            }
            break;
        case 3:
            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 PumpIOPostWidget::staticMetaObject = {
    { &Choqok::UI::PostWidget::staticMetaObject, qt_meta_stringdata_PumpIOPostWidget.data,
      qt_meta_data_PumpIOPostWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *PumpIOPostWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_PumpIOPostWidget.stringdata0))
        return static_cast<void*>(const_cast< PumpIOPostWidget*>(this));
    return Choqok::UI::PostWidget::qt_metacast(_clname);
}

int PumpIOPostWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Choqok::UI::PostWidget::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_END_MOC_NAMESPACE
