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

#include "../../src/plasma-sdk-5.8.9/engineexplorer/ktreeviewsearchline.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ktreeviewsearchline.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KTreeViewSearchLine_t {
    QByteArrayData data[37];
    char stringdata0[468];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTreeViewSearchLine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTreeViewSearchLine_t qt_meta_stringdata_KTreeViewSearchLine = {
    {
QT_MOC_LITERAL(0, 0, 19), // "KTreeViewSearchLine"
QT_MOC_LITERAL(1, 20, 11), // "addTreeView"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 10), // "QTreeView*"
QT_MOC_LITERAL(4, 44, 8), // "treeView"
QT_MOC_LITERAL(5, 53, 14), // "removeTreeView"
QT_MOC_LITERAL(6, 68, 12), // "updateSearch"
QT_MOC_LITERAL(7, 81, 7), // "pattern"
QT_MOC_LITERAL(8, 89, 18), // "setCaseSensitivity"
QT_MOC_LITERAL(9, 108, 19), // "Qt::CaseSensitivity"
QT_MOC_LITERAL(10, 128, 15), // "caseSensitivity"
QT_MOC_LITERAL(11, 144, 21), // "setKeepParentsVisible"
QT_MOC_LITERAL(12, 166, 5), // "value"
QT_MOC_LITERAL(13, 172, 16), // "setSearchColumns"
QT_MOC_LITERAL(14, 189, 10), // "QList<int>"
QT_MOC_LITERAL(15, 200, 7), // "columns"
QT_MOC_LITERAL(16, 208, 11), // "setTreeView"
QT_MOC_LITERAL(17, 220, 12), // "setTreeViews"
QT_MOC_LITERAL(18, 233, 17), // "QList<QTreeView*>"
QT_MOC_LITERAL(19, 251, 9), // "treeViews"
QT_MOC_LITERAL(20, 261, 11), // "itemMatches"
QT_MOC_LITERAL(21, 273, 4), // "item"
QT_MOC_LITERAL(22, 278, 3), // "row"
QT_MOC_LITERAL(23, 282, 21), // "canChooseColumnsCheck"
QT_MOC_LITERAL(24, 304, 11), // "queueSearch"
QT_MOC_LITERAL(25, 316, 6), // "search"
QT_MOC_LITERAL(26, 323, 14), // "activateSearch"
QT_MOC_LITERAL(27, 338, 15), // "treeViewDeleted"
QT_MOC_LITERAL(28, 354, 19), // "slotColumnActivated"
QT_MOC_LITERAL(29, 374, 8), // "QAction*"
QT_MOC_LITERAL(30, 383, 21), // "slotAllVisibleColumns"
QT_MOC_LITERAL(31, 405, 12), // "rowsInserted"
QT_MOC_LITERAL(32, 418, 6), // "parent"
QT_MOC_LITERAL(33, 425, 5), // "start"
QT_MOC_LITERAL(34, 431, 3), // "end"
QT_MOC_LITERAL(35, 435, 13), // "caseSensitity"
QT_MOC_LITERAL(36, 449, 18) // "keepParentsVisible"

    },
    "KTreeViewSearchLine\0addTreeView\0\0"
    "QTreeView*\0treeView\0removeTreeView\0"
    "updateSearch\0pattern\0setCaseSensitivity\0"
    "Qt::CaseSensitivity\0caseSensitivity\0"
    "setKeepParentsVisible\0value\0"
    "setSearchColumns\0QList<int>\0columns\0"
    "setTreeView\0setTreeViews\0QList<QTreeView*>\0"
    "treeViews\0itemMatches\0item\0row\0"
    "canChooseColumnsCheck\0queueSearch\0"
    "search\0activateSearch\0treeViewDeleted\0"
    "slotColumnActivated\0QAction*\0"
    "slotAllVisibleColumns\0rowsInserted\0"
    "parent\0start\0end\0caseSensitity\0"
    "keepParentsVisible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTreeViewSearchLine[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x0a /* Public */,
       5,    1,  102,    2, 0x0a /* Public */,
       6,    1,  105,    2, 0x0a /* Public */,
       6,    0,  108,    2, 0x2a /* Public | MethodCloned */,
       8,    1,  109,    2, 0x0a /* Public */,
      11,    1,  112,    2, 0x0a /* Public */,
      13,    1,  115,    2, 0x0a /* Public */,
      16,    1,  118,    2, 0x0a /* Public */,
      17,    1,  121,    2, 0x0a /* Public */,
      20,    3,  124,    2, 0x0a /* Public */,
      23,    0,  131,    2, 0x0a /* Public */,
      24,    1,  132,    2, 0x09 /* Protected */,
      26,    0,  135,    2, 0x09 /* Protected */,
      27,    1,  136,    2, 0x08 /* Private */,
      28,    1,  139,    2, 0x08 /* Private */,
      30,    0,  142,    2, 0x08 /* Private */,
      31,    3,  143,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Bool, QMetaType::QModelIndex, QMetaType::Int, QMetaType::QString,   21,   22,    7,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar,    2,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   32,   33,   34,

 // properties: name, type, flags
      35, 0x80000000 | 9, 0x0009500b,
      36, QMetaType::Bool, 0x00095103,

       0        // eod
};

void KTreeViewSearchLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KTreeViewSearchLine *_t = static_cast<KTreeViewSearchLine *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addTreeView((*reinterpret_cast< QTreeView*(*)>(_a[1]))); break;
        case 1: _t->removeTreeView((*reinterpret_cast< QTreeView*(*)>(_a[1]))); break;
        case 2: _t->updateSearch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->updateSearch(); break;
        case 4: _t->setCaseSensitivity((*reinterpret_cast< Qt::CaseSensitivity(*)>(_a[1]))); break;
        case 5: _t->setKeepParentsVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setSearchColumns((*reinterpret_cast< const QList<int>(*)>(_a[1]))); break;
        case 7: _t->setTreeView((*reinterpret_cast< QTreeView*(*)>(_a[1]))); break;
        case 8: _t->setTreeViews((*reinterpret_cast< const QList<QTreeView*>(*)>(_a[1]))); break;
        case 9: { bool _r = _t->itemMatches((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->canChooseColumnsCheck();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->queueSearch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->activateSearch(); break;
        case 13: _t->d->treeViewDeleted((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 14: _t->d->slotColumnActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 15: _t->d->slotAllVisibleColumns(); break;
        case 16: _t->rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_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< QList<int> >(); break;
            }
            break;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KTreeViewSearchLine *_t = static_cast<KTreeViewSearchLine *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt::CaseSensitivity*>(_v) = _t->caseSensitivity(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->keepParentsVisible(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KTreeViewSearchLine *_t = static_cast<KTreeViewSearchLine *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCaseSensitivity(*reinterpret_cast< Qt::CaseSensitivity*>(_v)); break;
        case 1: _t->setKeepParentsVisible(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KTreeViewSearchLine::staticMetaObject = {
    { &KLineEdit::staticMetaObject, qt_meta_stringdata_KTreeViewSearchLine.data,
      qt_meta_data_KTreeViewSearchLine,  qt_static_metacall, nullptr, nullptr}
};


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

void *KTreeViewSearchLine::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KTreeViewSearchLine.stringdata0))
        return static_cast<void*>(this);
    return KLineEdit::qt_metacast(_clname);
}

int KTreeViewSearchLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KLineEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_KTreeViewSearchLineWidget_t {
    QByteArrayData data[3];
    char stringdata0[41];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTreeViewSearchLineWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTreeViewSearchLineWidget_t qt_meta_stringdata_KTreeViewSearchLineWidget = {
    {
QT_MOC_LITERAL(0, 0, 25), // "KTreeViewSearchLineWidget"
QT_MOC_LITERAL(1, 26, 13), // "createWidgets"
QT_MOC_LITERAL(2, 40, 0) // ""

    },
    "KTreeViewSearchLineWidget\0createWidgets\0"
    ""
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTreeViewSearchLineWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KTreeViewSearchLineWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KTreeViewSearchLineWidget *_t = static_cast<KTreeViewSearchLineWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->createWidgets(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KTreeViewSearchLineWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KTreeViewSearchLineWidget.data,
      qt_meta_data_KTreeViewSearchLineWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *KTreeViewSearchLineWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KTreeViewSearchLineWidget.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

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