/****************************************************************************
** Meta object code from reading C++ file 'kptviewlistdialog.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/calligraplan-3.1.0/src/kptviewlistdialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptviewlistdialog.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_KPlato__ViewListDialog_t {
    QByteArrayData data[8];
    char stringdata0[96];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ViewListDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ViewListDialog_t qt_meta_stringdata_KPlato__ViewListDialog = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::ViewListDialog"
QT_MOC_LITERAL(1, 23, 11), // "viewCreated"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 9), // "ViewBase*"
QT_MOC_LITERAL(4, 46, 4), // "view"
QT_MOC_LITERAL(5, 51, 6), // "slotOk"
QT_MOC_LITERAL(6, 58, 23), // "slotViewListItemRemoved"
QT_MOC_LITERAL(7, 82, 13) // "ViewListItem*"

    },
    "KPlato::ViewListDialog\0viewCreated\0\0"
    "ViewBase*\0view\0slotOk\0slotViewListItemRemoved\0"
    "ViewListItem*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ViewListDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   32,    2, 0x09 /* Protected */,
       6,    1,   33,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    2,

       0        // eod
};

void KPlato::ViewListDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ViewListDialog *_t = static_cast<ViewListDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->viewCreated((*reinterpret_cast< ViewBase*(*)>(_a[1]))); break;
        case 1: _t->slotOk(); break;
        case 2: _t->slotViewListItemRemoved((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ViewListDialog::*_t)(ViewBase * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListDialog::viewCreated)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ViewListDialog::staticMetaObject = {
    { &KoDialog::staticMetaObject, qt_meta_stringdata_KPlato__ViewListDialog.data,
      qt_meta_data_KPlato__ViewListDialog,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::ViewListDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__ViewListDialog.stringdata0))
        return static_cast<void*>(this);
    return KoDialog::qt_metacast(_clname);
}

int KPlato::ViewListDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KoDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void KPlato::ViewListDialog::viewCreated(ViewBase * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KPlato__AddViewPanel_t {
    QByteArrayData data[16];
    char stringdata0[172];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AddViewPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AddViewPanel_t qt_meta_stringdata_KPlato__AddViewPanel = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KPlato::AddViewPanel"
QT_MOC_LITERAL(1, 21, 14), // "enableButtonOk"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 11), // "viewCreated"
QT_MOC_LITERAL(4, 49, 9), // "ViewBase*"
QT_MOC_LITERAL(5, 59, 4), // "view"
QT_MOC_LITERAL(6, 64, 7), // "changed"
QT_MOC_LITERAL(7, 72, 15), // "viewtypeChanged"
QT_MOC_LITERAL(8, 88, 3), // "idx"
QT_MOC_LITERAL(9, 92, 15), // "categoryChanged"
QT_MOC_LITERAL(10, 108, 9), // "fillAfter"
QT_MOC_LITERAL(11, 118, 13), // "ViewListItem*"
QT_MOC_LITERAL(12, 132, 3), // "cat"
QT_MOC_LITERAL(13, 136, 15), // "viewnameChanged"
QT_MOC_LITERAL(14, 152, 4), // "text"
QT_MOC_LITERAL(15, 157, 14) // "viewtipChanged"

    },
    "KPlato::AddViewPanel\0enableButtonOk\0"
    "\0viewCreated\0ViewBase*\0view\0changed\0"
    "viewtypeChanged\0idx\0categoryChanged\0"
    "fillAfter\0ViewListItem*\0cat\0viewnameChanged\0"
    "text\0viewtipChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AddViewPanel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       3,    1,   57,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   60,    2, 0x09 /* Protected */,
       7,    1,   61,    2, 0x09 /* Protected */,
       9,    0,   64,    2, 0x09 /* Protected */,
      10,    1,   65,    2, 0x09 /* Protected */,
      13,    1,   68,    2, 0x09 /* Protected */,
      15,    1,   71,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString,   14,

       0        // eod
};

