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

#include "../../../src/kde-workspace-4.11.21/libs/plasmagenericshell/widgetsexplorer/kcategorizeditemsviewmodels_p.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kcategorizeditemsviewmodels_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_KCategorizedItemsViewModels__DefaultFilterModel[] = {

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

 // signals: signature, parameters, type, tag, flags
      49,   48,   48,   48, 0x05,

 // methods: signature, parameters, type, tag, flags
      79,   77,   64,   48, 0x02,

 // properties: name, type, flags
      92,   88, 0x02495001,

 // properties: notify_signal_id
       0,

       0        // eod
};

static const char qt_meta_stringdata_KCategorizedItemsViewModels__DefaultFilterModel[] = {
    "KCategorizedItemsViewModels::DefaultFilterModel\0"
    "\0countChanged()\0QVariantHash\0i\0get(int)\0"
    "int\0count\0"
};

void KCategorizedItemsViewModels::DefaultFilterModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DefaultFilterModel *_t = static_cast<DefaultFilterModel *>(_o);
        switch (_id) {
        case 0: _t->countChanged(); break;
        case 1: { QVariantHash _r = _t->get((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantHash*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KCategorizedItemsViewModels::DefaultFilterModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KCategorizedItemsViewModels::DefaultFilterModel::staticMetaObject = {
    { &QStandardItemModel::staticMetaObject, qt_meta_stringdata_KCategorizedItemsViewModels__DefaultFilterModel,
      qt_meta_data_KCategorizedItemsViewModels__DefaultFilterModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KCategorizedItemsViewModels::DefaultFilterModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KCategorizedItemsViewModels::DefaultFilterModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KCategorizedItemsViewModels__DefaultFilterModel))
        return static_cast<void*>(const_cast< DefaultFilterModel*>(this));
    return QStandardItemModel::qt_metacast(_clname);
}

int KCategorizedItemsViewModels::DefaultFilterModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStandardItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = count(); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _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 KCategorizedItemsViewModels::DefaultFilterModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
static const uint qt_meta_data_KCategorizedItemsViewModels__DefaultItemFilterProxyModel[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       4,   34, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: signature, parameters, type, tag, flags
      63,   58,   57,   57, 0x05,
      90,   57,   57,   57, 0x05,
     106,   57,   57,   57, 0x05,

 // methods: signature, parameters, type, tag, flags
     136,  134,  121,   57, 0x02,

 // properties: name, type, flags
     153,  145, 0x0a495103,
     164,  145, 0x0a495103,
     184,  175, 0xff495103,
     200,  196, 0x02495001,

 // properties: notify_signal_id
       0,
       1,
       1,
       2,

       0        // eod
};

static const char qt_meta_stringdata_KCategorizedItemsViewModels__DefaultItemFilterProxyModel[] = {
    "KCategorizedItemsViewModels::DefaultItemFilterProxyModel\0"
    "\0term\0searchTermChanged(QString)\0"
    "filterChanged()\0countChanged()\0"
    "QVariantHash\0i\0get(int)\0QString\0"
    "searchTerm\0filterType\0QVariant\0"
    "filterQuery\0int\0count\0"
};

void KCategorizedItemsViewModels::DefaultItemFilterProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DefaultItemFilterProxyModel *_t = static_cast<DefaultItemFilterProxyModel *>(_o);
        switch (_id) {
        case 0: _t->searchTermChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->filterChanged(); break;
        case 2: _t->countChanged(); break;
        case 3: { QVariantHash _r = _t->get((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantHash*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KCategorizedItemsViewModels::DefaultItemFilterProxyModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KCategorizedItemsViewModels::DefaultItemFilterProxyModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_KCategorizedItemsViewModels__DefaultItemFilterProxyModel,
      qt_meta_data_KCategorizedItemsViewModels__DefaultItemFilterProxyModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KCategorizedItemsViewModels::DefaultItemFilterProxyModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KCategorizedItemsViewModels::DefaultItemFilterProxyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KCategorizedItemsViewModels__DefaultItemFilterProxyModel))
        return static_cast<void*>(const_cast< DefaultItemFilterProxyModel*>(this));
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int KCategorizedItemsViewModels::DefaultItemFilterProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = searchTerm(); break;
        case 1: *reinterpret_cast< QString*>(_v) = filterType(); break;
        case 2: *reinterpret_cast< QVariant*>(_v) = filterQuery(); break;
        case 3: *reinterpret_cast< int*>(_v) = count(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSearchTerm(*reinterpret_cast< QString*>(_v)); break;
        case 1: setFilterType(*reinterpret_cast< QString*>(_v)); break;
        case 2: setFilterQuery(*reinterpret_cast< QVariant*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KCategorizedItemsViewModels::DefaultItemFilterProxyModel::searchTermChanged(const QString & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KCategorizedItemsViewModels::DefaultItemFilterProxyModel::filterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void KCategorizedItemsViewModels::DefaultItemFilterProxyModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}
QT_END_MOC_NAMESPACE
