/****************************************************************************
** Meta object code from reading C++ file 'choqokmainwindow.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/choqokmainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'choqokmainwindow.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__MainWindow_t {
    QByteArrayData data[13];
    char stringdata0[205];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Choqok__UI__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Choqok__UI__MainWindow_t qt_meta_stringdata_Choqok__UI__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Choqok::UI::MainWindow"
QT_MOC_LITERAL(1, 23, 15), // "updateTimelines"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 13), // "markAllAsRead"
QT_MOC_LITERAL(4, 54, 14), // "removeOldPosts"
QT_MOC_LITERAL(5, 69, 16), // "quickPostCreated"
QT_MOC_LITERAL(6, 86, 29), // "currentMicroBlogWidgetChanged"
QT_MOC_LITERAL(7, 116, 28), // "Choqok::UI::MicroBlogWidget*"
QT_MOC_LITERAL(8, 145, 6), // "widget"
QT_MOC_LITERAL(9, 152, 17), // "showStatusMessage"
QT_MOC_LITERAL(10, 170, 7), // "message"
QT_MOC_LITERAL(11, 178, 11), // "isPermanent"
QT_MOC_LITERAL(12, 190, 14) // "activateChoqok"

    },
    "Choqok::UI::MainWindow\0updateTimelines\0"
    "\0markAllAsRead\0removeOldPosts\0"
    "quickPostCreated\0currentMicroBlogWidgetChanged\0"
    "Choqok::UI::MicroBlogWidget*\0widget\0"
    "showStatusMessage\0message\0isPermanent\0"
    "activateChoqok"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Choqok__UI__MainWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    0,   57,    2, 0x06 /* Public */,
       6,    1,   58,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    2,   61,    2, 0x0a /* Public */,
       9,    1,   66,    2, 0x2a /* Public | MethodCloned */,
      12,    0,   69,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   10,   11,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,

       0        // eod
};

void Choqok::UI::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainWindow *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->updateTimelines(); break;
        case 1: _t->markAllAsRead(); break;
        case 2: _t->removeOldPosts(); break;
        case 3: _t->quickPostCreated(); break;
        case 4: _t->currentMicroBlogWidgetChanged((*reinterpret_cast< Choqok::UI::MicroBlogWidget*(*)>(_a[1]))); break;
        case 5: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->activateChoqok(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MainWindow::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::updateTimelines)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::markAllAsRead)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::removeOldPosts)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::quickPostCreated)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)(Choqok::UI::MicroBlogWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::currentMicroBlogWidgetChanged)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject Choqok::UI::MainWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_Choqok__UI__MainWindow.data,
      qt_meta_data_Choqok__UI__MainWindow,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Choqok::UI::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KXmlGuiWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void Choqok::UI::MainWindow::updateTimelines()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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

// SIGNAL 2
void Choqok::UI::MainWindow::removeOldPosts()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Choqok::UI::MainWindow::quickPostCreated()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void Choqok::UI::MainWindow::currentMicroBlogWidgetChanged(Choqok::UI::MicroBlogWidget * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
