/****************************************************************************
** Meta object code from reading C++ file 'notificationshelper.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/plasma-workspace-5.8.8/applets/notifications/plugin/notificationshelper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'notificationshelper.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_NotificationsHelper_t {
    QByteArrayData data[28];
    char stringdata0[346];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_NotificationsHelper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_NotificationsHelper_t qt_meta_stringdata_NotificationsHelper = {
    {
QT_MOC_LITERAL(0, 0, 19), // "NotificationsHelper"
QT_MOC_LITERAL(1, 20, 20), // "popupLocationChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 12), // "onPopupShown"
QT_MOC_LITERAL(4, 55, 13), // "onPopupClosed"
QT_MOC_LITERAL(5, 69, 13), // "processQueues"
QT_MOC_LITERAL(6, 83, 11), // "processShow"
QT_MOC_LITERAL(7, 95, 11), // "processHide"
QT_MOC_LITERAL(8, 107, 20), // "addNotificationPopup"
QT_MOC_LITERAL(9, 128, 3), // "win"
QT_MOC_LITERAL(10, 132, 10), // "closePopup"
QT_MOC_LITERAL(11, 143, 10), // "sourceName"
QT_MOC_LITERAL(12, 154, 25), // "setPlasmoidScreenGeometry"
QT_MOC_LITERAL(13, 180, 8), // "geometry"
QT_MOC_LITERAL(14, 189, 19), // "displayNotification"
QT_MOC_LITERAL(15, 209, 16), // "notificationData"
QT_MOC_LITERAL(16, 226, 13), // "popupLocation"
QT_MOC_LITERAL(17, 240, 16), // "PositionOnScreen"
QT_MOC_LITERAL(18, 257, 7), // "Default"
QT_MOC_LITERAL(19, 265, 7), // "TopLeft"
QT_MOC_LITERAL(20, 273, 9), // "TopCenter"
QT_MOC_LITERAL(21, 283, 8), // "TopRight"
QT_MOC_LITERAL(22, 292, 4), // "Left"
QT_MOC_LITERAL(23, 297, 6), // "Center"
QT_MOC_LITERAL(24, 304, 5), // "Right"
QT_MOC_LITERAL(25, 310, 10), // "BottomLeft"
QT_MOC_LITERAL(26, 321, 12), // "BottomCenter"
QT_MOC_LITERAL(27, 334, 11) // "BottomRight"

    },
    "NotificationsHelper\0popupLocationChanged\0"
    "\0onPopupShown\0onPopupClosed\0processQueues\0"
    "processShow\0processHide\0addNotificationPopup\0"
    "win\0closePopup\0sourceName\0"
    "setPlasmoidScreenGeometry\0geometry\0"
    "displayNotification\0notificationData\0"
    "popupLocation\0PositionOnScreen\0Default\0"
    "TopLeft\0TopCenter\0TopRight\0Left\0Center\0"
    "Right\0BottomLeft\0BottomCenter\0BottomRight"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_NotificationsHelper[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    0,   65,    2, 0x08 /* Private */,
       4,    0,   66,    2, 0x08 /* Private */,
       5,    0,   67,    2, 0x08 /* Private */,
       6,    0,   68,    2, 0x08 /* Private */,
       7,    0,   69,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
       8,    1,   70,    2, 0x02 /* Public */,
      10,    1,   73,    2, 0x02 /* Public */,
      12,    1,   76,    2, 0x02 /* Public */,
      14,    1,   79,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,

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

 // methods: parameters
    QMetaType::Void, QMetaType::QObjectStar,    9,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::QRect,   13,
    QMetaType::Void, QMetaType::QVariantMap,   15,

 // properties: name, type, flags
      16, 0x80000000 | 17, 0x0049510b,

 // properties: notify_signal_id
       0,

 // enums: name, flags, count, data
      17, 0x0,   10,   90,

 // enum data: key, value
      18, uint(NotificationsHelper::Default),
      19, uint(NotificationsHelper::TopLeft),
      20, uint(NotificationsHelper::TopCenter),
      21, uint(NotificationsHelper::TopRight),
      22, uint(NotificationsHelper::Left),
      23, uint(NotificationsHelper::Center),
      24, uint(NotificationsHelper::Right),
      25, uint(NotificationsHelper::BottomLeft),
      26, uint(NotificationsHelper::BottomCenter),
      27, uint(NotificationsHelper::BottomRight),

       0        // eod
};

void NotificationsHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NotificationsHelper *_t = static_cast<NotificationsHelper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->popupLocationChanged(); break;
        case 1: _t->onPopupShown(); break;
        case 2: _t->onPopupClosed(); break;
        case 3: _t->processQueues(); break;
        case 4: _t->processShow(); break;
        case 5: _t->processHide(); break;
        case 6: _t->addNotificationPopup((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 7: _t->closePopup((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->setPlasmoidScreenGeometry((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 9: _t->displayNotification((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (NotificationsHelper::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&NotificationsHelper::popupLocationChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        NotificationsHelper *_t = static_cast<NotificationsHelper *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< PositionOnScreen*>(_v) = _t->m_popupLocation; break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        NotificationsHelper *_t = static_cast<NotificationsHelper *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPopupLocation(*reinterpret_cast< PositionOnScreen*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject NotificationsHelper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_NotificationsHelper.data,
      qt_meta_data_NotificationsHelper,  qt_static_metacall, nullptr, nullptr}
};


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

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

int NotificationsHelper::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#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 -= 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 NotificationsHelper::popupLocationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
