/****************************************************************************
** Meta object code from reading C++ file 'view.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/plasma-workspace-5.8.8/krunner/view.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'view.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_View_t {
    QByteArrayData data[25];
    char stringdata0[339];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_View_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_View_t qt_meta_stringdata_View = {
    {
QT_MOC_LITERAL(0, 0, 4), // "View"
QT_MOC_LITERAL(1, 5, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 21, 19), // "org.kde.krunner.App"
QT_MOC_LITERAL(3, 41, 14), // "historyChanged"
QT_MOC_LITERAL(4, 56, 0), // ""
QT_MOC_LITERAL(5, 57, 7), // "display"
QT_MOC_LITERAL(6, 65, 19), // "displaySingleRunner"
QT_MOC_LITERAL(7, 85, 10), // "runnerName"
QT_MOC_LITERAL(8, 96, 28), // "displayWithClipboardContents"
QT_MOC_LITERAL(9, 125, 5), // "query"
QT_MOC_LITERAL(10, 131, 4), // "term"
QT_MOC_LITERAL(11, 136, 17), // "querySingleRunner"
QT_MOC_LITERAL(12, 154, 10), // "switchUser"
QT_MOC_LITERAL(13, 165, 20), // "displayConfiguration"
QT_MOC_LITERAL(14, 186, 21), // "screenGeometryChanged"
QT_MOC_LITERAL(15, 208, 14), // "resetScreenPos"
QT_MOC_LITERAL(16, 223, 13), // "displayOrHide"
QT_MOC_LITERAL(17, 237, 12), // "reloadConfig"
QT_MOC_LITERAL(18, 250, 15), // "objectIncubated"
QT_MOC_LITERAL(19, 266, 22), // "slotFocusWindowChanged"
QT_MOC_LITERAL(20, 289, 12), // "addToHistory"
QT_MOC_LITERAL(21, 302, 4), // "item"
QT_MOC_LITERAL(22, 307, 17), // "removeFromHistory"
QT_MOC_LITERAL(23, 325, 5), // "index"
QT_MOC_LITERAL(24, 331, 7) // "history"

    },
    "View\0D-Bus Interface\0org.kde.krunner.App\0"
    "historyChanged\0\0display\0displaySingleRunner\0"
    "runnerName\0displayWithClipboardContents\0"
    "query\0term\0querySingleRunner\0switchUser\0"
    "displayConfiguration\0screenGeometryChanged\0"
    "resetScreenPos\0displayOrHide\0reloadConfig\0"
    "objectIncubated\0slotFocusWindowChanged\0"
    "addToHistory\0item\0removeFromHistory\0"
    "index\0history"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_View[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   96,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   97,    4, 0x0a /* Public */,
       6,    1,   98,    4, 0x0a /* Public */,
       8,    0,  101,    4, 0x0a /* Public */,
       9,    1,  102,    4, 0x0a /* Public */,
      11,    2,  105,    4, 0x0a /* Public */,
      12,    0,  110,    4, 0x0a /* Public */,
      13,    0,  111,    4, 0x0a /* Public */,
      14,    0,  112,    4, 0x09 /* Protected */,
      15,    0,  113,    4, 0x09 /* Protected */,
      16,    0,  114,    4, 0x09 /* Protected */,
      17,    0,  115,    4, 0x09 /* Protected */,
      18,    0,  116,    4, 0x09 /* Protected */,
      19,    0,  117,    4, 0x09 /* Protected */,

 // methods: name, argc, parameters, tag, flags
      20,    1,  118,    4, 0x02 /* Public */,
      22,    1,  121,    4, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    7,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::QString,   21,
    QMetaType::Void, QMetaType::Int,   23,

 // properties: name, type, flags
      24, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       0,

       0        // eod
};

void View::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        View *_t = static_cast<View *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->historyChanged(); break;
        case 1: _t->display(); break;
        case 2: _t->displaySingleRunner((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->displayWithClipboardContents(); break;
        case 4: _t->query((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->querySingleRunner((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->switchUser(); break;
        case 7: _t->displayConfiguration(); break;
        case 8: _t->screenGeometryChanged(); break;
        case 9: _t->resetScreenPos(); break;
        case 10: _t->displayOrHide(); break;
        case 11: _t->reloadConfig(); break;
        case 12: _t->objectIncubated(); break;
        case 13: _t->slotFocusWindowChanged(); break;
        case 14: _t->addToHistory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->removeFromHistory((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (View::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&View::historyChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        View *_t = static_cast<View *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QStringList*>(_v) = _t->history(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject View::staticMetaObject = {
    { &PlasmaQuick::Dialog::staticMetaObject, qt_meta_stringdata_View.data,
      qt_meta_data_View,  qt_static_metacall, nullptr, nullptr}
};


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

void *View::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_View.stringdata0))
        return static_cast<void*>(this);
    return PlasmaQuick::Dialog::qt_metacast(_clname);
}

int View::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PlasmaQuick::Dialog::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _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 View::historyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
