/****************************************************************************
** Meta object code from reading C++ file 'qmessagebox.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/dialogs/qmessagebox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmessagebox.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_QMessageBox_t {
    QByteArrayData data[53];
    char stringdata0[553];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QMessageBox_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QMessageBox_t qt_meta_stringdata_QMessageBox = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QMessageBox"
QT_MOC_LITERAL(1, 12, 13), // "buttonClicked"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 16), // "QAbstractButton*"
QT_MOC_LITERAL(4, 44, 6), // "button"
QT_MOC_LITERAL(5, 51, 16), // "_q_buttonClicked"
QT_MOC_LITERAL(6, 68, 10), // "_q_clicked"
QT_MOC_LITERAL(7, 79, 37), // "QPlatformDialogHelper::Standa..."
QT_MOC_LITERAL(8, 117, 33), // "QPlatformDialogHelper::Button..."
QT_MOC_LITERAL(9, 151, 4), // "text"
QT_MOC_LITERAL(10, 156, 4), // "icon"
QT_MOC_LITERAL(11, 161, 4), // "Icon"
QT_MOC_LITERAL(12, 166, 10), // "iconPixmap"
QT_MOC_LITERAL(13, 177, 10), // "textFormat"
QT_MOC_LITERAL(14, 188, 14), // "Qt::TextFormat"
QT_MOC_LITERAL(15, 203, 15), // "standardButtons"
QT_MOC_LITERAL(16, 219, 15), // "StandardButtons"
QT_MOC_LITERAL(17, 235, 12), // "detailedText"
QT_MOC_LITERAL(18, 248, 15), // "informativeText"
QT_MOC_LITERAL(19, 264, 20), // "textInteractionFlags"
QT_MOC_LITERAL(20, 285, 24), // "Qt::TextInteractionFlags"
QT_MOC_LITERAL(21, 310, 6), // "NoIcon"
QT_MOC_LITERAL(22, 317, 11), // "Information"
QT_MOC_LITERAL(23, 329, 7), // "Warning"
QT_MOC_LITERAL(24, 337, 8), // "Critical"
QT_MOC_LITERAL(25, 346, 8), // "Question"
QT_MOC_LITERAL(26, 355, 8), // "NoButton"
QT_MOC_LITERAL(27, 364, 2), // "Ok"
QT_MOC_LITERAL(28, 367, 4), // "Save"
QT_MOC_LITERAL(29, 372, 7), // "SaveAll"
QT_MOC_LITERAL(30, 380, 4), // "Open"
QT_MOC_LITERAL(31, 385, 3), // "Yes"
QT_MOC_LITERAL(32, 389, 8), // "YesToAll"
QT_MOC_LITERAL(33, 398, 2), // "No"
QT_MOC_LITERAL(34, 401, 7), // "NoToAll"
QT_MOC_LITERAL(35, 409, 5), // "Abort"
QT_MOC_LITERAL(36, 415, 5), // "Retry"
QT_MOC_LITERAL(37, 421, 6), // "Ignore"
QT_MOC_LITERAL(38, 428, 5), // "Close"
QT_MOC_LITERAL(39, 434, 6), // "Cancel"
QT_MOC_LITERAL(40, 441, 7), // "Discard"
QT_MOC_LITERAL(41, 449, 4), // "Help"
QT_MOC_LITERAL(42, 454, 5), // "Apply"
QT_MOC_LITERAL(43, 460, 5), // "Reset"
QT_MOC_LITERAL(44, 466, 15), // "RestoreDefaults"
QT_MOC_LITERAL(45, 482, 11), // "FirstButton"
QT_MOC_LITERAL(46, 494, 10), // "LastButton"
QT_MOC_LITERAL(47, 505, 6), // "YesAll"
QT_MOC_LITERAL(48, 512, 5), // "NoAll"
QT_MOC_LITERAL(49, 518, 7), // "Default"
QT_MOC_LITERAL(50, 526, 6), // "Escape"
QT_MOC_LITERAL(51, 533, 8), // "FlagMask"
QT_MOC_LITERAL(52, 542, 10) // "ButtonMask"

    },
    "QMessageBox\0buttonClicked\0\0QAbstractButton*\0"
    "button\0_q_buttonClicked\0_q_clicked\0"
    "QPlatformDialogHelper::StandardButton\0"
    "QPlatformDialogHelper::ButtonRole\0"
    "text\0icon\0Icon\0iconPixmap\0textFormat\0"
    "Qt::TextFormat\0standardButtons\0"
    "StandardButtons\0detailedText\0"
    "informativeText\0textInteractionFlags\0"
    "Qt::TextInteractionFlags\0NoIcon\0"
    "Information\0Warning\0Critical\0Question\0"
    "NoButton\0Ok\0Save\0SaveAll\0Open\0Yes\0"
    "YesToAll\0No\0NoToAll\0Abort\0Retry\0Ignore\0"
    "Close\0Cancel\0Discard\0Help\0Apply\0Reset\0"
    "RestoreDefaults\0FirstButton\0LastButton\0"
    "YesAll\0NoAll\0Default\0Escape\0FlagMask\0"
    "ButtonMask"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QMessageBox[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       8,   40, // properties
       2,   64, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

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

 // slots: name, argc, parameters, tag, flags
       5,    1,   32,    2, 0x08 /* Private */,
       6,    2,   35,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 7, 0x80000000 | 8,    2,    2,

 // properties: name, type, flags
       9, QMetaType::QString, 0x00095103,
      10, 0x80000000 | 11, 0x0009510b,
      12, QMetaType::QPixmap, 0x00095103,
      13, 0x80000000 | 14, 0x0009510b,
      15, 0x80000000 | 16, 0x0009510b,
      17, QMetaType::QString, 0x00095103,
      18, QMetaType::QString, 0x00095103,
      19, 0x80000000 | 20, 0x0009510b,

 // enums: name, flags, count, data
      11, 0x0,    5,   72,
      16, 0x1,   27,   82,

 // enum data: key, value
      21, uint(QMessageBox::NoIcon),
      22, uint(QMessageBox::Information),
      23, uint(QMessageBox::Warning),
      24, uint(QMessageBox::Critical),
      25, uint(QMessageBox::Question),
      26, uint(QMessageBox::NoButton),
      27, uint(QMessageBox::Ok),
      28, uint(QMessageBox::Save),
      29, uint(QMessageBox::SaveAll),
      30, uint(QMessageBox::Open),
      31, uint(QMessageBox::Yes),
      32, uint(QMessageBox::YesToAll),
      33, uint(QMessageBox::No),
      34, uint(QMessageBox::NoToAll),
      35, uint(QMessageBox::Abort),
      36, uint(QMessageBox::Retry),
      37, uint(QMessageBox::Ignore),
      38, uint(QMessageBox::Close),
      39, uint(QMessageBox::Cancel),
      40, uint(QMessageBox::Discard),
      41, uint(QMessageBox::Help),
      42, uint(QMessageBox::Apply),
      43, uint(QMessageBox::Reset),
      44, uint(QMessageBox::RestoreDefaults),
      45, uint(QMessageBox::FirstButton),
      46, uint(QMessageBox::LastButton),
      47, uint(QMessageBox::YesAll),
      48, uint(QMessageBox::NoAll),
      49, uint(QMessageBox::Default),
      50, uint(QMessageBox::Escape),
      51, uint(QMessageBox::FlagMask),
      52, uint(QMessageBox::ButtonMask),

       0        // eod
};

void QMessageBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QMessageBox *_t = static_cast<QMessageBox *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->buttonClicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
        case 1: _t->d_func()->_q_buttonClicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
        case 2: _t->d_func()->_q_clicked((*reinterpret_cast< QPlatformDialogHelper::StandardButton(*)>(_a[1])),(*reinterpret_cast< QPlatformDialogHelper::ButtonRole(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QMessageBox::*_t)(QAbstractButton * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMessageBox::buttonClicked)) {
                *result = 0;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QMessageBox *_t = static_cast<QMessageBox *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 1: *reinterpret_cast< Icon*>(_v) = _t->icon(); break;
        case 2: *reinterpret_cast< QPixmap*>(_v) = _t->iconPixmap(); break;
        case 3: *reinterpret_cast< Qt::TextFormat*>(_v) = _t->textFormat(); break;
        case 4: *reinterpret_cast<int*>(_v) = QFlag(_t->standardButtons()); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->detailedText(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->informativeText(); break;
        case 7: *reinterpret_cast< Qt::TextInteractionFlags*>(_v) = _t->textInteractionFlags(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QMessageBox *_t = static_cast<QMessageBox *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setIcon(*reinterpret_cast< Icon*>(_v)); break;
        case 2: _t->setIconPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 3: _t->setTextFormat(*reinterpret_cast< Qt::TextFormat*>(_v)); break;
        case 4: _t->setStandardButtons(QFlag(*reinterpret_cast<int*>(_v))); break;
        case 5: _t->setDetailedText(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setInformativeText(*reinterpret_cast< QString*>(_v)); break;
        case 7: _t->setTextInteractionFlags(*reinterpret_cast< Qt::TextInteractionFlags*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QMessageBox::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_QMessageBox.data,
      qt_meta_data_QMessageBox,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QMessageBox::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QMessageBox.stringdata0))
        return static_cast<void*>(const_cast< QMessageBox*>(this));
    return QDialog::qt_metacast(_clname);
}

int QMessageBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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 QMessageBox::buttonClicked(QAbstractButton * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
