/****************************************************************************
** AQSScrollView meta object code from reading C++ file 'AQSScrollView_p.h'
**
** Created: vi. 31. jul. 22:07:32 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 "AQSScrollView_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

#include <qvariant.h>
const char *AQSScrollView::className() const
{
    return "AQSScrollView";
}

QMetaObject *AQSScrollView::metaObj = 0;
static QMetaObjectCleanUp cleanUp_AQSScrollView( "AQSScrollView", &AQSScrollView::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString AQSScrollView::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSScrollView", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString AQSScrollView::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSScrollView", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* AQSScrollView::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = AQSFrame::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In }
    };
    static const QUMethod slot_0 = {"addChild", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"addChild", 2, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"addChild", 3, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"moveChild", 3, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In }
    };
    static const QUMethod slot_4 = {"childX", 2, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In }
    };
    static const QUMethod slot_5 = {"childY", 2, param_slot_5 };
    static const QUParameter param_slot_6[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::Out }
    };
    static const QUMethod slot_6 = {"cornerWidget", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::In }
    };
    static const QUMethod slot_7 = {"setCornerWidget", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_ptr, "QScrollBar", QUParameter::Out }
    };
    static const QUMethod slot_8 = {"horizontalScrollBar", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ 0, &static_QUType_ptr, "QScrollBar", QUParameter::Out }
    };
    static const QUMethod slot_9 = {"verticalScrollBar", 1, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::Out }
    };
    static const QUMethod slot_10 = {"viewport", 1, param_slot_10 };
    static const QUParameter param_slot_11[] = {
	{ 0, &static_QUType_ptr, "QWidget", QUParameter::Out }
    };
    static const QUMethod slot_11 = {"clipper", 1, param_slot_11 };
    static const QUParameter param_slot_12[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_12 = {"updateContents", 4, param_slot_12 };
    static const QUParameter param_slot_13[] = {
	{ 0, &static_QUType_varptr, "\x08", QUParameter::In }
    };
    static const QUMethod slot_13 = {"updateContents", 1, param_slot_13 };
    static const QUMethod slot_14 = {"updateContents", 0, 0 };
    static const QUParameter param_slot_15[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_15 = {"repaintContents", 4, param_slot_15 };
    static const QUParameter param_slot_16[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_16 = {"repaintContents", 5, param_slot_16 };
    static const QUParameter param_slot_17[] = {
	{ 0, &static_QUType_varptr, "\x08", QUParameter::In }
    };
    static const QUMethod slot_17 = {"repaintContents", 1, param_slot_17 };
    static const QUParameter param_slot_18[] = {
	{ 0, &static_QUType_varptr, "\x08", QUParameter::In },
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_18 = {"repaintContents", 2, param_slot_18 };
    static const QUMethod slot_19 = {"repaintContents", 0, 0 };
    static const QUParameter param_slot_20[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_20 = {"repaintContents", 1, param_slot_20 };
    static const QUParameter param_slot_21[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::InOut },
	{ 0, &static_QUType_int, 0, QUParameter::InOut }
    };
    static const QUMethod slot_21 = {"contentsToViewport", 4, param_slot_21 };
    static const QUParameter param_slot_22[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::InOut },
	{ 0, &static_QUType_int, 0, QUParameter::InOut }
    };
    static const QUMethod slot_22 = {"viewportToContents", 4, param_slot_22 };
    static const QUParameter param_slot_23[] = {
	{ 0, &static_QUType_QVariant, "\x0e", QUParameter::Out },
	{ 0, &static_QUType_varptr, "\x0e", QUParameter::In }
    };
    static const QUMethod slot_23 = {"contentsToViewport", 2, param_slot_23 };
    static const QUParameter param_slot_24[] = {
	{ 0, &static_QUType_QVariant, "\x0e", QUParameter::Out },
	{ 0, &static_QUType_varptr, "\x0e", QUParameter::In }
    };
    static const QUMethod slot_24 = {"viewportToContents", 2, param_slot_24 };
    static const QUParameter param_slot_25[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_25 = {"enableClipper", 1, param_slot_25 };
    static const QUParameter param_slot_26[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_26 = {"setStaticBackground", 1, param_slot_26 };
    static const QUParameter param_slot_27[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_27 = {"hasStaticBackground", 1, param_slot_27 };
    static const QUParameter param_slot_28[] = {
	{ 0, &static_QUType_QVariant, "\x09", QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_28 = {"viewportSize", 3, param_slot_28 };
    static const QUParameter param_slot_29[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_29 = {"isHorizontalSliderPressed", 1, param_slot_29 };
    static const QUParameter param_slot_30[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_30 = {"isVerticalSliderPressed", 1, param_slot_30 };
    static const QMetaData slot_tbl[] = {
	{ "addChild(QWidget*)", &slot_0, QMetaData::Public },
	{ "addChild(QWidget*,int)", &slot_1, QMetaData::Public },
	{ "addChild(QWidget*,int,int)", &slot_2, QMetaData::Public },
	{ "moveChild(QWidget*,int,int)", &slot_3, QMetaData::Public },
	{ "childX(QWidget*)", &slot_4, QMetaData::Public },
	{ "childY(QWidget*)", &slot_5, QMetaData::Public },
	{ "cornerWidget()", &slot_6, QMetaData::Public },
	{ "setCornerWidget(QWidget*)", &slot_7, QMetaData::Public },
	{ "horizontalScrollBar()", &slot_8, QMetaData::Public },
	{ "verticalScrollBar()", &slot_9, QMetaData::Public },
	{ "viewport()", &slot_10, QMetaData::Public },
	{ "clipper()", &slot_11, QMetaData::Public },
	{ "updateContents(int,int,int,int)", &slot_12, QMetaData::Public },
	{ "updateContents(const QRect&)", &slot_13, QMetaData::Public },
	{ "updateContents()", &slot_14, QMetaData::Public },
	{ "repaintContents(int,int,int,int)", &slot_15, QMetaData::Public },
	{ "repaintContents(int,int,int,int,bool)", &slot_16, QMetaData::Public },
	{ "repaintContents(const QRect&)", &slot_17, QMetaData::Public },
	{ "repaintContents(const QRect&,bool)", &slot_18, QMetaData::Public },
	{ "repaintContents()", &slot_19, QMetaData::Public },
	{ "repaintContents(bool)", &slot_20, QMetaData::Public },
	{ "contentsToViewport(int,int,int&,int&)", &slot_21, QMetaData::Public },
	{ "viewportToContents(int,int,int&,int&)", &slot_22, QMetaData::Public },
	{ "contentsToViewport(const QPoint&)", &slot_23, QMetaData::Public },
	{ "viewportToContents(const QPoint&)", &slot_24, QMetaData::Public },
	{ "enableClipper(bool)", &slot_25, QMetaData::Public },
	{ "setStaticBackground(bool)", &slot_26, QMetaData::Public },
	{ "hasStaticBackground()", &slot_27, QMetaData::Public },
	{ "viewportSize(int,int)", &slot_28, QMetaData::Public },
	{ "isHorizontalSliderPressed()", &slot_29, QMetaData::Public },
	{ "isVerticalSliderPressed()", &slot_30, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"AQSScrollView", parentObject,
	slot_tbl, 31,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_AQSScrollView.setMetaObject( metaObj );
    return metaObj;
}

void* AQSScrollView::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "AQSScrollView" ) )
	return this;
    return AQSFrame::qt_cast( clname );
}

bool AQSScrollView::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: addChild((QWidget*)static_QUType_ptr.get(_o+1)); break;
    case 1: addChild((QWidget*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 2: addChild((QWidget*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 3: moveChild((QWidget*)static_QUType_ptr.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 4: static_QUType_int.set(_o,childX((QWidget*)static_QUType_ptr.get(_o+1))); break;
    case 5: static_QUType_int.set(_o,childY((QWidget*)static_QUType_ptr.get(_o+1))); break;
    case 6: static_QUType_ptr.set(_o,cornerWidget()); break;
    case 7: setCornerWidget((QWidget*)static_QUType_ptr.get(_o+1)); break;
    case 8: static_QUType_ptr.set(_o,horizontalScrollBar()); break;
    case 9: static_QUType_ptr.set(_o,verticalScrollBar()); break;
    case 10: static_QUType_ptr.set(_o,viewport()); break;
    case 11: static_QUType_ptr.set(_o,clipper()); break;
    case 12: updateContents((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 13: updateContents((const QRect&)*((const QRect*)static_QUType_ptr.get(_o+1))); break;
    case 14: updateContents(); break;
    case 15: repaintContents((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 16: repaintContents((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4),(bool)static_QUType_bool.get(_o+5)); break;
    case 17: repaintContents((const QRect&)*((const QRect*)static_QUType_ptr.get(_o+1))); break;
    case 18: repaintContents((const QRect&)*((const QRect*)static_QUType_ptr.get(_o+1)),(bool)static_QUType_bool.get(_o+2)); break;
    case 19: repaintContents(); break;
    case 20: repaintContents((bool)static_QUType_bool.get(_o+1)); break;
    case 21: contentsToViewport((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int&)static_QUType_int.get(_o+3),(int&)static_QUType_int.get(_o+4)); break;
    case 22: viewportToContents((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int&)static_QUType_int.get(_o+3),(int&)static_QUType_int.get(_o+4)); break;
    case 23: static_QUType_QVariant.set(_o,QVariant(contentsToViewport((const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+1))))); break;
    case 24: static_QUType_QVariant.set(_o,QVariant(viewportToContents((const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+1))))); break;
    case 25: enableClipper((bool)static_QUType_bool.get(_o+1)); break;
    case 26: setStaticBackground((bool)static_QUType_bool.get(_o+1)); break;
    case 27: static_QUType_bool.set(_o,hasStaticBackground()); break;
    case 28: static_QUType_QVariant.set(_o,QVariant(viewportSize((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)))); break;
    case 29: static_QUType_bool.set(_o,isHorizontalSliderPressed()); break;
    case 30: static_QUType_bool.set(_o,isVerticalSliderPressed()); break;
    default:
	return AQSFrame::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool AQSScrollView::qt_emit( int _id, QUObject* _o )
{
    return AQSFrame::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool AQSScrollView::qt_property( int id, int f, QVariant* v)
{
    return AQSFrame::qt_property( id, f, v);
}

bool AQSScrollView::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
