/****************************************************************************
** Meta object code from reading C++ file 'ksysguard.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/ksysguard-5.8.8/gui/ksysguard.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ksysguard.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_TopLevel_t {
    QByteArrayData data[20];
    char stringdata0[278];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TopLevel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TopLevel_t qt_meta_stringdata_TopLevel = {
    {
QT_MOC_LITERAL(0, 0, 8), // "TopLevel"
QT_MOC_LITERAL(1, 9, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 25, 21), // "org.kde.SystemMonitor"
QT_MOC_LITERAL(3, 47, 20), // "showOnCurrentDesktop"
QT_MOC_LITERAL(4, 68, 9), // "Q_NOREPLY"
QT_MOC_LITERAL(5, 78, 15), // "importWorkSheet"
QT_MOC_LITERAL(6, 94, 8), // "fileName"
QT_MOC_LITERAL(7, 103, 15), // "removeWorkSheet"
QT_MOC_LITERAL(8, 119, 18), // "getHotNewWorksheet"
QT_MOC_LITERAL(9, 138, 9), // "listHosts"
QT_MOC_LITERAL(10, 148, 0), // ""
QT_MOC_LITERAL(11, 149, 11), // "listSensors"
QT_MOC_LITERAL(12, 161, 8), // "hostName"
QT_MOC_LITERAL(13, 170, 11), // "connectHost"
QT_MOC_LITERAL(14, 182, 14), // "disconnectHost"
QT_MOC_LITERAL(15, 197, 15), // "updateStatusBar"
QT_MOC_LITERAL(16, 213, 17), // "currentTabChanged"
QT_MOC_LITERAL(17, 231, 5), // "index"
QT_MOC_LITERAL(18, 237, 18), // "updateProcessCount"
QT_MOC_LITERAL(19, 256, 21) // "configureCurrentSheet"

    },
    "TopLevel\0D-Bus Interface\0org.kde.SystemMonitor\0"
    "showOnCurrentDesktop\0Q_NOREPLY\0"
    "importWorkSheet\0fileName\0removeWorkSheet\0"
    "getHotNewWorksheet\0listHosts\0\0listSensors\0"
    "hostName\0connectHost\0disconnectHost\0"
    "updateStatusBar\0currentTabChanged\0"
    "index\0updateProcessCount\0configureCurrentSheet"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TopLevel[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   76,    4, 0x4a /* Public | isScriptable */,
       5,    1,   77,    4, 0x4a /* Public | isScriptable */,
       7,    1,   80,    4, 0x4a /* Public | isScriptable */,
       8,    0,   83,    4, 0x4a /* Public | isScriptable */,
       9,    0,   84,   10, 0x4a /* Public | isScriptable */,
      11,    1,   85,   10, 0x4a /* Public | isScriptable */,
      13,    0,   88,   10, 0x09 /* Protected */,
      14,    0,   89,   10, 0x09 /* Protected */,
      15,    0,   90,   10, 0x09 /* Protected */,
      16,    1,   91,   10, 0x09 /* Protected */,
      18,    0,   94,   10, 0x09 /* Protected */,
      19,    0,   95,   10, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::QStringList,
    QMetaType::QStringList, QMetaType::QString,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TopLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TopLevel *_t = static_cast<TopLevel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->showOnCurrentDesktop(); break;
        case 1: _t->importWorkSheet((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->removeWorkSheet((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->getHotNewWorksheet(); break;
        case 4: { QStringList _r = _t->listHosts();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 5: { QStringList _r = _t->listSensors((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->connectHost(); break;
        case 7: _t->disconnectHost(); break;
        case 8: _t->updateStatusBar(); break;
        case 9: _t->currentTabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->updateProcessCount(); break;
        case 11: _t->configureCurrentSheet(); break;
        default: ;
        }
    }
}

const QMetaObject TopLevel::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_TopLevel.data,
      qt_meta_data_TopLevel,  qt_static_metacall, nullptr, nullptr}
};


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

void *TopLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_TopLevel.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "KSGRD::SensorClient"))
        return static_cast< KSGRD::SensorClient*>(this);
    return KXmlGuiWindow::qt_metacast(_clname);
}

int TopLevel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KXmlGuiWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
