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

#include "../../../../amarok-3.3.3/src/scripting/scriptengine/qtbindings/CoreTextStream.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 'CoreTextStream.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN10QtBindings4Core10TextStreamE_t {};
} // unnamed namespace

template <> constexpr inline auto QtBindings::Core::TextStream::qt_create_metaobjectdata<qt_meta_tag_ZN10QtBindings4Core10TextStreamE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QtBindings::Core::TextStream",
        "atEnd",
        "",
        "autoDetectUnicode",
        "device",
        "QIODevice*",
        "fieldAlignment",
        "FieldAlignment",
        "fieldWidth",
        "flush",
        "generateByteOrderMark",
        "integerBase",
        "locale",
        "numberFlags",
        "NumberFlags",
        "padChar",
        "pos",
        "readAll",
        "readLineInto",
        "QString*",
        "line",
        "maxlen",
        "readLine",
        "read",
        "realNumberNotation",
        "RealNumberNotation",
        "realNumberPrecision",
        "reset",
        "resetStatus",
        "seek",
        "setAutoDetectUnicode",
        "enabled",
        "setDevice",
        "setFieldAlignment",
        "alignment",
        "setFieldWidth",
        "width",
        "setGenerateByteOrderMark",
        "generate",
        "setIntegerBase",
        "base",
        "setLocale",
        "setNumberFlags",
        "flags",
        "setPadChar",
        "ch",
        "setRealNumberNotation",
        "notation",
        "setRealNumberPrecision",
        "precision",
        "setStatus",
        "Status",
        "status",
        "setString",
        "string",
        "QIODevice::OpenMode",
        "openMode",
        "skipWhiteSpace",
        "TextStream",
        "textStream",
        "FILE*",
        "fileHandle",
        "QByteArray*",
        "array"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'atEnd'
        QtMocHelpers::SlotData<bool() const>(1, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'autoDetectUnicode'
        QtMocHelpers::SlotData<bool() const>(3, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'device'
        QtMocHelpers::SlotData<QIODevice *() const>(4, 2, QMC::AccessPublic, 0x80000000 | 5),
        // Slot 'fieldAlignment'
        QtMocHelpers::SlotData<FieldAlignment() const>(6, 2, QMC::AccessPublic, 0x80000000 | 7),
        // Slot 'fieldWidth'
        QtMocHelpers::SlotData<int() const>(8, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'flush'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'generateByteOrderMark'
        QtMocHelpers::SlotData<bool() const>(10, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'integerBase'
        QtMocHelpers::SlotData<int() const>(11, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'locale'
        QtMocHelpers::SlotData<QLocale() const>(12, 2, QMC::AccessPublic, QMetaType::QLocale),
        // Slot 'numberFlags'
        QtMocHelpers::SlotData<NumberFlags() const>(13, 2, QMC::AccessPublic, 0x80000000 | 14),
        // Slot 'padChar'
        QtMocHelpers::SlotData<QChar() const>(15, 2, QMC::AccessPublic, QMetaType::QChar),
        // Slot 'pos'
        QtMocHelpers::SlotData<qint64() const>(16, 2, QMC::AccessPublic, QMetaType::LongLong),
        // Slot 'readAll'
        QtMocHelpers::SlotData<QString()>(17, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'readLineInto'
        QtMocHelpers::SlotData<bool(QString *, qint64)>(18, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 19, 20 }, { QMetaType::LongLong, 21 },
        }}),
        // Slot 'readLineInto'
        QtMocHelpers::SlotData<bool(QString *)>(18, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Bool, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'readLine'
        QtMocHelpers::SlotData<QString(qint64)>(22, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::LongLong, 21 },
        }}),
        // Slot 'readLine'
        QtMocHelpers::SlotData<QString()>(22, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QString),
        // Slot 'read'
        QtMocHelpers::SlotData<QString(qint64)>(23, 2, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::LongLong, 21 },
        }}),
        // Slot 'realNumberNotation'
        QtMocHelpers::SlotData<RealNumberNotation() const>(24, 2, QMC::AccessPublic, 0x80000000 | 25),
        // Slot 'realNumberPrecision'
        QtMocHelpers::SlotData<int() const>(26, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'reset'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'resetStatus'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'seek'
        QtMocHelpers::SlotData<bool(qint64)>(29, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::LongLong, 16 },
        }}),
        // Slot 'setAutoDetectUnicode'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 31 },
        }}),
        // Slot 'setDevice'
        QtMocHelpers::SlotData<void(QIODevice *)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 4 },
        }}),
        // Slot 'setFieldAlignment'
        QtMocHelpers::SlotData<void(FieldAlignment)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 34 },
        }}),
        // Slot 'setFieldWidth'
        QtMocHelpers::SlotData<void(int)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 36 },
        }}),
        // Slot 'setGenerateByteOrderMark'
        QtMocHelpers::SlotData<void(bool)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 38 },
        }}),
        // Slot 'setIntegerBase'
        QtMocHelpers::SlotData<void(int)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 40 },
        }}),
        // Slot 'setLocale'
        QtMocHelpers::SlotData<void(const QLocale &)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QLocale, 12 },
        }}),
        // Slot 'setNumberFlags'
        QtMocHelpers::SlotData<void(NumberFlags)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 43 },
        }}),
        // Slot 'setPadChar'
        QtMocHelpers::SlotData<void(QChar)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QChar, 45 },
        }}),
        // Slot 'setRealNumberNotation'
        QtMocHelpers::SlotData<void(RealNumberNotation)>(46, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 47 },
        }}),
        // Slot 'setRealNumberPrecision'
        QtMocHelpers::SlotData<void(int)>(48, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 49 },
        }}),
        // Slot 'setStatus'
        QtMocHelpers::SlotData<void(Status)>(50, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 51, 52 },
        }}),
        // Slot 'setString'
        QtMocHelpers::SlotData<void(QString *, QIODevice::OpenMode)>(53, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 54 }, { 0x80000000 | 55, 56 },
        }}),
        // Slot 'setString'
        QtMocHelpers::SlotData<void(QString *)>(53, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 19, 54 },
        }}),
        // Slot 'skipWhiteSpace'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'status'
        QtMocHelpers::SlotData<Status() const>(52, 2, QMC::AccessPublic, 0x80000000 | 51),
        // Slot 'string'
        QtMocHelpers::SlotData<QString *() const>(54, 2, QMC::AccessPublic, 0x80000000 | 19),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    using Constructor = QtMocHelpers::NoType;
    QtMocHelpers::UintData qt_constructors {
        QtMocHelpers::ConstructorData<Constructor()>(2, QMC::AccessPublic),
        QtMocHelpers::ConstructorData<Constructor(const TextStream &)>(2, QMC::AccessPublic, {{
            { 0x80000000 | 58, 59 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(QIODevice *)>(2, QMC::AccessPublic, {{
            { 0x80000000 | 5, 4 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(FILE *, QIODevice::OpenMode)>(2, QMC::AccessPublic, {{
            { 0x80000000 | 60, 61 }, { 0x80000000 | 55, 56 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(FILE *)>(2, QMC::AccessPublic | QMC::MethodCloned, {{
            { 0x80000000 | 60, 61 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(QString *, QIODevice::OpenMode)>(2, QMC::AccessPublic, {{
            { 0x80000000 | 19, 54 }, { 0x80000000 | 55, 56 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(QString *)>(2, QMC::AccessPublic | QMC::MethodCloned, {{
            { 0x80000000 | 19, 54 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(QByteArray *, QIODevice::OpenMode)>(2, QMC::AccessPublic, {{
            { 0x80000000 | 62, 63 }, { 0x80000000 | 55, 56 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(QByteArray *)>(2, QMC::AccessPublic | QMC::MethodCloned, {{
            { 0x80000000 | 62, 63 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(const QByteArray &, QIODevice::OpenMode)>(2, QMC::AccessPublic, {{
            { QMetaType::QByteArray, 63 }, { 0x80000000 | 55, 56 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(const QByteArray &)>(2, QMC::AccessPublic | QMC::MethodCloned, {{
            { QMetaType::QByteArray, 63 },
        }}),
    };
    return QtMocHelpers::metaObjectData<TextStream, qt_meta_tag_ZN10QtBindings4Core10TextStreamE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors);
}
Q_CONSTINIT const QMetaObject QtBindings::Core::TextStream::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QtBindings4Core10TextStreamE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QtBindings4Core10TextStreamE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10QtBindings4Core10TextStreamE_t>.metaTypes,
    nullptr
} };

void QtBindings::Core::TextStream::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TextStream *>(_o);
    if (_c == QMetaObject::CreateInstance) {
        switch (_id) {
        case 0: { TextStream *_r = new TextStream();
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 1: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<TextStream>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 2: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<QIODevice*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 3: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<FILE*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 4: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<FILE*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 5: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 6: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 7: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 8: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 9: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 10: { TextStream *_r = new TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        default: break;
        }
    }
    if (_c == QMetaObject::ConstructInPlace) {
        switch (_id) {
        case 0: { new (_a[0]) TextStream(); } break;
        case 1: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<TextStream>>(_a[1]))); } break;
        case 2: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<QIODevice*>>(_a[1]))); } break;
        case 3: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<FILE*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2]))); } break;
        case 4: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<FILE*>>(_a[1]))); } break;
        case 5: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2]))); } break;
        case 6: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1]))); } break;
        case 7: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2]))); } break;
        case 8: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray*>>(_a[1]))); } break;
        case 9: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2]))); } break;
        case 10: { new (_a[0]) TextStream((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); } break;
        default: break;
        }
    }
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = _t->atEnd();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->autoDetectUnicode();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { QIODevice* _r = _t->device();
            if (_a[0]) *reinterpret_cast<QIODevice**>(_a[0]) = std::move(_r); }  break;
        case 3: { FieldAlignment _r = _t->fieldAlignment();
            if (_a[0]) *reinterpret_cast<FieldAlignment*>(_a[0]) = std::move(_r); }  break;
        case 4: { int _r = _t->fieldWidth();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->flush(); break;
        case 6: { bool _r = _t->generateByteOrderMark();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { int _r = _t->integerBase();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 8: { QLocale _r = _t->locale();
            if (_a[0]) *reinterpret_cast<QLocale*>(_a[0]) = std::move(_r); }  break;
        case 9: { NumberFlags _r = _t->numberFlags();
            if (_a[0]) *reinterpret_cast<NumberFlags*>(_a[0]) = std::move(_r); }  break;
        case 10: { QChar _r = _t->padChar();
            if (_a[0]) *reinterpret_cast<QChar*>(_a[0]) = std::move(_r); }  break;
        case 11: { qint64 _r = _t->pos();
            if (_a[0]) *reinterpret_cast<qint64*>(_a[0]) = std::move(_r); }  break;
        case 12: { QString _r = _t->readAll();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 13: { bool _r = _t->readLineInto((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qint64>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->readLineInto((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 15: { QString _r = _t->readLine((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 16: { QString _r = _t->readLine();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 17: { QString _r = _t->read((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 18: { RealNumberNotation _r = _t->realNumberNotation();
            if (_a[0]) *reinterpret_cast<RealNumberNotation*>(_a[0]) = std::move(_r); }  break;
        case 19: { int _r = _t->realNumberPrecision();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->reset(); break;
        case 21: _t->resetStatus(); break;
        case 22: { bool _r = _t->seek((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 23: _t->setAutoDetectUnicode((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 24: _t->setDevice((*reinterpret_cast<std::add_pointer_t<QIODevice*>>(_a[1]))); break;
        case 25: _t->setFieldAlignment((*reinterpret_cast<std::add_pointer_t<FieldAlignment>>(_a[1]))); break;
        case 26: _t->setFieldWidth((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 27: _t->setGenerateByteOrderMark((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 28: _t->setIntegerBase((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 29: _t->setLocale((*reinterpret_cast<std::add_pointer_t<QLocale>>(_a[1]))); break;
        case 30: _t->setNumberFlags((*reinterpret_cast<std::add_pointer_t<NumberFlags>>(_a[1]))); break;
        case 31: _t->setPadChar((*reinterpret_cast<std::add_pointer_t<QChar>>(_a[1]))); break;
        case 32: _t->setRealNumberNotation((*reinterpret_cast<std::add_pointer_t<RealNumberNotation>>(_a[1]))); break;
        case 33: _t->setRealNumberPrecision((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 34: _t->setStatus((*reinterpret_cast<std::add_pointer_t<Status>>(_a[1]))); break;
        case 35: _t->setString((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIODevice::OpenMode>>(_a[2]))); break;
        case 36: _t->setString((*reinterpret_cast<std::add_pointer_t<QString*>>(_a[1]))); break;
        case 37: _t->skipWhiteSpace(); break;
        case 38: { Status _r = _t->status();
            if (_a[0]) *reinterpret_cast<Status*>(_a[0]) = std::move(_r); }  break;
        case 39: { QString* _r = _t->string();
            if (_a[0]) *reinterpret_cast<QString**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QIODevice* >(); break;
            }
            break;
        }
    }
}

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

void *QtBindings::Core::TextStream::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QtBindings4Core10TextStreamE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QTextStream"))
        return static_cast< QTextStream*>(this);
    if (!strcmp(_clname, "QtBindings::Base<TextStream>"))
        return static_cast< QtBindings::Base<TextStream>*>(this);
    return QObject::qt_metacast(_clname);
}

int QtBindings::Core::TextStream::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 < 40)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 40;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 40)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 40;
    }
    return _id;
}
QT_WARNING_POP
