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

#include "../../../../src/qtbase-opensource-src-5.5.1/src/widgets/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.5.1. 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
struct qt_meta_stringdata_QLabel_t {
    QByteArrayData data[32];
    char stringdata0[353];
};
#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, 4), // "text"
QT_MOC_LITERAL(18, 165, 10), // "textFormat"
QT_MOC_LITERAL(19, 176, 14), // "Qt::TextFormat"
QT_MOC_LITERAL(20, 191, 6), // "pixmap"
QT_MOC_LITERAL(21, 198, 14), // "scaledContents"
QT_MOC_LITERAL(22, 213, 9), // "alignment"
QT_MOC_LITERAL(23, 223, 13), // "Qt::Alignment"
QT_MOC_LITERAL(24, 237, 8), // "wordWrap"
QT_MOC_LITERAL(25, 246, 6), // "margin"
QT_MOC_LITERAL(26, 253, 6), // "indent"
QT_MOC_LITERAL(27, 260, 17), // "openExternalLinks"
QT_MOC_LITERAL(28, 278, 20), // "textInteractionFlags"
QT_MOC_LITERAL(29, 299, 24), // "Qt::TextInteractionFlags"
QT_MOC_LITERAL(30, 324, 15), // "hasSelectedText"
QT_MOC_LITERAL(31, 340, 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\0text\0textFormat\0"
    "Qt::TextFormat\0pixmap\0scaledContents\0"
    "alignment\0Qt::Alignment\0wordWrap\0"
    "margin\0indent\0openExternalLinks\0"
    "textInteractionFlags\0Qt::TextInteractionFlags\0"
    "hasSelectedText\0selectedText"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QLabel[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       5,    1,   80,    2, 0x0a /* Public */,
       6,    1,   83,    2, 0x0a /* Public */,
       7,    1,   86,    2, 0x0a /* Public */,
       9,    1,   89,    2, 0x0a /* Public */,
      12,    1,   92,    2, 0x0a /* Public */,
      12,    1,   95,    2, 0x0a /* Public */,
      13,    0,   98,    2, 0x0a /* Public */,
      14,    1,   99,    2, 0x08 /* Private */,
      15,    1,  102,    2, 0x08 /* Private */,
      16,    1,  105,    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,

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

       0        // eod
};

void QLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QLabel *_t = static_cast<QLabel *>(_o);
        Q_UNUSED(_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;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QLabel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLabel::linkActivated)) {
                *result = 0;
            }
        }
        {
            typedef void (QLabel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QLabel::linkHovered)) {
                *result = 1;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QLabel *_t = static_cast<QLabel *>(_o);
        Q_UNUSED(_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) {
        QLabel *_t = static_cast<QLabel *>(_o);
        Q_UNUSED(_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
}

const QMetaObject QLabel::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_QLabel.data,
      qt_meta_data_QLabel,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QLabel.stringdata0))
        return static_cast<void*>(const_cast< QLabel*>(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 < 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;
    }
#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[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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