/****************************************************************************
** Meta object code from reading C++ file 'quickpost.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/libchoqok/ui/quickpost.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'quickpost.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_Choqok__UI__QuickPost_t {
    QByteArrayData data[31];
    char stringdata0[363];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Choqok__UI__QuickPost_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Choqok__UI__QuickPost_t qt_meta_stringdata_Choqok__UI__QuickPost = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Choqok::UI::QuickPost"
QT_MOC_LITERAL(1, 22, 16), // "newPostSubmitted"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 17), // "Choqok::JobResult"
QT_MOC_LITERAL(4, 58, 6), // "result"
QT_MOC_LITERAL(5, 65, 13), // "Choqok::Post*"
QT_MOC_LITERAL(6, 79, 7), // "newPost"
QT_MOC_LITERAL(7, 87, 4), // "show"
QT_MOC_LITERAL(8, 92, 10), // "submitPost"
QT_MOC_LITERAL(9, 103, 9), // "newStatus"
QT_MOC_LITERAL(10, 113, 7), // "setText"
QT_MOC_LITERAL(11, 121, 4), // "text"
QT_MOC_LITERAL(12, 126, 10), // "appendText"
QT_MOC_LITERAL(13, 137, 16), // "slotAttachMedium"
QT_MOC_LITERAL(14, 154, 25), // "slotCurrentAccountChanged"
QT_MOC_LITERAL(15, 180, 8), // "checkAll"
QT_MOC_LITERAL(16, 189, 5), // "isAll"
QT_MOC_LITERAL(17, 195, 6), // "accept"
QT_MOC_LITERAL(18, 202, 10), // "addAccount"
QT_MOC_LITERAL(19, 213, 16), // "Choqok::Account*"
QT_MOC_LITERAL(20, 230, 7), // "account"
QT_MOC_LITERAL(21, 238, 13), // "removeAccount"
QT_MOC_LITERAL(22, 252, 5), // "alias"
QT_MOC_LITERAL(23, 258, 15), // "accountModified"
QT_MOC_LITERAL(24, 274, 10), // "theAccount"
QT_MOC_LITERAL(25, 285, 14), // "slotSubmitPost"
QT_MOC_LITERAL(26, 300, 4), // "post"
QT_MOC_LITERAL(27, 305, 9), // "postError"
QT_MOC_LITERAL(28, 315, 28), // "Choqok::MicroBlog::ErrorType"
QT_MOC_LITERAL(29, 344, 5), // "error"
QT_MOC_LITERAL(30, 350, 12) // "errorMessage"

    },
    "Choqok::UI::QuickPost\0newPostSubmitted\0"
    "\0Choqok::JobResult\0result\0Choqok::Post*\0"
    "newPost\0show\0submitPost\0newStatus\0"
    "setText\0text\0appendText\0slotAttachMedium\0"
    "slotCurrentAccountChanged\0checkAll\0"
    "isAll\0accept\0addAccount\0Choqok::Account*\0"
    "account\0removeAccount\0alias\0accountModified\0"
    "theAccount\0slotSubmitPost\0post\0postError\0"
    "Choqok::MicroBlog::ErrorType\0error\0"
    "errorMessage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Choqok__UI__QuickPost[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       1,    1,   94,    2, 0x26 /* Public | MethodCloned */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   97,    2, 0x0a /* Public */,
       8,    1,   98,    2, 0x0a /* Public */,
      10,    1,  101,    2, 0x0a /* Public */,
      12,    1,  104,    2, 0x0a /* Public */,
      13,    0,  107,    2, 0x09 /* Protected */,
      14,    1,  108,    2, 0x09 /* Protected */,
      15,    1,  111,    2, 0x09 /* Protected */,
      17,    0,  114,    2, 0x09 /* Protected */,
      18,    1,  115,    2, 0x09 /* Protected */,
      21,    1,  118,    2, 0x09 /* Protected */,
      23,    1,  121,    2, 0x09 /* Protected */,
      25,    2,  124,    2, 0x09 /* Protected */,
      27,    4,  129,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void, 0x80000000 | 19,   24,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 5,   24,   26,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 5, 0x80000000 | 28, QMetaType::QString,   24,   26,   29,   30,

       0        // eod
};

void Choqok::UI::QuickPost::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QuickPost *_t = static_cast<QuickPost *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->newPostSubmitted((*reinterpret_cast< Choqok::JobResult(*)>(_a[1])),(*reinterpret_cast< Choqok::Post*(*)>(_a[2]))); break;
        case 1: _t->newPostSubmitted((*reinterpret_cast< Choqok::JobResult(*)>(_a[1]))); break;
        case 2: _t->show(); break;
        case 3: _t->submitPost((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->appendText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->slotAttachMedium(); break;
        case 7: _t->slotCurrentAccountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->checkAll((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->accept(); break;
        case 10: _t->addAccount((*reinterpret_cast< Choqok::Account*(*)>(_a[1]))); break;
        case 11: _t->removeAccount((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->accountModified((*reinterpret_cast< Choqok::Account*(*)>(_a[1]))); break;
        case 13: _t->slotSubmitPost((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< Choqok::Post*(*)>(_a[2]))); break;
        case 14: _t->postError((*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;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            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 12:
            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 13:
            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 14:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QuickPost::*_t)(Choqok::JobResult , Choqok::Post * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuickPost::newPostSubmitted)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Choqok::UI::QuickPost::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Choqok__UI__QuickPost.data,
      qt_meta_data_Choqok__UI__QuickPost,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Choqok::UI::QuickPost::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void Choqok::UI::QuickPost::newPostSubmitted(Choqok::JobResult _t1, Choqok::Post * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
