/****************************************************************************
** Meta object code from reading C++ file 'twitterapisearch.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/helperlibs/twitterapihelper/twitterapisearch.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'twitterapisearch.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_TwitterApiSearch_t {
    QByteArrayData data[17];
    char stringdata0[195];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TwitterApiSearch_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TwitterApiSearch_t qt_meta_stringdata_TwitterApiSearch = {
    {
QT_MOC_LITERAL(0, 0, 16), // "TwitterApiSearch"
QT_MOC_LITERAL(1, 17, 21), // "searchResultsReceived"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 10), // "SearchInfo"
QT_MOC_LITERAL(4, 51, 10), // "searchInfo"
QT_MOC_LITERAL(5, 62, 21), // "QList<Choqok::Post*>&"
QT_MOC_LITERAL(6, 84, 9), // "postsList"
QT_MOC_LITERAL(7, 94, 5), // "error"
QT_MOC_LITERAL(8, 100, 7), // "message"
QT_MOC_LITERAL(9, 108, 20), // "requestSearchResults"
QT_MOC_LITERAL(10, 129, 13), // "sinceStatusId"
QT_MOC_LITERAL(11, 143, 5), // "count"
QT_MOC_LITERAL(12, 149, 4), // "page"
QT_MOC_LITERAL(13, 154, 16), // "Choqok::Account*"
QT_MOC_LITERAL(14, 171, 10), // "theAccount"
QT_MOC_LITERAL(15, 182, 5), // "query"
QT_MOC_LITERAL(16, 188, 6) // "option"

    },
    "TwitterApiSearch\0searchResultsReceived\0"
    "\0SearchInfo\0searchInfo\0QList<Choqok::Post*>&\0"
    "postsList\0error\0message\0requestSearchResults\0"
    "sinceStatusId\0count\0page\0Choqok::Account*\0"
    "theAccount\0query\0option"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TwitterApiSearch[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   64,    2, 0x06 /* Public */,
       7,    1,   69,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    4,   72,    2, 0x0a /* Public */,
       9,    3,   81,    2, 0x2a /* Public | MethodCloned */,
       9,    2,   88,    2, 0x2a /* Public | MethodCloned */,
       9,    1,   93,    2, 0x2a /* Public | MethodCloned */,
       9,    6,   96,    2, 0x0a /* Public */,
       9,    5,  109,    2, 0x2a /* Public | MethodCloned */,
       9,    4,  120,    2, 0x2a /* Public | MethodCloned */,
       9,    3,  129,    2, 0x2a /* Public | MethodCloned */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::UInt, QMetaType::UInt,    4,   10,   11,   12,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::UInt,    4,   10,   11,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    4,   10,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QString, QMetaType::Int, QMetaType::QString, QMetaType::UInt, QMetaType::UInt,   14,   15,   16,   10,   11,   12,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QString, QMetaType::Int, QMetaType::QString, QMetaType::UInt,   14,   15,   16,   10,   11,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QString, QMetaType::Int, QMetaType::QString,   14,   15,   16,   10,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QString, QMetaType::Int,   14,   15,   16,

       0        // eod
};

void TwitterApiSearch::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TwitterApiSearch *_t = static_cast<TwitterApiSearch *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->searchResultsReceived((*reinterpret_cast< const SearchInfo(*)>(_a[1])),(*reinterpret_cast< QList<Choqok::Post*>(*)>(_a[2]))); break;
        case 1: _t->error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->requestSearchResults((*reinterpret_cast< const SearchInfo(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< uint(*)>(_a[4]))); break;
        case 3: _t->requestSearchResults((*reinterpret_cast< const SearchInfo(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 4: _t->requestSearchResults((*reinterpret_cast< const SearchInfo(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->requestSearchResults((*reinterpret_cast< const SearchInfo(*)>(_a[1]))); break;
        case 6: _t->requestSearchResults((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5])),(*reinterpret_cast< uint(*)>(_a[6]))); break;
        case 7: _t->requestSearchResults((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< uint(*)>(_a[5]))); break;
        case 8: _t->requestSearchResults((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 9: _t->requestSearchResults((*reinterpret_cast< Choqok::Account*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            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 7:
            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 8:
            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 9:
            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 (TwitterApiSearch::*_t)(const SearchInfo & , QList<Choqok::Post*> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TwitterApiSearch::searchResultsReceived)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TwitterApiSearch::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TwitterApiSearch::error)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject TwitterApiSearch::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TwitterApiSearch.data,
      qt_meta_data_TwitterApiSearch,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *TwitterApiSearch::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TwitterApiSearch.stringdata0))
        return static_cast<void*>(const_cast< TwitterApiSearch*>(this));
    return QObject::qt_metacast(_clname);
}

int TwitterApiSearch::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void TwitterApiSearch::searchResultsReceived(const SearchInfo & _t1, QList<Choqok::Post*> & _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, 0, _a);
}

// SIGNAL 1
void TwitterApiSearch::error(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
