/****************************************************************************
** Meta object code from reading C++ file 'timelinewidget.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/timelinewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'timelinewidget.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__TimelineWidget_t {
    QByteArrayData data[20];
    char stringdata0[251];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Choqok__UI__TimelineWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Choqok__UI__TimelineWidget_t qt_meta_stringdata_Choqok__UI__TimelineWidget = {
    {
QT_MOC_LITERAL(0, 0, 26), // "Choqok::UI::TimelineWidget"
QT_MOC_LITERAL(1, 27, 17), // "forwardResendPost"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 4), // "post"
QT_MOC_LITERAL(4, 51, 12), // "forwardReply"
QT_MOC_LITERAL(5, 64, 3), // "txt"
QT_MOC_LITERAL(6, 68, 9), // "replyToId"
QT_MOC_LITERAL(7, 78, 15), // "replyToUsername"
QT_MOC_LITERAL(8, 94, 17), // "updateUnreadCount"
QT_MOC_LITERAL(9, 112, 6), // "change"
QT_MOC_LITERAL(10, 119, 13), // "markAllAsRead"
QT_MOC_LITERAL(11, 133, 15), // "settingsChanged"
QT_MOC_LITERAL(12, 149, 14), // "scrollToBottom"
QT_MOC_LITERAL(13, 164, 17), // "slotOnePostReaded"
QT_MOC_LITERAL(14, 182, 12), // "saveTimeline"
QT_MOC_LITERAL(15, 195, 12), // "loadTimeline"
QT_MOC_LITERAL(16, 208, 16), // "postWidgetClosed"
QT_MOC_LITERAL(17, 225, 6), // "postId"
QT_MOC_LITERAL(18, 232, 11), // "PostWidget*"
QT_MOC_LITERAL(19, 244, 6) // "widget"

    },
    "Choqok::UI::TimelineWidget\0forwardResendPost\0"
    "\0post\0forwardReply\0txt\0replyToId\0"
    "replyToUsername\0updateUnreadCount\0"
    "change\0markAllAsRead\0settingsChanged\0"
    "scrollToBottom\0slotOnePostReaded\0"
    "saveTimeline\0loadTimeline\0postWidgetClosed\0"
    "postId\0PostWidget*\0widget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Choqok__UI__TimelineWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       4,    3,   67,    2, 0x06 /* Public */,
       8,    1,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   77,    2, 0x0a /* Public */,
      11,    0,   78,    2, 0x0a /* Public */,
      12,    0,   79,    2, 0x0a /* Public */,
      13,    0,   80,    2, 0x09 /* Protected */,
      14,    0,   81,    2, 0x09 /* Protected */,
      15,    0,   82,    2, 0x09 /* Protected */,
      16,    2,   83,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,
    QMetaType::Void, QMetaType::Int,    9,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 18,   17,   19,

       0        // eod
};

void Choqok::UI::TimelineWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TimelineWidget *_t = static_cast<TimelineWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->forwardResendPost((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->forwardReply((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 2: _t->updateUnreadCount((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->markAllAsRead(); break;
        case 4: _t->settingsChanged(); break;
        case 5: _t->scrollToBottom(); break;
        case 6: _t->slotOnePostReaded(); break;
        case 7: _t->saveTimeline(); break;
        case 8: _t->loadTimeline(); break;
        case 9: _t->postWidgetClosed((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< PostWidget*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TimelineWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TimelineWidget::forwardResendPost)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TimelineWidget::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TimelineWidget::forwardReply)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TimelineWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TimelineWidget::updateUnreadCount)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Choqok::UI::TimelineWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Choqok__UI__TimelineWidget.data,
      qt_meta_data_Choqok__UI__TimelineWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Choqok::UI::TimelineWidget::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void Choqok::UI::TimelineWidget::forwardResendPost(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::TimelineWidget::forwardReply(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, 1, _a);
}

// SIGNAL 2
void Choqok::UI::TimelineWidget::updateUnreadCount(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_END_MOC_NAMESPACE
