/****************************************************************************
** Meta object code from reading C++ file 'postwidget.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/libchoqok/ui/postwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'postwidget.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_Choqok__UI__PostWidget_t {
    QByteArrayData data[39];
    char stringdata0[446];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Choqok__UI__PostWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Choqok__UI__PostWidget_t qt_meta_stringdata_Choqok__UI__PostWidget = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Choqok::UI::PostWidget"
QT_MOC_LITERAL(1, 23, 10), // "resendPost"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 4), // "text"
QT_MOC_LITERAL(4, 40, 10), // "postReaded"
QT_MOC_LITERAL(5, 51, 5), // "reply"
QT_MOC_LITERAL(6, 57, 3), // "txt"
QT_MOC_LITERAL(7, 61, 9), // "replyToId"
QT_MOC_LITERAL(8, 71, 15), // "replyToUsername"
QT_MOC_LITERAL(9, 87, 12), // "aboutClosing"
QT_MOC_LITERAL(10, 100, 6), // "postId"
QT_MOC_LITERAL(11, 107, 11), // "PostWidget*"
QT_MOC_LITERAL(12, 119, 6), // "widget"
QT_MOC_LITERAL(13, 126, 10), // "setUiStyle"
QT_MOC_LITERAL(14, 137, 11), // "checkAnchor"
QT_MOC_LITERAL(15, 149, 3), // "url"
QT_MOC_LITERAL(16, 153, 9), // "setHeight"
QT_MOC_LITERAL(17, 163, 8), // "updateUi"
QT_MOC_LITERAL(18, 172, 17), // "removeCurrentPost"
QT_MOC_LITERAL(19, 190, 14), // "slotResendPost"
QT_MOC_LITERAL(20, 205, 22), // "slotCurrentPostRemoved"
QT_MOC_LITERAL(21, 228, 16), // "Choqok::Account*"
QT_MOC_LITERAL(22, 245, 10), // "theAccount"
QT_MOC_LITERAL(23, 256, 13), // "Choqok::Post*"
QT_MOC_LITERAL(24, 270, 4), // "post"
QT_MOC_LITERAL(25, 275, 13), // "slotPostError"
QT_MOC_LITERAL(26, 289, 28), // "Choqok::MicroBlog::ErrorType"
QT_MOC_LITERAL(27, 318, 5), // "error"
QT_MOC_LITERAL(28, 324, 12), // "errorMessage"
QT_MOC_LITERAL(29, 337, 16), // "avatarFetchError"
QT_MOC_LITERAL(30, 354, 9), // "remoteUrl"
QT_MOC_LITERAL(31, 364, 6), // "errMsg"
QT_MOC_LITERAL(32, 371, 13), // "avatarFetched"
QT_MOC_LITERAL(33, 385, 6), // "pixmap"
QT_MOC_LITERAL(34, 392, 16), // "slotImageFetched"
QT_MOC_LITERAL(35, 409, 15), // "mousePressEvent"
QT_MOC_LITERAL(36, 425, 12), // "QMouseEvent*"
QT_MOC_LITERAL(37, 438, 2), // "ev"
QT_MOC_LITERAL(38, 441, 4) // "read"

    },
    "Choqok::UI::PostWidget\0resendPost\0\0"
    "text\0postReaded\0reply\0txt\0replyToId\0"
    "replyToUsername\0aboutClosing\0postId\0"
    "PostWidget*\0widget\0setUiStyle\0checkAnchor\0"
    "url\0setHeight\0updateUi\0removeCurrentPost\0"
    "slotResendPost\0slotCurrentPostRemoved\0"
    "Choqok::Account*\0theAccount\0Choqok::Post*\0"
    "post\0slotPostError\0Choqok::MicroBlog::ErrorType\0"
    "error\0errorMessage\0avatarFetchError\0"
    "remoteUrl\0errMsg\0avatarFetched\0pixmap\0"
    "slotImageFetched\0mousePressEvent\0"
    "QMouseEvent*\0ev\0read"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Choqok__UI__PostWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       1,  150, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       4,    0,   97,    2, 0x06 /* Public */,
       5,    3,   98,    2, 0x06 /* Public */,
       9,    2,  105,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  110,    2, 0x0a /* Public */,
      14,    1,  111,    2, 0x09 /* Protected */,
      16,    0,  114,    2, 0x09 /* Protected */,
      17,    0,  115,    2, 0x09 /* Protected */,
      18,    0,  116,    2, 0x09 /* Protected */,
      19,    0,  117,    2, 0x09 /* Protected */,
      20,    2,  118,    2, 0x09 /* Protected */,
      25,    4,  123,    2, 0x09 /* Protected */,
      29,    2,  132,    2, 0x09 /* Protected */,
      32,    2,  137,    2, 0x09 /* Protected */,
      34,    2,  142,    2, 0x09 /* Protected */,
      35,    1,  147,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21, 0x80000000 | 23,   22,   24,
    QMetaType::Void, 0x80000000 | 21, 0x80000000 | 23, 0x80000000 | 26, QMetaType::QString,   22,   24,   27,   28,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   30,   31,
    QMetaType::Void, QMetaType::QString, QMetaType::QPixmap,   30,   33,
    QMetaType::Void, QMetaType::QString, QMetaType::QPixmap,   30,   33,
    QMetaType::Void, 0x80000000 | 36,   37,

 // properties: name, type, flags
      38, QMetaType::Bool, 0x00095001,

       0        // eod
};

void Choqok::UI::PostWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PostWidget *_t = static_cast<PostWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->resendPost((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->postReaded(); break;
        case 2: _t->reply((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->aboutClosing((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< PostWidget*(*)>(_a[2]))); break;
        case 4: _t->setUiStyle(); break;
        case 5: _t->checkAnchor((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 6: _t->setHeight(); break;
        case 7: _t->updateUi(); break;
        case 8: _t->removeCurrentPost(); break;
        case 9: _t->slotResendPost(); break;
        case 10: _t->slotCurrentPostRemoved((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< Choqok::Post*(*)>(_a[2]))); break;
        case 11: _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 12: _t->avatarFetchError((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 13: _t->avatarFetched((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QPixmap(*)>(_a[2]))); break;
        case 14: _t->slotImageFetched((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QPixmap(*)>(_a[2]))); break;
        case 15: _t->mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PostWidget* >(); break;
            }
            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 11:
            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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PostWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PostWidget::resendPost)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PostWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PostWidget::postReaded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PostWidget::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PostWidget::reply)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PostWidget::*_t)(const QString & , PostWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PostWidget::aboutClosing)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        PostWidget *_t = static_cast<PostWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isRead(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Choqok::UI::PostWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Choqok__UI__PostWidget.data,
      qt_meta_data_Choqok__UI__PostWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Choqok::UI::PostWidget::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Choqok::UI::PostWidget::resendPost(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Choqok::UI::PostWidget::postReaded()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Choqok::UI::PostWidget::reply(const QString & _t1, const QString & _t2, const QString & _t3)
{
    void *_a[] = { Q_NULLPTR, 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, 2, _a);
}

// SIGNAL 3
void Choqok::UI::PostWidget::aboutClosing(const QString & _t1, PostWidget * _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
