/****************************************************************************
** Meta object code from reading C++ file 'tooltip.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 "../../../../../../plasma-framework-5.116.0/src/declarativeimports/core/tooltip.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tooltip.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_ToolTip_t {
    QByteArrayData data[33];
    char stringdata0[413];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ToolTip_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ToolTip_t qt_meta_stringdata_ToolTip = {
    {
QT_MOC_LITERAL(0, 0, 7), // "ToolTip"
QT_MOC_LITERAL(1, 8, 15), // "mainItemChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 15), // "mainTextChanged"
QT_MOC_LITERAL(4, 41, 14), // "subTextChanged"
QT_MOC_LITERAL(5, 56, 17), // "textFormatChanged"
QT_MOC_LITERAL(6, 74, 11), // "iconChanged"
QT_MOC_LITERAL(7, 86, 12), // "imageChanged"
QT_MOC_LITERAL(8, 99, 20), // "containsMouseChanged"
QT_MOC_LITERAL(9, 120, 15), // "locationChanged"
QT_MOC_LITERAL(10, 136, 13), // "activeChanged"
QT_MOC_LITERAL(11, 150, 18), // "interactiveChanged"
QT_MOC_LITERAL(12, 169, 11), // "aboutToShow"
QT_MOC_LITERAL(13, 181, 21), // "toolTipVisibleChanged"
QT_MOC_LITERAL(14, 203, 14), // "toolTipVisible"
QT_MOC_LITERAL(15, 218, 11), // "showToolTip"
QT_MOC_LITERAL(16, 230, 11), // "hideToolTip"
QT_MOC_LITERAL(17, 242, 15), // "hideImmediately"
QT_MOC_LITERAL(18, 258, 15), // "settingsChanged"
QT_MOC_LITERAL(19, 274, 4), // "file"
QT_MOC_LITERAL(20, 279, 8), // "mainItem"
QT_MOC_LITERAL(21, 288, 11), // "QQuickItem*"
QT_MOC_LITERAL(22, 300, 8), // "mainText"
QT_MOC_LITERAL(23, 309, 7), // "subText"
QT_MOC_LITERAL(24, 317, 10), // "textFormat"
QT_MOC_LITERAL(25, 328, 4), // "icon"
QT_MOC_LITERAL(26, 333, 13), // "containsMouse"
QT_MOC_LITERAL(27, 347, 8), // "location"
QT_MOC_LITERAL(28, 356, 23), // "Plasma::Types::Location"
QT_MOC_LITERAL(29, 380, 5), // "image"
QT_MOC_LITERAL(30, 386, 6), // "active"
QT_MOC_LITERAL(31, 393, 11), // "interactive"
QT_MOC_LITERAL(32, 405, 7) // "timeout"

    },
    "ToolTip\0mainItemChanged\0\0mainTextChanged\0"
    "subTextChanged\0textFormatChanged\0"
    "iconChanged\0imageChanged\0containsMouseChanged\0"
    "locationChanged\0activeChanged\0"
    "interactiveChanged\0aboutToShow\0"
    "toolTipVisibleChanged\0toolTipVisible\0"
    "showToolTip\0hideToolTip\0hideImmediately\0"
    "settingsChanged\0file\0mainItem\0QQuickItem*\0"
    "mainText\0subText\0textFormat\0icon\0"
    "containsMouse\0location\0Plasma::Types::Location\0"
    "image\0active\0interactive\0timeout"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ToolTip[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
      11,  114, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      12,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    0,   95,    2, 0x06 /* Public */,
       4,    0,   96,    2, 0x06 /* Public */,
       5,    0,   97,    2, 0x06 /* Public */,
       6,    0,   98,    2, 0x06 /* Public */,
       7,    0,   99,    2, 0x06 /* Public */,
       8,    0,  100,    2, 0x06 /* Public */,
       9,    0,  101,    2, 0x06 /* Public */,
      10,    0,  102,    2, 0x06 /* Public */,
      11,    0,  103,    2, 0x06 /* Public */,
      12,    0,  104,    2, 0x06 /* Public */,
      13,    1,  105,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,  108,    2, 0x0a /* Public */,
      16,    0,  109,    2, 0x0a /* Public */,
      17,    0,  110,    2, 0x0a /* Public */,
      18,    1,  111,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   19,

 // properties: name, type, flags
      20, 0x80000000 | 21, 0x0049510b,
      22, QMetaType::QString, 0x00495103,
      23, QMetaType::QString, 0x00495103,
      24, QMetaType::Int, 0x00495103,
      25, QMetaType::QVariant, 0x00495103,
      26, QMetaType::Bool, 0x00495001,
      27, 0x80000000 | 28, 0x0049510b,
      29, QMetaType::QVariant, 0x00495103,
      30, QMetaType::Bool, 0x00495103,
      31, QMetaType::Bool, 0x00495103,
      32, QMetaType::Int, 0x00095103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       6,
       7,
       5,
       8,
       9,
       0,

       0        // eod
};

