/****************************************************************************
** AQSTextStream meta object code from reading C++ file 'AQSTextStream_p.h'
**
** Created: vi. 31. jul. 22:07:33 2020
**      by: The Qt MOC ($Id: moc_yacc.cpp 2051 2007-02-21 10:04:20Z chehrlic $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "AQSTextStream_p.h"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.8. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *AQSTextStream::className() const
{
    return "AQSTextStream";
}

QMetaObject *AQSTextStream::metaObj = 0;
static QMetaObjectCleanUp cleanUp_AQSTextStream( "AQSTextStream", &AQSTextStream::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString AQSTextStream::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSTextStream", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString AQSTextStream::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSTextStream", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* AQSTextStream::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = AQSVoidPtr::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::Out }
    };
    static const QUMethod slot_0 = {"opOutString", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_1 = {"opOutInt", 1, param_slot_1 };
    static const QUMethod slot_2 = {"opOutFloat", 0, 0 };
    static const QUParameter param_slot_3[] = {
	{ "str", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"opIn", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ "i", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_4 = {"opIn", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ "f", &static_QUType_ptr, "float", QUParameter::In }
    };
    static const QUMethod slot_5 = {"opIn", 1, param_slot_5 };
    static const QUParameter param_slot_6[] = {
	{ 0, &static_QUType_varptr, "\x11", QUParameter::In }
    };
    static const QUMethod slot_6 = {"setEncoding", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ 0, &static_QUType_ptr, "QTextCodec", QUParameter::In }
    };
    static const QUMethod slot_7 = {"setCodec", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_ptr, "AQSTextCodec", QUParameter::In }
    };
    static const QUMethod slot_8 = {"setCodec", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_ptr, "QTextCodec", QUParameter::Out }
    };
    static const QUMethod slot_9 = {"codec", 1, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ 0, &static_QUType_ptr, "QIODevice", QUParameter::Out }
    };
    static const QUMethod slot_10 = {"device", 1, param_slot_10 };
    static const QUParameter param_slot_11[] = {
	{ 0, &static_QUType_ptr, "QIODevice", QUParameter::In }
    };
    static const QUMethod slot_11 = {"setDevice", 1, param_slot_11 };
    static const QUParameter param_slot_12[] = {
	{ 0, &static_QUType_ptr, "AQSIODevice", QUParameter::In }
    };
    static const QUMethod slot_12 = {"setDevice", 1, param_slot_12 };
    static const QUMethod slot_13 = {"unsetDevice", 0, 0 };
    static const QUParameter param_slot_14[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_14 = {"atEnd", 1, param_slot_14 };
    static const QUParameter param_slot_15[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::Out }
    };
    static const QUMethod slot_15 = {"readLine", 1, param_slot_15 };
    static const QUParameter param_slot_16[] = {
	{ 0, &static_QUType_QString, 0, QUParameter::Out }
    };
    static const QUMethod slot_16 = {"read", 1, param_slot_16 };
    static const QUMethod slot_17 = {"skipWhiteSpace", 0, 0 };
    static const QUParameter param_slot_18[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_18 = {"flags", 1, param_slot_18 };
    static const QUParameter param_slot_19[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_19 = {"flags", 2, param_slot_19 };
    static const QUParameter param_slot_20[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_20 = {"setf", 2, param_slot_20 };
    static const QUParameter param_slot_21[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_21 = {"setf", 3, param_slot_21 };
    static const QUParameter param_slot_22[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_22 = {"unsetf", 2, param_slot_22 };
    static const QUMethod slot_23 = {"reset", 0, 0 };
    static const QUParameter param_slot_24[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_24 = {"width", 1, param_slot_24 };
    static const QUParameter param_slot_25[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_25 = {"width", 2, param_slot_25 };
    static const QUParameter param_slot_26[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_26 = {"fill", 1, param_slot_26 };
    static const QUParameter param_slot_27[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_27 = {"fill", 2, param_slot_27 };
    static const QUParameter param_slot_28[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_28 = {"precision", 1, param_slot_28 };
    static const QUParameter param_slot_29[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_29 = {"precision", 2, param_slot_29 };
    static const QMetaData slot_tbl[] = {
	{ "opOutString()", &slot_0, QMetaData::Public },
	{ "opOutInt()", &slot_1, QMetaData::Public },
	{ "opOutFloat()", &slot_2, QMetaData::Public },
	{ "opIn(const QString&)", &slot_3, QMetaData::Public },
	{ "opIn(int)", &slot_4, QMetaData::Public },
	{ "opIn(float)", &slot_5, QMetaData::Public },
	{ "setEncoding(uint)", &slot_6, QMetaData::Public },
	{ "setCodec(QTextCodec*)", &slot_7, QMetaData::Public },
	{ "setCodec(AQSTextCodec*)", &slot_8, QMetaData::Public },
	{ "codec()", &slot_9, QMetaData::Public },
	{ "device()", &slot_10, QMetaData::Public },
	{ "setDevice(QIODevice*)", &slot_11, QMetaData::Public },
	{ "setDevice(AQSIODevice*)", &slot_12, QMetaData::Public },
	{ "unsetDevice()", &slot_13, QMetaData::Public },
	{ "atEnd()", &slot_14, QMetaData::Public },
	{ "readLine()", &slot_15, QMetaData::Public },
	{ "read()", &slot_16, QMetaData::Public },
	{ "skipWhiteSpace()", &slot_17, QMetaData::Public },
	{ "flags()", &slot_18, QMetaData::Public },
	{ "flags(int)", &slot_19, QMetaData::Public },
	{ "setf(int)", &slot_20, QMetaData::Public },
	{ "setf(int,int)", &slot_21, QMetaData::Public },
	{ "unsetf(int)", &slot_22, QMetaData::Public },
	{ "reset()", &slot_23, QMetaData::Public },
	{ "width()", &slot_24, QMetaData::Public },
	{ "width(int)", &slot_25, QMetaData::Public },
	{ "fill()", &slot_26, QMetaData::Public },
	{ "fill(int)", &slot_27, QMetaData::Public },
	{ "precision()", &slot_28, QMetaData::Public },
	{ "precision(int)", &slot_29, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"AQSTextStream", parentObject,
	slot_tbl, 30,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_AQSTextStream.setMetaObject( metaObj );
    return metaObj;
}

void* AQSTextStream::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "AQSTextStream" ) )
	return this;
    return AQSVoidPtr::qt_cast( clname );
}

bool AQSTextStream::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: static_QUType_QString.set(_o,opOutString()); break;
    case 1: static_QUType_int.set(_o,opOutInt()); break;
    case 2: opOutFloat(); break;
    case 3: opIn((const QString&)static_QUType_QString.get(_o+1)); break;
    case 4: opIn((int)static_QUType_int.get(_o+1)); break;
    case 5: opIn((float)(*((float*)static_QUType_ptr.get(_o+1)))); break;
    case 6: setEncoding((uint)(*((uint*)static_QUType_ptr.get(_o+1)))); break;
    case 7: setCodec((QTextCodec*)static_QUType_ptr.get(_o+1)); break;
    case 8: setCodec((AQSTextCodec*)static_QUType_ptr.get(_o+1)); break;
    case 9: static_QUType_ptr.set(_o,codec()); break;
    case 10: static_QUType_ptr.set(_o,device()); break;
    case 11: setDevice((QIODevice*)static_QUType_ptr.get(_o+1)); break;
    case 12: setDevice((AQSIODevice*)static_QUType_ptr.get(_o+1)); break;
    case 13: unsetDevice(); break;
    case 14: static_QUType_bool.set(_o,atEnd()); break;
    case 15: static_QUType_QString.set(_o,readLine()); break;
    case 16: static_QUType_QString.set(_o,read()); break;
    case 17: skipWhiteSpace(); break;
    case 18: static_QUType_int.set(_o,flags()); break;
    case 19: static_QUType_int.set(_o,flags((int)static_QUType_int.get(_o+1))); break;
    case 20: static_QUType_int.set(_o,setf((int)static_QUType_int.get(_o+1))); break;
    case 21: static_QUType_int.set(_o,setf((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2))); break;
    case 22: static_QUType_int.set(_o,unsetf((int)static_QUType_int.get(_o+1))); break;
    case 23: reset(); break;
    case 24: static_QUType_int.set(_o,width()); break;
    case 25: static_QUType_int.set(_o,width((int)static_QUType_int.get(_o+1))); break;
    case 26: static_QUType_int.set(_o,fill()); break;
    case 27: static_QUType_int.set(_o,fill((int)static_QUType_int.get(_o+1))); break;
    case 28: static_QUType_int.set(_o,precision()); break;
    case 29: static_QUType_int.set(_o,precision((int)static_QUType_int.get(_o+1))); break;
    default:
	return AQSVoidPtr::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool AQSTextStream::qt_emit( int _id, QUObject* _o )
{
    return AQSVoidPtr::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool AQSTextStream::qt_property( int id, int f, QVariant* v)
{
    return AQSVoidPtr::qt_property( id, f, v);
}

bool AQSTextStream::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
