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

#include "../../../nheko/src/timeline/InputBar.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'InputBar.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN11MediaUploadE_t {};
} // unnamed namespace

template <> constexpr inline auto MediaUpload::qt_create_metaobjectdata<qt_meta_tag_ZN11MediaUploadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MediaUpload",
        "QML.Element",
        "auto",
        "QML.Creatable",
        "false",
        "QML.UncreatableReason",
        "",
        "uploadComplete",
        "MediaUpload*",
        "self",
        "url",
        "uploadFailed",
        "filenameChanged",
        "thumbnailChanged",
        "mediaTypeChanged",
        "startUpload",
        "setThumbnail",
        "QImage",
        "img",
        "mediaType",
        "thumbnail",
        "QUrl",
        "filename",
        "MediaType",
        "File",
        "Image",
        "Video",
        "Audio"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'uploadComplete'
        QtMocHelpers::SignalData<void(MediaUpload *, QString)>(7, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { QMetaType::QString, 10 },
        }}),
        // Signal 'uploadFailed'
        QtMocHelpers::SignalData<void(MediaUpload *)>(11, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'filenameChanged'
        QtMocHelpers::SignalData<void()>(12, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'thumbnailChanged'
        QtMocHelpers::SignalData<void()>(13, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'mediaTypeChanged'
        QtMocHelpers::SignalData<void()>(14, 6, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startUpload'
        QtMocHelpers::SlotData<void()>(15, 6, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setThumbnail'
        QtMocHelpers::SlotData<void(QImage)>(16, 6, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'mediaType'
        QtMocHelpers::PropertyData<int>(19, QMetaType::Int, QMC::DefaultPropertyFlags, 4),
        // property 'thumbnail'
        QtMocHelpers::PropertyData<QUrl>(20, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 3),
        // property 'filename'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'MediaType'
        QtMocHelpers::EnumData<enum MediaType>(23, 23, QMC::EnumFlags{}).add({
            {   24, MediaType::File },
            {   25, MediaType::Image },
            {   26, MediaType::Video },
            {   27, MediaType::Audio },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
            {    5,    6 },
    });
    return QtMocHelpers::metaObjectData<MediaUpload, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject MediaUpload::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11MediaUploadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11MediaUploadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11MediaUploadE_t>.metaTypes,
    nullptr
} };

void MediaUpload::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MediaUpload *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->uploadComplete((*reinterpret_cast<std::add_pointer_t<MediaUpload*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->uploadFailed((*reinterpret_cast<std::add_pointer_t<MediaUpload*>>(_a[1]))); break;
        case 2: _t->filenameChanged(); break;
        case 3: _t->thumbnailChanged(); break;
        case 4: _t->mediaTypeChanged(); break;
        case 5: _t->startUpload(); break;
        case 6: _t->setThumbnail((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< MediaUpload* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< MediaUpload* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MediaUpload::*)(MediaUpload * , QString )>(_a, &MediaUpload::uploadComplete, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaUpload::*)(MediaUpload * )>(_a, &MediaUpload::uploadFailed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaUpload::*)()>(_a, &MediaUpload::filenameChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaUpload::*)()>(_a, &MediaUpload::thumbnailChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaUpload::*)()>(_a, &MediaUpload::mediaTypeChanged, 4))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast<QUrl*>(_v) = _t->thumbnailDataUrl(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->filename(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setFilename(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

void *MediaUpload::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11MediaUploadE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int MediaUpload::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void MediaUpload::uploadComplete(MediaUpload * _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void MediaUpload::uploadFailed(MediaUpload * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

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

// SIGNAL 4
void MediaUpload::mediaTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
namespace {
struct qt_meta_tag_ZN8InputBarE_t {};
} // unnamed namespace

template <> constexpr inline auto InputBar::qt_create_metaobjectdata<qt_meta_tag_ZN8InputBarE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "InputBar",
        "textChanged",
        "",
        "newText",
        "uploadingChanged",
        "value",
        "containsInvalidCommandChanged",
        "mentionsChanged",
        "containsIncompleteCommandChanged",
        "currentCommandChanged",
        "uploadsChanged",
        "text",
        "previousText",
        "nextText",
        "setText",
        "mentions",
        "addMention",
        "m",
        "removeMention",
        "storeForEdit",
        "restoreAfterEdit",
        "replaceMentions",
        "newMentions",
        "newMentionTexts",
        "containsInvalidCommand",
        "containsIncompleteCommand",
        "currentCommand",
        "send",
        "tryPasteAttachment",
        "fromMouse",
        "insertMimeData",
        "const QMimeData*",
        "data",
        "updateState",
        "selectionStart",
        "selectionEnd",
        "cursorPosition",
        "openFileSelection",
        "uploading",
        "message",
        "body",
        "MarkdownOverride",
        "useMarkdown",
        "rainbowify",
        "reaction",
        "reactedEvent",
        "reactionKey",
        "sticker",
        "descriptor",
        "acceptUploads",
        "declineUploads",
        "startTyping",
        "stopTyping",
        "finalizeUpload",
        "MediaUpload*",
        "upload",
        "url",
        "removeRunUpload",
        "uploads",
        "QVariantList"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'textChanged'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'uploadingChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'containsInvalidCommandChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'mentionsChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'containsIncompleteCommandChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentCommandChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'uploadsChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'text'
        QtMocHelpers::SlotData<QString() const>(11, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'previousText'
        QtMocHelpers::SlotData<QString()>(12, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'nextText'
        QtMocHelpers::SlotData<QString()>(13, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'setText'
        QtMocHelpers::SlotData<void(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'mentions'
        QtMocHelpers::SlotData<QStringList() const>(15, 2, QMC::AccessPublic, QMetaType::QStringList),
        // Slot 'addMention'
        QtMocHelpers::SlotData<void(QString, QString)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 17 }, { QMetaType::QString, 11 },
        }}),
        // Slot 'removeMention'
        QtMocHelpers::SlotData<void(QString)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Slot 'storeForEdit'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'restoreAfterEdit'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'replaceMentions'
        QtMocHelpers::SlotData<void(QStringList, QStringList)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 22 }, { QMetaType::QStringList, 23 },
        }}),
        // Slot 'containsInvalidCommand'
        QtMocHelpers::SlotData<bool() const>(24, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'containsIncompleteCommand'
        QtMocHelpers::SlotData<bool() const>(25, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'currentCommand'
        QtMocHelpers::SlotData<QString() const>(26, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'send'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'tryPasteAttachment'
        QtMocHelpers::SlotData<bool(bool)>(28, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Bool, 29 },
        }}),
        // Slot 'insertMimeData'
        QtMocHelpers::SlotData<bool(const QMimeData *)>(30, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'updateState'
        QtMocHelpers::SlotData<void(int, int, int, const QString &)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 34 }, { QMetaType::Int, 35 }, { QMetaType::Int, 36 }, { QMetaType::QString, 11 },
        }}),
        // Slot 'openFileSelection'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'uploading'
        QtMocHelpers::SlotData<bool() const>(38, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'message'
        QtMocHelpers::SlotData<void(const QString &, MarkdownOverride, bool)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 40 }, { 0x80000000 | 41, 42 }, { QMetaType::Bool, 43 },
        }}),
        // Slot 'message'
        QtMocHelpers::SlotData<void(const QString &, MarkdownOverride)>(39, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 40 }, { 0x80000000 | 41, 42 },
        }}),
        // Slot 'message'
        QtMocHelpers::SlotData<void(const QString &)>(39, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 40 },
        }}),
        // Slot 'reaction'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 45 }, { QMetaType::QString, 46 },
        }}),
        // Slot 'sticker'
        QtMocHelpers::SlotData<void(QStringList)>(47, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 48 },
        }}),
        // Slot 'acceptUploads'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'declineUploads'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startTyping'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'stopTyping'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'finalizeUpload'
        QtMocHelpers::SlotData<void(MediaUpload *, const QString &)>(53, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 54, 55 }, { QMetaType::QString, 56 },
        }}),
        // Slot 'removeRunUpload'
        QtMocHelpers::SlotData<void(MediaUpload *)>(57, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 54, 55 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'uploading'
        QtMocHelpers::PropertyData<bool>(38, QMetaType::Bool, QMC::DefaultPropertyFlags, 1),
        // property 'containsInvalidCommand'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags, 2),
        // property 'containsIncompleteCommand'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags, 4),
        // property 'currentCommand'
        QtMocHelpers::PropertyData<QString>(26, QMetaType::QString, QMC::DefaultPropertyFlags, 5),
        // property 'mentions'
        QtMocHelpers::PropertyData<QStringList>(15, QMetaType::QStringList, QMC::DefaultPropertyFlags, 3),
        // property 'text'
        QtMocHelpers::PropertyData<QString>(11, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'uploads'
        QtMocHelpers::PropertyData<QVariantList>(58, 0x80000000 | 59, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 6),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<InputBar, qt_meta_tag_ZN8InputBarE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject InputBar::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8InputBarE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8InputBarE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8InputBarE_t>.metaTypes,
    nullptr
} };

void InputBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<InputBar *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->textChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->uploadingChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->containsInvalidCommandChanged(); break;
        case 3: _t->mentionsChanged(); break;
        case 4: _t->containsIncompleteCommandChanged(); break;
        case 5: _t->currentCommandChanged(); break;
        case 6: _t->uploadsChanged(); break;
        case 7: { QString _r = _t->text();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->previousText();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->nextText();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->setText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: { QStringList _r = _t->mentions();
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->addMention((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 13: _t->removeMention((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->storeForEdit(); break;
        case 15: _t->restoreAfterEdit(); break;
        case 16: _t->replaceMentions((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[2]))); break;
        case 17: { bool _r = _t->containsInvalidCommand();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->containsIncompleteCommand();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 19: { QString _r = _t->currentCommand();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->send(); break;
        case 21: { bool _r = _t->tryPasteAttachment((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 22: { bool _r = _t->insertMimeData((*reinterpret_cast<std::add_pointer_t<const QMimeData*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 23: _t->updateState((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 24: _t->openFileSelection(); break;
        case 25: { bool _r = _t->uploading();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 26: _t->message((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MarkdownOverride>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 27: _t->message((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MarkdownOverride>>(_a[2]))); break;
        case 28: _t->message((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 29: _t->reaction((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 30: _t->sticker((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 31: _t->acceptUploads(); break;
        case 32: _t->declineUploads(); break;
        case 33: _t->startTyping(); break;
        case 34: _t->stopTyping(); break;
        case 35: _t->finalizeUpload((*reinterpret_cast<std::add_pointer_t<MediaUpload*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 36: _t->removeRunUpload((*reinterpret_cast<std::add_pointer_t<MediaUpload*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 35:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< MediaUpload* >(); break;
            }
            break;
        case 36:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< MediaUpload* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (InputBar::*)(QString )>(_a, &InputBar::textChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputBar::*)(bool )>(_a, &InputBar::uploadingChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputBar::*)()>(_a, &InputBar::containsInvalidCommandChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputBar::*)()>(_a, &InputBar::mentionsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputBar::*)()>(_a, &InputBar::containsIncompleteCommandChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputBar::*)()>(_a, &InputBar::currentCommandChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputBar::*)()>(_a, &InputBar::uploadsChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->uploading(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->containsInvalidCommand(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->containsIncompleteCommand(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->currentCommand(); break;
        case 4: *reinterpret_cast<QStringList*>(_v) = _t->mentions(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->text(); break;
        case 6: *reinterpret_cast<QVariantList*>(_v) = _t->uploads(); break;
        default: break;
        }
    }
}

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

void *InputBar::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8InputBarE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int InputBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void InputBar::textChanged(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void InputBar::uploadingChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

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

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

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

// SIGNAL 6
void InputBar::uploadsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