void ToolTip::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ToolTip *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->mainItemChanged(); break;
        case 1: _t->mainTextChanged(); break;
        case 2: _t->subTextChanged(); break;
        case 3: _t->textFormatChanged(); break;
        case 4: _t->iconChanged(); break;
        case 5: _t->imageChanged(); break;
        case 6: _t->containsMouseChanged(); break;
        case 7: _t->locationChanged(); break;
        case 8: _t->activeChanged(); break;
        case 9: _t->interactiveChanged(); break;
        case 10: _t->aboutToShow(); break;
        case 11: _t->toolTipVisibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->showToolTip(); break;
        case 13: _t->hideToolTip(); break;
        case 14: _t->hideImmediately(); break;
        case 15: _t->settingsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::mainItemChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::mainTextChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::subTextChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::textFormatChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::iconChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::imageChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::containsMouseChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::locationChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::activeChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::interactiveChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::aboutToShow)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (ToolTip::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ToolTip::toolTipVisibleChanged)) {
                *result = 11;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<ToolTip *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->mainItem(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->mainText(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->subText(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->textFormat(); break;
        case 4: *reinterpret_cast< QVariant*>(_v) = _t->icon(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->containsMouse(); break;
        case 6: *reinterpret_cast< Plasma::Types::Location*>(_v) = _t->location(); break;
        case 7: *reinterpret_cast< QVariant*>(_v) = _t->image(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->m_active; break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->m_interactive; break;
        case 10: *reinterpret_cast< int*>(_v) = _t->m_timeout; break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<ToolTip *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMainItem(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 1: _t->setMainText(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setSubText(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setTextFormat(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setIcon(*reinterpret_cast< QVariant*>(_v)); break;
        case 6: _t->setLocation(*reinterpret_cast< Plasma::Types::Location*>(_v)); break;
        case 7: _t->setImage(*reinterpret_cast< QVariant*>(_v)); break;
        case 8: _t->setActive(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setInteractive(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setTimeout(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject::SuperData qt_meta_extradata_ToolTip[] = {
    QMetaObject::SuperData::link<Plasma::Types::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject ToolTip::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickItem::staticMetaObject>(),
    qt_meta_stringdata_ToolTip.data,
    qt_meta_data_ToolTip,
    qt_static_metacall,
    qt_meta_extradata_ToolTip,
    nullptr
} };


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

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

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

// SIGNAL 0
void ToolTip::mainItemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ToolTip::mainTextChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void ToolTip::subTextChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void ToolTip::textFormatChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void ToolTip::iconChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void ToolTip::imageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void ToolTip::containsMouseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void ToolTip::locationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void ToolTip::activeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void ToolTip::interactiveChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void ToolTip::aboutToShow()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void ToolTip::toolTipVisibleChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
