/****************************************************************************
** FLReportPages meta object code from reading C++ file 'FLReportPages.h'
**
** Created: vi. 31. jul. 22:07:28 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 "FLReportPages.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 *FLReportPages::className() const
{
    return "FLReportPages";
}

QMetaObject *FLReportPages::metaObj = 0;
static QMetaObjectCleanUp cleanUp_FLReportPages( "FLReportPages", &FLReportPages::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString FLReportPages::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "FLReportPages", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString FLReportPages::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "FLReportPages", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* FLReportPages::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
#ifndef QT_NO_PROPERTIES
    static const QMetaEnum::Item enum_0[] = {
	{ "Portrait",  (int) FLReportPages::Portrait },
	{ "Landscape",  (int) FLReportPages::Landscape }
    };
    static const QMetaEnum::Item enum_1[] = {
	{ "A4",  (int) FLReportPages::A4 },
	{ "B5",  (int) FLReportPages::B5 },
	{ "Letter",  (int) FLReportPages::Letter },
	{ "Legal",  (int) FLReportPages::Legal },
	{ "Executive",  (int) FLReportPages::Executive },
	{ "A0",  (int) FLReportPages::A0 },
	{ "A1",  (int) FLReportPages::A1 },
	{ "A2",  (int) FLReportPages::A2 },
	{ "A3",  (int) FLReportPages::A3 },
	{ "A5",  (int) FLReportPages::A5 },
	{ "A6",  (int) FLReportPages::A6 },
	{ "A7",  (int) FLReportPages::A7 },
	{ "A8",  (int) FLReportPages::A8 },
	{ "A9",  (int) FLReportPages::A9 },
	{ "B0",  (int) FLReportPages::B0 },
	{ "B1",  (int) FLReportPages::B1 },
	{ "B10",  (int) FLReportPages::B10 },
	{ "B2",  (int) FLReportPages::B2 },
	{ "B3",  (int) FLReportPages::B3 },
	{ "B4",  (int) FLReportPages::B4 },
	{ "B6",  (int) FLReportPages::B6 },
	{ "B7",  (int) FLReportPages::B7 },
	{ "B8",  (int) FLReportPages::B8 },
	{ "B9",  (int) FLReportPages::B9 },
	{ "C5E",  (int) FLReportPages::C5E },
	{ "Comm10E",  (int) FLReportPages::Comm10E },
	{ "DLE",  (int) FLReportPages::DLE },
	{ "Folio",  (int) FLReportPages::Folio },
	{ "Ledger",  (int) FLReportPages::Ledger },
	{ "Tabloid",  (int) FLReportPages::Tabloid },
	{ "Custom",  (int) FLReportPages::Custom },
	{ "NPageSize",  (int) FLReportPages::NPageSize }
    };
    static const QMetaEnum enum_tbl[] = {
	{ "PageOrientation", 2, enum_0, FALSE },
	{ "PageSize", 32, enum_1, FALSE }
    };
#endif // QT_NO_PROPERTIES
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_ptr, "FLPicture", QUParameter::Out }
    };
    static const QUMethod slot_0 = {"getCurrentPage", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_ptr, "FLPicture", QUParameter::Out }
    };
    static const QUMethod slot_1 = {"getFirstPage", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_ptr, "FLPicture", QUParameter::Out }
    };
    static const QUMethod slot_2 = {"getPreviousPage", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ 0, &static_QUType_ptr, "FLPicture", QUParameter::Out }
    };
    static const QUMethod slot_3 = {"getNextPage", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ 0, &static_QUType_ptr, "FLPicture", QUParameter::Out }
    };
    static const QUMethod slot_4 = {"getLastPage", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ 0, &static_QUType_ptr, "FLPicture", QUParameter::Out },
	{ "i", &static_QUType_varptr, "\x11", QUParameter::In }
    };
    static const QUMethod slot_5 = {"getPageAt", 2, param_slot_5 };
    static const QUMethod slot_6 = {"clearPages", 0, 0 };
    static const QUMethod slot_7 = {"appendPage", 0, 0 };
    static const QUParameter param_slot_8[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_8 = {"getCurrentIndex", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ "idx", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_9 = {"setCurrentPage", 1, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ "s", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_10 = {"setPageSize", 1, param_slot_10 };
    static const QUParameter param_slot_11[] = {
	{ "o", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_11 = {"setPageOrientation", 1, param_slot_11 };
    static const QUParameter param_slot_12[] = {
	{ "dim", &static_QUType_varptr, "\x09", QUParameter::In }
    };
    static const QUMethod slot_12 = {"setPageDimensions", 1, param_slot_12 };
    static const QUParameter param_slot_13[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_13 = {"pageSize", 1, param_slot_13 };
    static const QUParameter param_slot_14[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_14 = {"pageOrientation", 1, param_slot_14 };
    static const QUParameter param_slot_15[] = {
	{ 0, &static_QUType_QVariant, "\x09", QUParameter::Out }
    };
    static const QUMethod slot_15 = {"pageDimensions", 1, param_slot_15 };
    static const QUParameter param_slot_16[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out }
    };
    static const QUMethod slot_16 = {"pageCount", 1, param_slot_16 };
    static const QMetaData slot_tbl[] = {
	{ "getCurrentPage()", &slot_0, QMetaData::Public },
	{ "getFirstPage()", &slot_1, QMetaData::Public },
	{ "getPreviousPage()", &slot_2, QMetaData::Public },
	{ "getNextPage()", &slot_3, QMetaData::Public },
	{ "getLastPage()", &slot_4, QMetaData::Public },
	{ "getPageAt(uint)", &slot_5, QMetaData::Public },
	{ "clearPages()", &slot_6, QMetaData::Public },
	{ "appendPage()", &slot_7, QMetaData::Public },
	{ "getCurrentIndex()", &slot_8, QMetaData::Public },
	{ "setCurrentPage(int)", &slot_9, QMetaData::Public },
	{ "setPageSize(int)", &slot_10, QMetaData::Public },
	{ "setPageOrientation(int)", &slot_11, QMetaData::Public },
	{ "setPageDimensions(QSize)", &slot_12, QMetaData::Public },
	{ "pageSize()", &slot_13, QMetaData::Public },
	{ "pageOrientation()", &slot_14, QMetaData::Public },
	{ "pageDimensions()", &slot_15, QMetaData::Public },
	{ "pageCount()", &slot_16, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"FLReportPages", parentObject,
	slot_tbl, 17,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	enum_tbl, 2,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_FLReportPages.setMetaObject( metaObj );
    return metaObj;
}

void* FLReportPages::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "FLReportPages" ) )
	return this;
    return QObject::qt_cast( clname );
}

bool FLReportPages::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: static_QUType_ptr.set(_o,getCurrentPage()); break;
    case 1: static_QUType_ptr.set(_o,getFirstPage()); break;
    case 2: static_QUType_ptr.set(_o,getPreviousPage()); break;
    case 3: static_QUType_ptr.set(_o,getNextPage()); break;
    case 4: static_QUType_ptr.set(_o,getLastPage()); break;
    case 5: static_QUType_ptr.set(_o,getPageAt((uint)(*((uint*)static_QUType_ptr.get(_o+1))))); break;
    case 6: clearPages(); break;
    case 7: appendPage(); break;
    case 8: static_QUType_int.set(_o,getCurrentIndex()); break;
    case 9: setCurrentPage((int)static_QUType_int.get(_o+1)); break;
    case 10: setPageSize((int)static_QUType_int.get(_o+1)); break;
    case 11: setPageOrientation((int)static_QUType_int.get(_o+1)); break;
    case 12: setPageDimensions((QSize)(*((QSize*)static_QUType_ptr.get(_o+1)))); break;
    case 13: static_QUType_int.set(_o,pageSize()); break;
    case 14: static_QUType_int.set(_o,pageOrientation()); break;
    case 15: static_QUType_QVariant.set(_o,QVariant(pageDimensions())); break;
    case 16: static_QUType_int.set(_o,pageCount()); break;
    default:
	return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool FLReportPages::qt_emit( int _id, QUObject* _o )
{
    return QObject::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool FLReportPages::qt_property( int id, int f, QVariant* v)
{
    return QObject::qt_property( id, f, v);
}

bool FLReportPages::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