void KPlato::AddViewPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AddViewPanel *_t = static_cast<AddViewPanel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->enableButtonOk((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->viewCreated((*reinterpret_cast< ViewBase*(*)>(_a[1]))); break;
        case 2: _t->changed(); break;
        case 3: _t->viewtypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->categoryChanged(); break;
        case 5: _t->fillAfter((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        case 6: _t->viewnameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->viewtipChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (AddViewPanel::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AddViewPanel::enableButtonOk)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AddViewPanel::*_t)(ViewBase * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AddViewPanel::viewCreated)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::AddViewPanel::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__AddViewPanel.data,
      qt_meta_data_KPlato__AddViewPanel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::AddViewPanel::enableButtonOk(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KPlato::AddViewPanel::viewCreated(ViewBase * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_KPlato__ViewListEditViewDialog_t {
    QByteArrayData data[5];
    char stringdata0[77];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ViewListEditViewDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ViewListEditViewDialog_t qt_meta_stringdata_KPlato__ViewListEditViewDialog = {
    {
QT_MOC_LITERAL(0, 0, 30), // "KPlato::ViewListEditViewDialog"
QT_MOC_LITERAL(1, 31, 6), // "slotOk"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 23), // "slotViewListItemRemoved"
QT_MOC_LITERAL(4, 63, 13) // "ViewListItem*"

    },
    "KPlato::ViewListEditViewDialog\0slotOk\0"
    "\0slotViewListItemRemoved\0ViewListItem*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ViewListEditViewDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x09 /* Protected */,
       3,    1,   25,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,

       0        // eod
};

void KPlato::ViewListEditViewDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ViewListEditViewDialog *_t = static_cast<ViewListEditViewDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotOk(); break;
        case 1: _t->slotViewListItemRemoved((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::ViewListEditViewDialog::staticMetaObject = {
    { &KoDialog::staticMetaObject, qt_meta_stringdata_KPlato__ViewListEditViewDialog.data,
      qt_meta_data_KPlato__ViewListEditViewDialog,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::ViewListEditViewDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__ViewListEditViewDialog.stringdata0))
        return static_cast<void*>(this);
    return KoDialog::qt_metacast(_clname);
}

int KPlato::ViewListEditViewDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KoDialog::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__EditViewPanel_t {
    QByteArrayData data[8];
    char stringdata0[90];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__EditViewPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__EditViewPanel_t qt_meta_stringdata_KPlato__EditViewPanel = {
    {
QT_MOC_LITERAL(0, 0, 21), // "KPlato::EditViewPanel"
QT_MOC_LITERAL(1, 22, 14), // "enableButtonOk"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 7), // "changed"
QT_MOC_LITERAL(4, 46, 15), // "categoryChanged"
QT_MOC_LITERAL(5, 62, 9), // "fillAfter"
QT_MOC_LITERAL(6, 72, 13), // "ViewListItem*"
QT_MOC_LITERAL(7, 86, 3) // "cat"

    },
    "KPlato::EditViewPanel\0enableButtonOk\0"
    "\0changed\0categoryChanged\0fillAfter\0"
    "ViewListItem*\0cat"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__EditViewPanel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   37,    2, 0x09 /* Protected */,
       4,    0,   38,    2, 0x09 /* Protected */,
       5,    1,   39,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    7,

       0        // eod
};

void KPlato::EditViewPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EditViewPanel *_t = static_cast<EditViewPanel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->enableButtonOk((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->changed(); break;
        case 2: _t->categoryChanged(); break;
        case 3: _t->fillAfter((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (EditViewPanel::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewPanel::enableButtonOk)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::EditViewPanel::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__EditViewPanel.data,
      qt_meta_data_KPlato__EditViewPanel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::EditViewPanel::enableButtonOk(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KPlato__ViewListEditCategoryDialog_t {
    QByteArrayData data[5];
    char stringdata0[81];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ViewListEditCategoryDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ViewListEditCategoryDialog_t qt_meta_stringdata_KPlato__ViewListEditCategoryDialog = {
    {
QT_MOC_LITERAL(0, 0, 34), // "KPlato::ViewListEditCategoryD..."
QT_MOC_LITERAL(1, 35, 6), // "slotOk"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 23), // "slotViewListItemRemoved"
QT_MOC_LITERAL(4, 67, 13) // "ViewListItem*"

    },
    "KPlato::ViewListEditCategoryDialog\0"
    "slotOk\0\0slotViewListItemRemoved\0"
    "ViewListItem*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ViewListEditCategoryDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x09 /* Protected */,
       3,    1,   25,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,

       0        // eod
};

void KPlato::ViewListEditCategoryDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ViewListEditCategoryDialog *_t = static_cast<ViewListEditCategoryDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotOk(); break;
        case 1: _t->slotViewListItemRemoved((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::ViewListEditCategoryDialog::staticMetaObject = {
    { &KoDialog::staticMetaObject, qt_meta_stringdata_KPlato__ViewListEditCategoryDialog.data,
      qt_meta_data_KPlato__ViewListEditCategoryDialog,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::ViewListEditCategoryDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__ViewListEditCategoryDialog.stringdata0))
        return static_cast<void*>(this);
    return KoDialog::qt_metacast(_clname);
}

int KPlato::ViewListEditCategoryDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KoDialog::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__EditCategoryPanel_t {
    QByteArrayData data[5];
    char stringdata0[60];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__EditCategoryPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__EditCategoryPanel_t qt_meta_stringdata_KPlato__EditCategoryPanel = {
    {
QT_MOC_LITERAL(0, 0, 25), // "KPlato::EditCategoryPanel"
QT_MOC_LITERAL(1, 26, 14), // "enableButtonOk"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 7), // "changed"
QT_MOC_LITERAL(4, 50, 9) // "fillAfter"

    },
    "KPlato::EditCategoryPanel\0enableButtonOk\0"
    "\0changed\0fillAfter"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__EditCategoryPanel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   32,    2, 0x09 /* Protected */,
       4,    0,   33,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::EditCategoryPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EditCategoryPanel *_t = static_cast<EditCategoryPanel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->enableButtonOk((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->changed(); break;
        case 2: _t->fillAfter(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (EditCategoryPanel::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditCategoryPanel::enableButtonOk)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::EditCategoryPanel::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__EditCategoryPanel.data,
      qt_meta_data_KPlato__EditCategoryPanel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::EditCategoryPanel::enableButtonOk(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
