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

#include <memory>
#include "../../misc/dbusnotification.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbusnotification.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QtUtilities__DBusNotification_t {
    QByteArrayData data[27];
    char stringdata0[290];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtUtilities__DBusNotification_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtUtilities__DBusNotification_t qt_meta_stringdata_QtUtilities__DBusNotification = {
    {
QT_MOC_LITERAL(0, 0, 29), // "QtUtilities::DBusNotification"
QT_MOC_LITERAL(1, 30, 5), // "shown"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 5), // "error"
QT_MOC_LITERAL(4, 43, 6), // "closed"
QT_MOC_LITERAL(5, 50, 23), // "NotificationCloseReason"
QT_MOC_LITERAL(6, 74, 6), // "reason"
QT_MOC_LITERAL(7, 81, 13), // "actionInvoked"
QT_MOC_LITERAL(8, 95, 6), // "action"
QT_MOC_LITERAL(9, 102, 4), // "show"
QT_MOC_LITERAL(10, 107, 7), // "message"
QT_MOC_LITERAL(11, 115, 6), // "update"
QT_MOC_LITERAL(12, 122, 4), // "line"
QT_MOC_LITERAL(13, 127, 4), // "hide"
QT_MOC_LITERAL(14, 132, 18), // "handleNotifyResult"
QT_MOC_LITERAL(15, 151, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(16, 176, 24), // "handleNotificationClosed"
QT_MOC_LITERAL(17, 201, 6), // "IDType"
QT_MOC_LITERAL(18, 208, 2), // "id"
QT_MOC_LITERAL(19, 211, 19), // "handleActionInvoked"
QT_MOC_LITERAL(20, 231, 15), // "applicationName"
QT_MOC_LITERAL(21, 247, 5), // "title"
QT_MOC_LITERAL(22, 253, 4), // "icon"
QT_MOC_LITERAL(23, 258, 7), // "timeout"
QT_MOC_LITERAL(24, 266, 7), // "actions"
QT_MOC_LITERAL(25, 274, 7), // "visible"
QT_MOC_LITERAL(26, 282, 7) // "pending"

    },
    "QtUtilities::DBusNotification\0shown\0"
    "\0error\0closed\0NotificationCloseReason\0"
    "reason\0actionInvoked\0action\0show\0"
    "message\0update\0line\0hide\0handleNotifyResult\0"
    "QDBusPendingCallWatcher*\0"
    "handleNotificationClosed\0IDType\0id\0"
    "handleActionInvoked\0applicationName\0"
    "title\0icon\0timeout\0actions\0visible\0"
    "pending"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtUtilities__DBusNotification[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       8,   98, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    1,   71,    2, 0x06 /* Public */,
       7,    1,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   77,    2, 0x0a /* Public */,
       9,    1,   78,    2, 0x0a /* Public */,
      11,    1,   81,    2, 0x0a /* Public */,
      13,    0,   84,    2, 0x0a /* Public */,
      14,    1,   85,    2, 0x08 /* Private */,
      16,    2,   88,    2, 0x08 /* Private */,
      19,    2,   93,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::QString,    8,

 // slots: parameters
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::QString,   10,
    QMetaType::Bool, QMetaType::QString,   12,
    QMetaType::Bool,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void, 0x80000000 | 17, QMetaType::UInt,   18,    6,
    QMetaType::Void, 0x80000000 | 17, QMetaType::QString,   18,    8,

 // properties: name, type, flags
      20, QMetaType::QString, 0x00095103,
      21, QMetaType::QString, 0x00095103,
      10, QMetaType::QString, 0x00095103,
      22, QMetaType::QString, 0x00095103,
      23, QMetaType::Int, 0x00095103,
      24, QMetaType::QStringList, 0x00095103,
      25, QMetaType::Bool, 0x00095001,
      26, QMetaType::Bool, 0x00095001,

       0        // eod
};

void QtUtilities::DBusNotification::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DBusNotification *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->shown(); break;
        case 1: _t->error(); break;
        case 2: _t->closed((*reinterpret_cast< NotificationCloseReason(*)>(_a[1]))); break;
        case 3: _t->actionInvoked((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: { bool _r = _t->show();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->show((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->update((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { bool _r = _t->hide();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->handleNotifyResult((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 9: _t->handleNotificationClosed((*reinterpret_cast< IDType(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 10: _t->handleActionInvoked((*reinterpret_cast< IDType(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DBusNotification::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusNotification::shown)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DBusNotification::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusNotification::error)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (DBusNotification::*)(NotificationCloseReason );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusNotification::closed)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (DBusNotification::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusNotification::actionInvoked)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<DBusNotification *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->applicationName(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->message(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->icon(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->timeout(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = _t->actions(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isPending(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<DBusNotification *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setApplicationName(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setTitle(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setMessage(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setIcon(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setTimeout(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setActions(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QtUtilities::DBusNotification::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QtUtilities__DBusNotification.data,
    qt_meta_data_QtUtilities__DBusNotification,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QtUtilities::DBusNotification::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QtUtilities__DBusNotification.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int QtUtilities::DBusNotification::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QtUtilities::DBusNotification::shown()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QtUtilities::DBusNotification::error()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QtUtilities::DBusNotification::closed(NotificationCloseReason _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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