/****************************************************************************
** Meta object code from reading C++ file 'qlabel.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 "../widgets/qlabel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qlabel.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_QLabel_t {
    QByteArrayData data[33];
    char stringdata0[369];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QLabel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QLabel_t qt_meta_stringdata_QLabel = {
    {
QT_MOC_LITERAL(0, 0, 6), // "QLabel"
QT_MOC_LITERAL(1, 7, 13), // "linkActivated"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 4), // "link"
QT_MOC_LITERAL(4, 27, 11), // "linkHovered"
QT_MOC_LITERAL(5, 39, 7), // "setText"
QT_MOC_LITERAL(6, 47, 9), // "setPixmap"
QT_MOC_LITERAL(7, 57, 10), // "setPicture"
QT_MOC_LITERAL(8, 68, 8), // "QPicture"
QT_MOC_LITERAL(9, 77, 8), // "setMovie"
QT_MOC_LITERAL(10, 86, 7), // "QMovie*"
QT_MOC_LITERAL(11, 94, 5), // "movie"
QT_MOC_LITERAL(12, 100, 6), // "setNum"
QT_MOC_LITERAL(13, 107, 5), // "clear"
QT_MOC_LITERAL(14, 113, 15), // "_q_movieUpdated"
QT_MOC_LITERAL(15, 129, 15), // "_q_movieResized"
QT_MOC_LITERAL(16, 145, 14), // "_q_linkHovered"
QT_MOC_LITERAL(17, 160, 15), // "_q_buddyDeleted"
QT_MOC_LITERAL(18, 176, 4), // "text"
QT_MOC_LITERAL(19, 181, 10), // "textFormat"
QT_MOC_LITERAL(20, 192, 14), // "Qt::TextFormat"
QT_MOC_LITERAL(21, 207, 6), // "pixmap"
QT_MOC_LITERAL(22, 214, 14), // "scaledContents"
QT_MOC_LITERAL(23, 229, 9), // "alignment"
QT_MOC_LITERAL(24, 239, 13), // "Qt::Alignment"
QT_MOC_LITERAL(25, 253, 8), // "wordWrap"
QT_MOC_LITERAL(26, 262, 6), // "margin"
QT_MOC_LITERAL(27, 269, 6), // "indent"
QT_MOC_LITERAL(28, 276, 17), // "openExternalLinks"
QT_MOC_LITERAL(29, 294, 20), // "textInteractionFlags"
QT_MOC_LITERAL(30, 315, 24), // "Qt::TextInteractionFlags"
QT_MOC_LITERAL(31, 340, 15), // "hasSelectedText"
QT_MOC_LITERAL(32, 356, 12) // "selectedText"

    },
    "QLabel\0linkActivated\0\0link\0linkHovered\0"
    "setText\0setPixmap\0setPicture\0QPicture\0"
    "setMovie\0QMovie*\0movie\0setNum\0clear\0"
    "_q_movieUpdated\0_q_movieResized\0"
    "_q_linkHovered\0_q_buddyDeleted\0text\0"
    "textFormat\0Qt::TextFormat\0pixmap\0"
    "scaledContents\0alignment\0Qt::Alignment\0"
    "wordWrap\0margin\0indent\0openExternalLinks\0"
    "textInteractionFlags\0Qt::TextInteractionFlags\0"
    "hasSelectedText\0selectedText"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QLabel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    1,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   85,    2, 0x0a /* Public */,
       6,    1,   88,    2, 0x0a /* Public */,
       7,    1,   91,    2, 0x0a /* Public */,
       9,    1,   94,    2, 0x0a /* Public */,
      12,    1,   97,    2, 0x0a /* Public */,
      12,    1,  100,    2, 0x0a /* Public */,
      13,    0,  103,    2, 0x0a /* Public */,
      14,    1,  104,    2, 0x08 /* Private */,
      15,    1,  107,    2, 0x08 /* Private */,
      16,    1,  110,    2, 0x08 /* Private */,
      17,    0,  113,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QPixmap,    2,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect,    2,
    QMetaType::Void, QMetaType::QSize,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,

 // properties: name, type, flags
      18, QMetaType::QString, 0x00095103,
      19, 0x80000000 | 20, 0x0009510b,
      21, QMetaType::QPixmap, 0x00095103,
      22, QMetaType::Bool, 0x00095103,
      23, 0x80000000 | 24, 0x0009510b,
      25, QMetaType::Bool, 0x00095103,
      26, QMetaType::Int, 0x00095103,
      27, QMetaType::Int, 0x00095103,
      28, QMetaType::Bool, 0x00095103,
      29, 0x80000000 | 30, 0x0009510b,
      31, QMetaType::Bool, 0x00095001,
      32, QMetaType::QString, 0x00095001,

       0        // eod
};

void QLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QLabel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->linkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->linkHovered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->setPixmap((*reinterpret_cast< const QPixmap(*)>(_a[1]))); break;
        case 4: _t->setPicture((*reinterpret_cast< const QPicture(*)>(_a[1]))); break;
        case 5: _t->setMovie((*reinterpret_cast< QMovie*(*)>(_a[1]))); break;
        case 6: _t->setNum((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setNum((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: _t->clear(); break;
        case 9: _t->d_func()->_q_movieUpdated((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 10: _t->d_func()->_q_movieResized((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 11: _t->d_func()->_q_linkHovered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->d_func()->_q_buddyDeleted(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QLabel::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLabel::linkActivated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QLabel::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QLabel::linkHovered)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QLabel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 1: *reinterpret_cast< Qt::TextFormat*>(_v) = _t->textFormat(); break;
        case 2: _a[0] = const_cast<void*>(reinterpret_cast<const void*>(_t->pixmap())); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->hasScaledContents(); break;
        case 4: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->wordWrap(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->margin(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->indent(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->openExternalLinks(); break;
        case 9: *reinterpret_cast< Qt::TextInteractionFlags*>(_v) = _t->textInteractionFlags(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->hasSelectedText(); break;
        case 11: *reinterpret_cast< QString*>(_v) = _t->selectedText(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QLabel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setTextFormat(*reinterpret_cast< Qt::TextFormat*>(_v)); break;
        case 2: _t->setPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 3: _t->setScaledContents(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 5: _t->setWordWrap(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setMargin(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setIndent(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setOpenExternalLinks(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setTextInteractionFlags(*reinterpret_cast< Qt::TextInteractionFlags*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QLabel::staticMetaObject = { {
    QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
    qt_meta_stringdata_QLabel.data,
    qt_meta_data_QLabel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void QLabel::linkActivated(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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