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

#include <memory>
#include "../../../../kitemviews-5.116.0/src/ktreewidgetsearchline.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ktreewidgetsearchline.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_KTreeWidgetSearchLine_t {
    QByteArrayData data[35];
    char stringdata0[522];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTreeWidgetSearchLine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTreeWidgetSearchLine_t qt_meta_stringdata_KTreeWidgetSearchLine = {
    {
QT_MOC_LITERAL(0, 0, 21), // "KTreeWidgetSearchLine"
QT_MOC_LITERAL(1, 22, 13), // "hiddenChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(4, 54, 13), // "searchUpdated"
QT_MOC_LITERAL(5, 68, 12), // "searchString"
QT_MOC_LITERAL(6, 81, 13), // "addTreeWidget"
QT_MOC_LITERAL(7, 95, 12), // "QTreeWidget*"
QT_MOC_LITERAL(8, 108, 10), // "treeWidget"
QT_MOC_LITERAL(9, 119, 16), // "removeTreeWidget"
QT_MOC_LITERAL(10, 136, 12), // "updateSearch"
QT_MOC_LITERAL(11, 149, 7), // "pattern"
QT_MOC_LITERAL(12, 157, 18), // "setCaseSensitivity"
QT_MOC_LITERAL(13, 176, 19), // "Qt::CaseSensitivity"
QT_MOC_LITERAL(14, 196, 15), // "caseSensitivity"
QT_MOC_LITERAL(15, 212, 21), // "setKeepParentsVisible"
QT_MOC_LITERAL(16, 234, 5), // "value"
QT_MOC_LITERAL(17, 240, 16), // "setSearchColumns"
QT_MOC_LITERAL(18, 257, 10), // "QList<int>"
QT_MOC_LITERAL(19, 268, 7), // "columns"
QT_MOC_LITERAL(20, 276, 13), // "setTreeWidget"
QT_MOC_LITERAL(21, 290, 14), // "setTreeWidgets"
QT_MOC_LITERAL(22, 305, 19), // "QList<QTreeWidget*>"
QT_MOC_LITERAL(23, 325, 11), // "treeWidgets"
QT_MOC_LITERAL(24, 337, 15), // "_k_rowsInserted"
QT_MOC_LITERAL(25, 353, 11), // "QModelIndex"
QT_MOC_LITERAL(26, 365, 20), // "_k_treeWidgetDeleted"
QT_MOC_LITERAL(27, 386, 22), // "_k_slotColumnActivated"
QT_MOC_LITERAL(28, 409, 8), // "QAction*"
QT_MOC_LITERAL(29, 418, 24), // "_k_slotAllVisibleColumns"
QT_MOC_LITERAL(30, 443, 14), // "_k_queueSearch"
QT_MOC_LITERAL(31, 458, 17), // "_k_activateSearch"
QT_MOC_LITERAL(32, 476, 13), // "caseSensitity"
QT_MOC_LITERAL(33, 490, 18), // "keepParentsVisible"
QT_MOC_LITERAL(34, 509, 12) // "clickMessage"

    },
    "KTreeWidgetSearchLine\0hiddenChanged\0"
    "\0QTreeWidgetItem*\0searchUpdated\0"
    "searchString\0addTreeWidget\0QTreeWidget*\0"
    "treeWidget\0removeTreeWidget\0updateSearch\0"
    "pattern\0setCaseSensitivity\0"
    "Qt::CaseSensitivity\0caseSensitivity\0"
    "setKeepParentsVisible\0value\0"
    "setSearchColumns\0QList<int>\0columns\0"
    "setTreeWidget\0setTreeWidgets\0"
    "QList<QTreeWidget*>\0treeWidgets\0"
    "_k_rowsInserted\0QModelIndex\0"
    "_k_treeWidgetDeleted\0_k_slotColumnActivated\0"
    "QAction*\0_k_slotAllVisibleColumns\0"
    "_k_queueSearch\0_k_activateSearch\0"
    "caseSensitity\0keepParentsVisible\0"
    "clickMessage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTreeWidgetSearchLine[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   99,    2, 0x06 /* Public */,
       4,    1,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  107,    2, 0x0a /* Public */,
       9,    1,  110,    2, 0x0a /* Public */,
      10,    1,  113,    2, 0x0a /* Public */,
      10,    0,  116,    2, 0x2a /* Public | MethodCloned */,
      12,    1,  117,    2, 0x0a /* Public */,
      15,    1,  120,    2, 0x0a /* Public */,
      17,    1,  123,    2, 0x0a /* Public */,
      20,    1,  126,    2, 0x0a /* Public */,
      21,    1,  129,    2, 0x0a /* Public */,
      24,    3,  132,    2, 0x08 /* Private */,
      26,    1,  139,    2, 0x08 /* Private */,
      27,    1,  142,    2, 0x08 /* Private */,
      29,    0,  145,    2, 0x08 /* Private */,
      30,    1,  146,    2, 0x08 /* Private */,
      31,    0,  149,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Bool,    2,    2,
    QMetaType::Void, QMetaType::QString,    5,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, 0x80000000 | 25, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QObjectStar,    2,
    QMetaType::Void, 0x80000000 | 28,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,

 // properties: name, type, flags
      32, 0x80000000 | 13, 0x0009500b,
      33, QMetaType::Bool, 0x00095103,
      34, QMetaType::QString, 0x00095103,

       0        // eod
};

void KTreeWidgetSearchLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KTreeWidgetSearchLine *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->hiddenChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 1: _t->searchUpdated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->addTreeWidget((*reinterpret_cast< QTreeWidget*(*)>(_a[1]))); break;
        case 3: _t->removeTreeWidget((*reinterpret_cast< QTreeWidget*(*)>(_a[1]))); break;
        case 4: _t->updateSearch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->updateSearch(); break;
        case 6: _t->setCaseSensitivity((*reinterpret_cast< Qt::CaseSensitivity(*)>(_a[1]))); break;
        case 7: _t->setKeepParentsVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setSearchColumns((*reinterpret_cast< const QList<int>(*)>(_a[1]))); break;
        case 9: _t->setTreeWidget((*reinterpret_cast< QTreeWidget*(*)>(_a[1]))); break;
        case 10: _t->setTreeWidgets((*reinterpret_cast< const QList<QTreeWidget*>(*)>(_a[1]))); break;
        case 11: _t->d->_k_rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 12: _t->d->_k_treeWidgetDeleted((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 13: _t->d->_k_slotColumnActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 14: _t->d->_k_slotAllVisibleColumns(); break;
        case 15: _t->d->_k_queueSearch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->d->_k_activateSearch(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QList<int> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KTreeWidgetSearchLine::*)(QTreeWidgetItem * , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KTreeWidgetSearchLine::hiddenChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (KTreeWidgetSearchLine::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KTreeWidgetSearchLine::searchUpdated)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<KTreeWidgetSearchLine *>(_o);
        (void)_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;
        case 2: *reinterpret_cast< QString*>(_v) = _t->clickMessage(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<KTreeWidgetSearchLine *>(_o);
        (void)_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;
        case 2: _t->setClickMessage(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject KTreeWidgetSearchLine::staticMetaObject = { {
    QMetaObject::SuperData::link<QLineEdit::staticMetaObject>(),
    qt_meta_stringdata_KTreeWidgetSearchLine.data,
    qt_meta_data_KTreeWidgetSearchLine,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KTreeWidgetSearchLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QLineEdit::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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KTreeWidgetSearchLine::hiddenChanged(QTreeWidgetItem * _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KTreeWidgetSearchLine::searchUpdated(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
