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

#include <memory>
#include "../autohidewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'autohidewidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_AutohideWidget_t {
    QByteArrayData data[19];
    char stringdata0[175];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AutohideWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AutohideWidget_t qt_meta_stringdata_AutohideWidget = {
    {
QT_MOC_LITERAL(0, 0, 14), // "AutohideWidget"
QT_MOC_LITERAL(1, 15, 4), // "show"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 8), // "activate"
QT_MOC_LITERAL(4, 30, 10), // "deactivate"
QT_MOC_LITERAL(5, 41, 11), // "setAutoHide"
QT_MOC_LITERAL(6, 53, 1), // "b"
QT_MOC_LITERAL(7, 55, 11), // "setAnimated"
QT_MOC_LITERAL(8, 67, 9), // "setMargin"
QT_MOC_LITERAL(9, 77, 6), // "margin"
QT_MOC_LITERAL(10, 84, 12), // "setPercWidth"
QT_MOC_LITERAL(11, 97, 1), // "s"
QT_MOC_LITERAL(12, 99, 17), // "setActivationArea"
QT_MOC_LITERAL(13, 117, 10), // "Activation"
QT_MOC_LITERAL(14, 128, 1), // "m"
QT_MOC_LITERAL(15, 130, 12), // "setHideDelay"
QT_MOC_LITERAL(16, 143, 2), // "ms"
QT_MOC_LITERAL(17, 146, 15), // "checkUnderMouse"
QT_MOC_LITERAL(18, 162, 12) // "showAnimated"

    },
    "AutohideWidget\0show\0\0activate\0deactivate\0"
    "setAutoHide\0b\0setAnimated\0setMargin\0"
    "margin\0setPercWidth\0s\0setActivationArea\0"
    "Activation\0m\0setHideDelay\0ms\0"
    "checkUnderMouse\0showAnimated"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AutohideWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x0a /* Public */,
       3,    0,   70,    2, 0x0a /* Public */,
       4,    0,   71,    2, 0x0a /* Public */,
       5,    1,   72,    2, 0x0a /* Public */,
       7,    1,   75,    2, 0x0a /* Public */,
       8,    1,   78,    2, 0x0a /* Public */,
      10,    1,   81,    2, 0x0a /* Public */,
      12,    1,   84,    2, 0x0a /* Public */,
      15,    1,   87,    2, 0x0a /* Public */,
      17,    0,   90,    2, 0x08 /* Private */,
      18,    0,   91,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void AutohideWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AutohideWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->show(); break;
        case 1: _t->activate(); break;
        case 2: _t->deactivate(); break;
        case 3: _t->setAutoHide((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->setAnimated((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setMargin((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setPercWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setActivationArea((*reinterpret_cast< Activation(*)>(_a[1]))); break;
        case 8: _t->setHideDelay((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->checkUnderMouse(); break;
        case 10: _t->showAnimated(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject AutohideWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_AutohideWidget.data,
    qt_meta_data_AutohideWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int AutohideWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
