
// Auto generated

// include header:
//#include "qboxlayoutwrapper.h"
//#include "header_cpp.h"

#include "qboxlayout_wrapper.h"


// list of registered base casters for this wrapper class:
QList<RJSBasecaster_QBoxLayout*> QBoxLayout_Wrapper::basecasters_QBoxLayout;

// static functions implementation in singleton wrapper:

// Class: QBoxLayout
// Function: tr
// Source: QObject
// Static: true
// Parameters: 3
// preceding Parameters: -1

QJSValue
QBoxLayout_WrapperSingleton::tr
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )

        && RJSHelper::is_char_ptr(handler, a2
                                  , true

                                 )

        && RJSHelper::is_int(handler, a3
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: sourceText (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();

        // convert js parameter to cpp:  (char)


        // char pointer string:
        QByteArray a2_ba = RJSHelper::js2cpp_char_ptr(handler, a2).toLocal8Bit();
        const char* a2_cpp = a2_ba.constData();

        // convert js parameter to cpp:  (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = -1;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }


        // call function:

        // static member function:
        // call base class static function:
        QString res =

            // call static member function:
            QObject::tr(
                a1_cpp
                , a2_cpp
                , a3_cpp

            );

        // return type: QString

        return RJSHelper::cpp2js_QString(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for tr";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: closestAcceptableSize
// Source: QLayout
// Static: true
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_WrapperSingleton::closestAcceptableSize
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_QSize(handler, a2
                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: s (QSize)

        QSize a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QSize(handler, a2);


        // call function:

        // static member function:
        // call base class static function:
        QSize res =

            // call static member function:
            QLayout::closestAcceptableSize(
                a1_cpp
                , a2_cpp

            );

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for closestAcceptableSize";
    handler.trace();
    return QJSValue();

}

void QBoxLayout_Wrapper::init(RJSApi& handler) {

    //qmlRegisterType<QBoxLayout_Wrapper>("org.qcad", 1, 0, "QBoxLayout_Wrapper");
    qmlRegisterInterface<QBoxLayout_Wrapper>("QBoxLayout_Wrapper", 1);


    QJSEngine* engine = handler.getEngine();


    // make type scriptable for JS files:
    QJSValue global = engine->globalObject();
    RJSType_QBoxLayout* t = new RJSType_QBoxLayout();
    global.setProperty("RJSType_QBoxLayout", engine->newQObject(t));

    // initialize ID for this type:
    RJSType_QBoxLayout::getIdStatic();



    // wrapper:
    QJSValue mo = engine->newQMetaObject(&QBoxLayout_Wrapper::staticMetaObject);
    engine->globalObject().setProperty("QBoxLayout_Wrapper", mo);



    // JS base class:
    //QJSValue mob = engine->newQMetaObject(&QBoxLayout_BaseJs::staticMetaObject);
    //engine->globalObject().setProperty("QBoxLayout_BaseJs", mob);

    // singleton wrapper:
    QJSValue mos = engine->newQMetaObject(&QBoxLayout_WrapperSingleton::staticMetaObject);
    engine->globalObject().setProperty("QBoxLayout_WrapperSingleton", mos);

    // create instance of singleton wrapper for static functions:
    QBoxLayout_WrapperSingleton * s = new QBoxLayout_WrapperSingleton(handler);
    engine->globalObject().setProperty("QBoxLayout_WrapperSingletonInstance", engine->newQObject(s));
    QJSEngine::setObjectOwnership(s, QJSEngine::CppOwnership);

    QString fileName = ":generator/js/QBoxLayout.js";
    QFile scriptFile(fileName);
    if (!scriptFile.open(QIODevice::ReadOnly)) {
        qWarning() << "JS script wrapper file not found:" << fileName;
        return;
    }
    QTextStream stream(&scriptFile);
    QString contents = stream.readAll();
    scriptFile.close();

    qDebug() << "Evaluating file: " << fileName;
    QJSValue result = engine->evaluate(contents, fileName);
    if (result.isError()) {
        qWarning()
                << "Uncaught exception at line"
                << result.property("lineNumber").toInt()
                << ":" << result.toString();
    }
}

/*
// special constructor used as prototype:
QBoxLayout_Wrapper::QBoxLayout_Wrapper(QJSEngine* e) : wrapped(nullptr), wrappedCreated(false) {
        //setObjectName("QBoxLayout_Wrapper");
        setEngine(e);

        // signal forwarding:
        //initConnections();
      }

*/


// special constructor to wrap existing object:
QBoxLayout_Wrapper::QBoxLayout_Wrapper(RJSApi& h, QBoxLayout* o, bool wrappedCreated) : RJSWrapperObj(h), wrapped(o), wrappedCreated(wrappedCreated) {
    //RDebug::incCounter(QString("QBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::incCounter(QString("QBoxLayout_Wrapper"));
    //setObjectName("QBoxLayout_Wrapper");
    //setHandler(h);

    // signal forwarding:
    initConnections();
}


// destructor:
QBoxLayout_Wrapper::~QBoxLayout_Wrapper() {
    //RDebug::decCounter(QString("QBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::decCounter(QString("QBoxLayout_Wrapper"));

    //qDebug() << "QBoxLayout_Wrapper::~QBoxLayout_Wrapper";

    // tell script handler that this wrapper no longer exists:
    handler.unregisterWrapper(*this);


    if (wrappedCreated) {

        // never delete wrapped object (non-copyable, CPP ownership or private destructor)
        //qDebug() << "NOT deleting instance of QBoxLayout";

    }

}

// initialization of signal forwarding

void QBoxLayout_Wrapper::initConnections() {

    //setObjectName("QBoxLayout_Wrapper");

    // tell script handler that this wrapper needs to be deleted if the engine is deleted:
    handler.registerWrapper(*this);


    // wrapped object is a QObject and not a wrapper for a null pointer:
    // wrapper is managed by the QObject as child:
    if (hasWrapped()) {
        QJSEngine::setObjectOwnership(this, QJSEngine::CppOwnership);
    }


    if (hasWrapped()) {

        // set parent of wrapper to wrapped:
        // wrapper can be looked up for object:
        QVariant vThis = QVariant::fromValue(this);
        getWrapped()->setProperty("__wrapper__",  vThis);

        // make sure wrapper is deleted when object is deleted:
        // make sure wrapper stays alive as long as the wrapped stays alive::
        QObject::setParent(getWrapped());

        // set up signal forwarding:

        /*
        connect(
          getWrapped(),
          SIGNAL(destroyed(QObject*)),
          &handler,
          SLOT(slotDestroyed(QObject*))
        );
        */

    }
}


// constructors:

// Class: QBoxLayout
// Function:
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1
QBoxLayout_Wrapper::QBoxLayout_Wrapper

(

    // RJSApi:
    QObject* h
    ,
    const QJSValue&
    a1,
    const QJSValue&
    a2
)

    : RJSWrapperObj(*(RJSApi*)h)

{

    //RDebug::incCounter(QString("QBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::incCounter(QString("QBoxLayout_Wrapper"));

    // check parameter types:
    if (
        RJSHelper::is_QBoxLayout_Direction(handler, a1
                                          )

        && RJSHelper::is_QWidget_ptr(handler, a2
                                     , true

                                    )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QBoxLayout::Direction)

        QBoxLayout::Direction a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QBoxLayout_Direction(handler, a1);

        // convert js parameter to cpp: parent (QWidget)


        // pointer:
        QWidget*
        a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = nullptr;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a2);
        }


        // call function:

        // construct wrapper:


        wrapped = new QBoxLayout_Base(
            handler

            ,
            a1_cpp
            , a2_cpp

        );
        wrappedCreated = true;

        // set handler for wrapped base object:
        //((QBoxLayout_Base*)wrapped)->setHandler(handler);

        // store self to call into JS:
        ((QBoxLayout_Base*)wrapped)->self = handler.getSelf();


        // signal forwarding:
        // TODO
        //connect(wrapped, SIGNAL(triggered(bool)), this, SLOT(triggeredEmitter(bool)));
        initConnections();
        return;


    }

    // no constructor without arguments defined
    // allow constructor for prototype objects without args:
    if (
        a1.isUndefined()
        && a2.isUndefined()

    ) {
        wrapped = nullptr;
        wrappedCreated = false;
        return;
    }


    qWarning() << "no matching constructor variant found for QBoxLayout";
    wrapped = nullptr;
    wrappedCreated = false;
    handler.trace();

}


// non-static functions:

// Class: QBoxLayout
// Function: objectName
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::objectName
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QString res =

            w->objectName(

            );

        //setRecFlag(false);

        // return type: QString

        return RJSHelper::cpp2js_QString(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for objectName";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setObjectName
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setObjectName
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QString(handler, a1
                             )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (QString)

        QString a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QString(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setObjectName(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setObjectName";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: isWidgetType
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::isWidgetType
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->isWidgetType(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isWidgetType";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: isWindowType
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::isWindowType
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->isWindowType(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isWindowType";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: signalsBlocked
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::signalsBlocked
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->signalsBlocked(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for signalsBlocked";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: blockSignals
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::blockSignals
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_bool(handler, a1
                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: b (bool)

        bool a1_cpp;

        a1_cpp = RJSHelper::js2cpp_bool(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->blockSignals(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for blockSignals";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: findChild
// Source: QObject
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::findChild
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_QString(handler, a1
                              , true

                             )

        && RJSHelper::is_Qt_FindChildOptions(handler, a2
                , true

                                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: aName (QString)

        QString a1_cpp;


        if (a1.isUndefined()) {
            a1_cpp = QString();
        }
        else {
            a1_cpp = RJSHelper::js2cpp_QString(handler, a1);
        }

        // convert js parameter to cpp: options (Qt::FindChildOptions)

        Qt::FindChildOptions a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = Qt::FindChildrenRecursively;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_Qt_FindChildOptions(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QObject* res =

            w->findChild<QObject*>(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: QObject*

        return RJSHelper::cpp2js_QObject(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for findChild";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: children
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::children
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        // return type is reference:
        // use pointer instead 3:
        const QObjectList* res =
            &
            w->children(

            );

        //setRecFlag(false);

        // return type: const QObjectList&

        return RJSHelper::cpp2js_QObjectList(
                   handler,
                   // non-copyable: false
                   // return type is reference, type is copyable:
                   // convert pointer back to reference:
                   *res

               );

    }

    qWarning() << "no matching function variant found for children";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setParent
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setParent
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: parent (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setParent(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setParent";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: installEventFilter
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::installEventFilter
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: filterObj (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->installEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for installEventFilter";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: removeEventFilter
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::removeEventFilter
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: obj (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->removeEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for removeEventFilter";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: dumpObjectTree
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::dumpObjectTree
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->dumpObjectTree(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->dumpObjectTree(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for dumpObjectTree";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: dumpObjectInfo
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::dumpObjectInfo
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->dumpObjectInfo(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->dumpObjectInfo(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for dumpObjectInfo";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setProperty
// Source: QObject
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setProperty
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )

        && RJSHelper::is_QVariant(handler, a2
                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();

        // convert js parameter to cpp: value (QVariant)

        QVariant a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QVariant(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->setProperty(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setProperty";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: property
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::property
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QVariant res =

            w->property(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QVariant

        return RJSHelper::cpp2js_QVariant(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for property";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: dynamicPropertyNames
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::dynamicPropertyNames
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QList<QByteArray> res =

            w->dynamicPropertyNames(

            );

        //setRecFlag(false);

        // return type: QList<QByteArray>

        return RJSHelper::cpp2js_QList_QByteArray(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for dynamicPropertyNames";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: parent
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::parent
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QObject* res =

            w->parent(

            );

        //setRecFlag(false);

        // return type: QObject*

        return RJSHelper::cpp2js_QObject(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for parent";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: deleteLater
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::deleteLater
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->deleteLater(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for deleteLater";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: widget
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::widget
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QWidget* res =

            w->widget(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for widget";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: spacerItem
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::spacerItem
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSpacerItem* res =

            w->spacerItem(

            );

        //setRecFlag(false);

        // return type: QSpacerItem*

        return RJSHelper::cpp2js_QSpacerItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for spacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: alignment
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::alignment
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        Qt::Alignment res =

            w->alignment(

            );

        //setRecFlag(false);

        // return type: Qt::Alignment

        return RJSHelper::cpp2js_Qt_Alignment(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for alignment";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setContentsMargins
// Source: QLayout
// Static: false
// Parameters: 4
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setContentsMargins
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3,
    const QJSValue&
    a4
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )

        && RJSHelper::is_int(handler, a3
                            )

        && RJSHelper::is_int(handler, a4
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: left (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: top (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);

        // convert js parameter to cpp: right (int)

        int a3_cpp;

        a3_cpp = RJSHelper::js2cpp_int(handler, a3);

        // convert js parameter to cpp: bottom (int)

        int a4_cpp;

        a4_cpp = RJSHelper::js2cpp_int(handler, a4);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setContentsMargins(
            a1_cpp
            , a2_cpp
            , a3_cpp
            , a4_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    // check parameter types:
    if (
        RJSHelper::is_QMargins(handler, a1
                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: margins (QMargins)

        QMargins a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QMargins(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setContentsMargins(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setContentsMargins";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: contentsMargins
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::contentsMargins
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QMargins res =

            w->contentsMargins(

            );

        //setRecFlag(false);

        // return type: QMargins

        return RJSHelper::cpp2js_QMargins(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for contentsMargins";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: contentsRect
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::contentsRect
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QRect res =

            w->contentsRect(

            );

        //setRecFlag(false);

        // return type: QRect

        return RJSHelper::cpp2js_QRect(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for contentsRect";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setAlignment
// Source: QLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setAlignment
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_Qt_Alignment(handler, a2
                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a2_cpp;

        a2_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->setAlignment(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_Qt_Alignment(handler, a2
                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: l (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a2_cpp;

        a2_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->setAlignment(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setAlignment";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setSizeConstraint
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setSizeConstraint
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayout_SizeConstraint(handler, a1
                                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QLayout::SizeConstraint)

        QLayout::SizeConstraint a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_SizeConstraint(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setSizeConstraint(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setSizeConstraint";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: sizeConstraint
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::sizeConstraint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QLayout::SizeConstraint res =

            w->sizeConstraint(

            );

        //setRecFlag(false);

        // return type: QLayout::SizeConstraint

        return RJSHelper::cpp2js_QLayout_SizeConstraint(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for sizeConstraint";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setMenuBar
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setMenuBar
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setMenuBar(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setMenuBar";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: menuBar
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::menuBar
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QWidget* res =

            w->menuBar(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for menuBar";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: parentWidget
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::parentWidget
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QWidget* res =

            w->parentWidget(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for parentWidget";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: geometry
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::geometry
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QRect res =

            w->geometry(

            );

        //setRecFlag(false);

        // return type: QRect

        return RJSHelper::cpp2js_QRect(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for geometry";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: activate
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::activate
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->activate(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for activate";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: update
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::update
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->update(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for update";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: removeWidget
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::removeWidget
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->removeWidget(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for removeWidget";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: indexOf
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::indexOf
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        int res =

            w->indexOf(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for indexOf";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: isEmpty
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::isEmpty
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->isEmpty(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isEmpty";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: controlTypes
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::controlTypes
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSizePolicy::ControlTypes res =

            w->controlTypes(

            );

        //setRecFlag(false);

        // return type: QSizePolicy::ControlTypes

        return RJSHelper::cpp2js_QSizePolicy_ControlTypes(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for controlTypes";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: totalHeightForWidth
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::totalHeightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        int res =

            w->totalHeightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: totalMinimumSize
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::totalMinimumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSize res =

            w->totalMinimumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalMinimumSize";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: totalMaximumSize
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::totalMaximumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSize res =

            w->totalMaximumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalMaximumSize";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: totalSizeHint
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::totalSizeHint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSize res =

            w->totalSizeHint(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalSizeHint";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: layout
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::layout
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QLayout* res =

            w->layout(

            );

        //setRecFlag(false);

        // return type: QLayout*

        return RJSHelper::cpp2js_QLayout(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for layout";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setEnabled
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setEnabled
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_bool(handler, a1
                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (bool)

        bool a1_cpp;

        a1_cpp = RJSHelper::js2cpp_bool(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setEnabled(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setEnabled";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: isEnabled
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::isEnabled
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->isEnabled(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isEnabled";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: direction
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::direction
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QBoxLayout::Direction res =

            w->direction(

            );

        //setRecFlag(false);

        // return type: QBoxLayout::Direction

        return RJSHelper::cpp2js_QBoxLayout_Direction(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for direction";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setDirection
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setDirection
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QBoxLayout_Direction(handler, a1
                                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QBoxLayout::Direction)

        QBoxLayout::Direction a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QBoxLayout_Direction(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setDirection(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setDirection";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: addSpacing
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::addSpacing
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: size (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->addSpacing(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: addStretch
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::addStretch
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                          , true

                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: stretch (int)

        int a1_cpp;


        if (a1.isUndefined()) {
            a1_cpp = 0;
        }
        else {
            a1_cpp = RJSHelper::js2cpp_int(handler, a1);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->addStretch(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addStretch";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: addSpacerItem
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::addSpacerItem
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QSpacerItem_ptr(handler, a1
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: spacerItem (QSpacerItem)


        // pointer:
        QSpacerItem*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSpacerItem_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->addSpacerItem(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addSpacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: addWidget
// Source:
// Static: false
// Parameters: 3
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::addWidget
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                             , true

                            )

        && RJSHelper::is_Qt_Alignment(handler, a3
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = Qt::Alignment();
        }
        else {
            a3_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a3);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->addWidget(
            a1_cpp
            , a2_cpp
            , a3_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addWidget";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: addLayout
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::addLayout
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: layout (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->addLayout(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addLayout";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: addStrut
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::addStrut
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->addStrut(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addStrut";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: addItem
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::addItem
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayoutItem_ptr(handler, a1
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QLayoutItem)


        // pointer:
        QLayoutItem*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayoutItem_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->addItem(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addItem";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: insertSpacing
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::insertSpacing
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: size (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->insertSpacing(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: insertStretch
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::insertStretch
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->insertStretch(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertStretch";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: insertSpacerItem
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::insertSpacerItem
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QSpacerItem_ptr(handler, a2
                                         , true

                                        )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: spacerItem (QSpacerItem)


        // pointer:
        QSpacerItem*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QSpacerItem_ptr(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->insertSpacerItem(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertSpacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: insertWidget
// Source:
// Static: false
// Parameters: 4
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::insertWidget
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3,
    const QJSValue&
    a4
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QWidget_ptr(handler, a2
                                     , true

                                    )

        && RJSHelper::is_int(handler, a3
                             , true

                            )

        && RJSHelper::is_Qt_Alignment(handler, a4
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: widget (QWidget)


        // pointer:
        QWidget*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a2);

        // convert js parameter to cpp: stretch (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = 0;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a4_cpp;


        if (a4.isUndefined()) {
            a4_cpp = Qt::Alignment();
        }
        else {
            a4_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a4);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->insertWidget(
            a1_cpp
            , a2_cpp
            , a3_cpp
            , a4_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertWidget";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: insertLayout
// Source:
// Static: false
// Parameters: 3
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::insertLayout
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QLayout_ptr(handler, a2
                                     , true

                                    )

        && RJSHelper::is_int(handler, a3
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: layout (QLayout)


        // pointer:
        QLayout*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a2);

        // convert js parameter to cpp: stretch (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = 0;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->insertLayout(
            a1_cpp
            , a2_cpp
            , a3_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertLayout";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: insertItem
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::insertItem
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QLayoutItem_ptr(handler, a2
                                         , true

                                        )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp:  (QLayoutItem)


        // pointer:
        QLayoutItem*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QLayoutItem_ptr(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->insertItem(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertItem";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: spacing
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::spacing
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        int res =

            w->spacing(

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for spacing";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setSpacing
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setSpacing
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: spacing (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setSpacing(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setStretchFactor
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setStretchFactor
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->setStretchFactor(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: l (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->setStretchFactor(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setStretchFactor";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setStretch
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setStretch
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setStretch(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setStretch";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: stretch
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::stretch
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        int res =

            w->stretch(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for stretch";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: sizeHint
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::sizeHint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSize res =

            w->sizeHint(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for sizeHint";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: minimumSize
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::minimumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSize res =

            w->minimumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for minimumSize";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: maximumSize
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::maximumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QSize res =

            w->maximumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for maximumSize";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: hasHeightForWidth
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::hasHeightForWidth
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        bool res =

            w->hasHeightForWidth(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for hasHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: heightForWidth
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::heightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        int res =

            w->heightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for heightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: minimumHeightForWidth
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::minimumHeightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        int res =

            w->minimumHeightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for minimumHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: expandingDirections
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::expandingDirections
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        Qt::Orientations res =

            w->expandingDirections(

            );

        //setRecFlag(false);

        // return type: Qt::Orientations

        return RJSHelper::cpp2js_Qt_Orientations(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for expandingDirections";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: invalidate
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::invalidate
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->invalidate(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for invalidate";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: itemAt
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::itemAt
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QLayoutItem* res =

            w->itemAt(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QLayoutItem*

        return RJSHelper::cpp2js_QLayoutItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for itemAt";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: takeAt
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::takeAt
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        QLayoutItem* res =

            w->takeAt(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QLayoutItem*

        return RJSHelper::cpp2js_QLayoutItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for takeAt";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: count
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::count
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();
        int res =

            w->count(

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for count";
    handler.trace();
    return QJSValue();

}

// Class: QBoxLayout
// Function: setGeometry
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QBoxLayout_Wrapper::setGeometry
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QRect(handler, a1
                           )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QRect)

        QRect a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QRect(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QBoxLayout* w = getWrapped();

        w->setGeometry(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setGeometry";
    handler.trace();
    return QJSValue();

}


// member functions for static properties, forward to static function



// protected overwritten functions / events and their public invokable counterparts:

#include "qboxlayout_wrapper.h"


// list of registered base casters for this wrapper class:
QList<RJSBasecaster_QHBoxLayout*> QHBoxLayout_Wrapper::basecasters_QHBoxLayout;

// static functions implementation in singleton wrapper:

// Class: QHBoxLayout
// Function: tr
// Source: QObject
// Static: true
// Parameters: 3
// preceding Parameters: -1

QJSValue
QHBoxLayout_WrapperSingleton::tr
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )

        && RJSHelper::is_char_ptr(handler, a2
                                  , true

                                 )

        && RJSHelper::is_int(handler, a3
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: sourceText (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();

        // convert js parameter to cpp:  (char)


        // char pointer string:
        QByteArray a2_ba = RJSHelper::js2cpp_char_ptr(handler, a2).toLocal8Bit();
        const char* a2_cpp = a2_ba.constData();

        // convert js parameter to cpp:  (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = -1;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }


        // call function:

        // static member function:
        // call base class static function:
        QString res =

            // call static member function:
            QObject::tr(
                a1_cpp
                , a2_cpp
                , a3_cpp

            );

        // return type: QString

        return RJSHelper::cpp2js_QString(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for tr";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: closestAcceptableSize
// Source: QLayout
// Static: true
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_WrapperSingleton::closestAcceptableSize
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_QSize(handler, a2
                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: s (QSize)

        QSize a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QSize(handler, a2);


        // call function:

        // static member function:
        // call base class static function:
        QSize res =

            // call static member function:
            QLayout::closestAcceptableSize(
                a1_cpp
                , a2_cpp

            );

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for closestAcceptableSize";
    handler.trace();
    return QJSValue();

}

void QHBoxLayout_Wrapper::init(RJSApi& handler) {

    //qmlRegisterType<QHBoxLayout_Wrapper>("org.qcad", 1, 0, "QHBoxLayout_Wrapper");
    qmlRegisterInterface<QHBoxLayout_Wrapper>("QHBoxLayout_Wrapper", 1);


    QJSEngine* engine = handler.getEngine();


    // make type scriptable for JS files:
    QJSValue global = engine->globalObject();
    RJSType_QHBoxLayout* t = new RJSType_QHBoxLayout();
    global.setProperty("RJSType_QHBoxLayout", engine->newQObject(t));

    // initialize ID for this type:
    RJSType_QHBoxLayout::getIdStatic();



    // wrapper:
    QJSValue mo = engine->newQMetaObject(&QHBoxLayout_Wrapper::staticMetaObject);
    engine->globalObject().setProperty("QHBoxLayout_Wrapper", mo);



    // JS base class:
    //QJSValue mob = engine->newQMetaObject(&QHBoxLayout_BaseJs::staticMetaObject);
    //engine->globalObject().setProperty("QHBoxLayout_BaseJs", mob);

    // singleton wrapper:
    QJSValue mos = engine->newQMetaObject(&QHBoxLayout_WrapperSingleton::staticMetaObject);
    engine->globalObject().setProperty("QHBoxLayout_WrapperSingleton", mos);

    // create instance of singleton wrapper for static functions:
    QHBoxLayout_WrapperSingleton * s = new QHBoxLayout_WrapperSingleton(handler);
    engine->globalObject().setProperty("QHBoxLayout_WrapperSingletonInstance", engine->newQObject(s));
    QJSEngine::setObjectOwnership(s, QJSEngine::CppOwnership);

    QString fileName = ":generator/js/QHBoxLayout.js";
    QFile scriptFile(fileName);
    if (!scriptFile.open(QIODevice::ReadOnly)) {
        qWarning() << "JS script wrapper file not found:" << fileName;
        return;
    }
    QTextStream stream(&scriptFile);
    QString contents = stream.readAll();
    scriptFile.close();

    qDebug() << "Evaluating file: " << fileName;
    QJSValue result = engine->evaluate(contents, fileName);
    if (result.isError()) {
        qWarning()
                << "Uncaught exception at line"
                << result.property("lineNumber").toInt()
                << ":" << result.toString();
    }
}

/*
// special constructor used as prototype:
QHBoxLayout_Wrapper::QHBoxLayout_Wrapper(QJSEngine* e) : wrapped(nullptr), wrappedCreated(false) {
        //setObjectName("QHBoxLayout_Wrapper");
        setEngine(e);

        // signal forwarding:
        //initConnections();
      }

*/


// special constructor to wrap existing object:
QHBoxLayout_Wrapper::QHBoxLayout_Wrapper(RJSApi& h, QHBoxLayout* o, bool wrappedCreated) : RJSWrapperObj(h), wrapped(o), wrappedCreated(wrappedCreated) {
    //RDebug::incCounter(QString("QHBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::incCounter(QString("QHBoxLayout_Wrapper"));
    //setObjectName("QHBoxLayout_Wrapper");
    //setHandler(h);

    // signal forwarding:
    initConnections();
}


// destructor:
QHBoxLayout_Wrapper::~QHBoxLayout_Wrapper() {
    //RDebug::decCounter(QString("QHBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::decCounter(QString("QHBoxLayout_Wrapper"));

    //qDebug() << "QHBoxLayout_Wrapper::~QHBoxLayout_Wrapper";

    // tell script handler that this wrapper no longer exists:
    handler.unregisterWrapper(*this);


    if (wrappedCreated) {

        // never delete wrapped object (non-copyable, CPP ownership or private destructor)
        //qDebug() << "NOT deleting instance of QHBoxLayout";

    }

}

// initialization of signal forwarding

void QHBoxLayout_Wrapper::initConnections() {

    //setObjectName("QHBoxLayout_Wrapper");

    // tell script handler that this wrapper needs to be deleted if the engine is deleted:
    handler.registerWrapper(*this);


    // wrapped object is a QObject and not a wrapper for a null pointer:
    // wrapper is managed by the QObject as child:
    if (hasWrapped()) {
        QJSEngine::setObjectOwnership(this, QJSEngine::CppOwnership);
    }


    if (hasWrapped()) {

        // set parent of wrapper to wrapped:
        // wrapper can be looked up for object:
        QVariant vThis = QVariant::fromValue(this);
        getWrapped()->setProperty("__wrapper__",  vThis);

        // make sure wrapper is deleted when object is deleted:
        // make sure wrapper stays alive as long as the wrapped stays alive::
        QObject::setParent(getWrapped());

        // set up signal forwarding:

        /*
        connect(
          getWrapped(),
          SIGNAL(destroyed(QObject*)),
          &handler,
          SLOT(slotDestroyed(QObject*))
        );
        */

    }
}


// constructors:

// Class: QHBoxLayout
// Function:
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1
QHBoxLayout_Wrapper::QHBoxLayout_Wrapper

(

    // RJSApi:
    QObject* h
    ,
    const QJSValue&
    a1
)

    : RJSWrapperObj(*(RJSApi*)h)

{

    //RDebug::incCounter(QString("QHBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::incCounter(QString("QHBoxLayout_Wrapper"));

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: parent (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        // construct wrapper:


        wrapped = new QHBoxLayout_Base(
            handler

            ,
            a1_cpp

        );
        wrappedCreated = true;

        // set handler for wrapped base object:
        //((QHBoxLayout_Base*)wrapped)->setHandler(handler);

        // store self to call into JS:
        ((QHBoxLayout_Base*)wrapped)->self = handler.getSelf();


        // signal forwarding:
        // TODO
        //connect(wrapped, SIGNAL(triggered(bool)), this, SLOT(triggeredEmitter(bool)));
        initConnections();
        return;


    }

    {


        // call function:

        // construct wrapper:


        wrapped = new QHBoxLayout_Base(
            handler

        );
        wrappedCreated = true;

        // set handler for wrapped base object:
        //((QHBoxLayout_Base*)wrapped)->setHandler(handler);

        // store self to call into JS:
        ((QHBoxLayout_Base*)wrapped)->self = handler.getSelf();


        // signal forwarding:
        // TODO
        //connect(wrapped, SIGNAL(triggered(bool)), this, SLOT(triggeredEmitter(bool)));
        initConnections();
        return;


    }

    // no constructor without arguments defined
    // allow constructor for prototype objects without args:
    if (
        a1.isUndefined()

    ) {
        wrapped = nullptr;
        wrappedCreated = false;
        return;
    }


    qWarning() << "no matching constructor variant found for QHBoxLayout";
    wrapped = nullptr;
    wrappedCreated = false;
    handler.trace();

}


// non-static functions:

// Class: QHBoxLayout
// Function: objectName
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::objectName
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QString res =

            w->objectName(

            );

        //setRecFlag(false);

        // return type: QString

        return RJSHelper::cpp2js_QString(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for objectName";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setObjectName
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setObjectName
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QString(handler, a1
                             )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (QString)

        QString a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QString(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setObjectName(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setObjectName";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: isWidgetType
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::isWidgetType
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->isWidgetType(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isWidgetType";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: isWindowType
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::isWindowType
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->isWindowType(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isWindowType";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: signalsBlocked
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::signalsBlocked
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->signalsBlocked(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for signalsBlocked";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: blockSignals
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::blockSignals
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_bool(handler, a1
                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: b (bool)

        bool a1_cpp;

        a1_cpp = RJSHelper::js2cpp_bool(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->blockSignals(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for blockSignals";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: findChild
// Source: QObject
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::findChild
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_QString(handler, a1
                              , true

                             )

        && RJSHelper::is_Qt_FindChildOptions(handler, a2
                , true

                                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: aName (QString)

        QString a1_cpp;


        if (a1.isUndefined()) {
            a1_cpp = QString();
        }
        else {
            a1_cpp = RJSHelper::js2cpp_QString(handler, a1);
        }

        // convert js parameter to cpp: options (Qt::FindChildOptions)

        Qt::FindChildOptions a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = Qt::FindChildrenRecursively;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_Qt_FindChildOptions(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QObject* res =

            w->findChild<QObject*>(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: QObject*

        return RJSHelper::cpp2js_QObject(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for findChild";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: children
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::children
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        // return type is reference:
        // use pointer instead 3:
        const QObjectList* res =
            &
            w->children(

            );

        //setRecFlag(false);

        // return type: const QObjectList&

        return RJSHelper::cpp2js_QObjectList(
                   handler,
                   // non-copyable: false
                   // return type is reference, type is copyable:
                   // convert pointer back to reference:
                   *res

               );

    }

    qWarning() << "no matching function variant found for children";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setParent
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setParent
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: parent (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setParent(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setParent";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: installEventFilter
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::installEventFilter
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: filterObj (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->installEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for installEventFilter";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: removeEventFilter
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::removeEventFilter
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: obj (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->removeEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for removeEventFilter";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: dumpObjectTree
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::dumpObjectTree
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->dumpObjectTree(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->dumpObjectTree(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for dumpObjectTree";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: dumpObjectInfo
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::dumpObjectInfo
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->dumpObjectInfo(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->dumpObjectInfo(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for dumpObjectInfo";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setProperty
// Source: QObject
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setProperty
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )

        && RJSHelper::is_QVariant(handler, a2
                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();

        // convert js parameter to cpp: value (QVariant)

        QVariant a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QVariant(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->setProperty(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setProperty";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: property
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::property
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QVariant res =

            w->property(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QVariant

        return RJSHelper::cpp2js_QVariant(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for property";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: dynamicPropertyNames
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::dynamicPropertyNames
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QList<QByteArray> res =

            w->dynamicPropertyNames(

            );

        //setRecFlag(false);

        // return type: QList<QByteArray>

        return RJSHelper::cpp2js_QList_QByteArray(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for dynamicPropertyNames";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: parent
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::parent
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QObject* res =

            w->parent(

            );

        //setRecFlag(false);

        // return type: QObject*

        return RJSHelper::cpp2js_QObject(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for parent";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: deleteLater
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::deleteLater
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->deleteLater(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for deleteLater";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: widget
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::widget
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QWidget* res =

            w->widget(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for widget";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: spacerItem
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::spacerItem
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSpacerItem* res =

            w->spacerItem(

            );

        //setRecFlag(false);

        // return type: QSpacerItem*

        return RJSHelper::cpp2js_QSpacerItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for spacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: alignment
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::alignment
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        Qt::Alignment res =

            w->alignment(

            );

        //setRecFlag(false);

        // return type: Qt::Alignment

        return RJSHelper::cpp2js_Qt_Alignment(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for alignment";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setContentsMargins
// Source: QLayout
// Static: false
// Parameters: 4
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setContentsMargins
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3,
    const QJSValue&
    a4
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )

        && RJSHelper::is_int(handler, a3
                            )

        && RJSHelper::is_int(handler, a4
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: left (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: top (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);

        // convert js parameter to cpp: right (int)

        int a3_cpp;

        a3_cpp = RJSHelper::js2cpp_int(handler, a3);

        // convert js parameter to cpp: bottom (int)

        int a4_cpp;

        a4_cpp = RJSHelper::js2cpp_int(handler, a4);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setContentsMargins(
            a1_cpp
            , a2_cpp
            , a3_cpp
            , a4_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    // check parameter types:
    if (
        RJSHelper::is_QMargins(handler, a1
                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: margins (QMargins)

        QMargins a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QMargins(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setContentsMargins(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setContentsMargins";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: contentsMargins
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::contentsMargins
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QMargins res =

            w->contentsMargins(

            );

        //setRecFlag(false);

        // return type: QMargins

        return RJSHelper::cpp2js_QMargins(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for contentsMargins";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: contentsRect
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::contentsRect
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QRect res =

            w->contentsRect(

            );

        //setRecFlag(false);

        // return type: QRect

        return RJSHelper::cpp2js_QRect(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for contentsRect";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setAlignment
// Source: QLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setAlignment
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_Qt_Alignment(handler, a2
                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a2_cpp;

        a2_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->setAlignment(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_Qt_Alignment(handler, a2
                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: l (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a2_cpp;

        a2_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->setAlignment(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setAlignment";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setSizeConstraint
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setSizeConstraint
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayout_SizeConstraint(handler, a1
                                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QLayout::SizeConstraint)

        QLayout::SizeConstraint a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_SizeConstraint(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setSizeConstraint(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setSizeConstraint";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: sizeConstraint
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::sizeConstraint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QLayout::SizeConstraint res =

            w->sizeConstraint(

            );

        //setRecFlag(false);

        // return type: QLayout::SizeConstraint

        return RJSHelper::cpp2js_QLayout_SizeConstraint(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for sizeConstraint";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setMenuBar
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setMenuBar
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setMenuBar(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setMenuBar";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: menuBar
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::menuBar
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QWidget* res =

            w->menuBar(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for menuBar";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: parentWidget
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::parentWidget
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QWidget* res =

            w->parentWidget(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for parentWidget";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: geometry
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::geometry
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QRect res =

            w->geometry(

            );

        //setRecFlag(false);

        // return type: QRect

        return RJSHelper::cpp2js_QRect(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for geometry";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: activate
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::activate
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->activate(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for activate";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: update
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::update
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->update(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for update";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: removeWidget
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::removeWidget
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->removeWidget(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for removeWidget";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: indexOf
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::indexOf
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        int res =

            w->indexOf(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for indexOf";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: isEmpty
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::isEmpty
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->isEmpty(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isEmpty";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: controlTypes
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::controlTypes
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSizePolicy::ControlTypes res =

            w->controlTypes(

            );

        //setRecFlag(false);

        // return type: QSizePolicy::ControlTypes

        return RJSHelper::cpp2js_QSizePolicy_ControlTypes(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for controlTypes";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: totalHeightForWidth
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::totalHeightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        int res =

            w->totalHeightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: totalMinimumSize
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::totalMinimumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSize res =

            w->totalMinimumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalMinimumSize";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: totalMaximumSize
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::totalMaximumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSize res =

            w->totalMaximumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalMaximumSize";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: totalSizeHint
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::totalSizeHint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSize res =

            w->totalSizeHint(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalSizeHint";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: layout
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::layout
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QLayout* res =

            w->layout(

            );

        //setRecFlag(false);

        // return type: QLayout*

        return RJSHelper::cpp2js_QLayout(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for layout";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setEnabled
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setEnabled
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_bool(handler, a1
                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (bool)

        bool a1_cpp;

        a1_cpp = RJSHelper::js2cpp_bool(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setEnabled(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setEnabled";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: isEnabled
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::isEnabled
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->isEnabled(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isEnabled";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: direction
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::direction
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QBoxLayout::Direction res =

            w->direction(

            );

        //setRecFlag(false);

        // return type: QBoxLayout::Direction

        return RJSHelper::cpp2js_QBoxLayout_Direction(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for direction";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setDirection
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setDirection
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QBoxLayout_Direction(handler, a1
                                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QBoxLayout::Direction)

        QBoxLayout::Direction a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QBoxLayout_Direction(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setDirection(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setDirection";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: addSpacing
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::addSpacing
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: size (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->addSpacing(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: addStretch
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::addStretch
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                          , true

                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: stretch (int)

        int a1_cpp;


        if (a1.isUndefined()) {
            a1_cpp = 0;
        }
        else {
            a1_cpp = RJSHelper::js2cpp_int(handler, a1);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->addStretch(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addStretch";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: addSpacerItem
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::addSpacerItem
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QSpacerItem_ptr(handler, a1
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: spacerItem (QSpacerItem)


        // pointer:
        QSpacerItem*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSpacerItem_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->addSpacerItem(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addSpacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: addWidget
// Source: QBoxLayout
// Static: false
// Parameters: 3
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::addWidget
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                             , true

                            )

        && RJSHelper::is_Qt_Alignment(handler, a3
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = Qt::Alignment();
        }
        else {
            a3_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a3);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->addWidget(
            a1_cpp
            , a2_cpp
            , a3_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addWidget";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: addLayout
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::addLayout
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: layout (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->addLayout(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addLayout";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: addStrut
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::addStrut
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->addStrut(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addStrut";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: addItem
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::addItem
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayoutItem_ptr(handler, a1
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QLayoutItem)


        // pointer:
        QLayoutItem*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayoutItem_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->addItem(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addItem";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: insertSpacing
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::insertSpacing
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: size (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->insertSpacing(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: insertStretch
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::insertStretch
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->insertStretch(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertStretch";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: insertSpacerItem
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::insertSpacerItem
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QSpacerItem_ptr(handler, a2
                                         , true

                                        )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: spacerItem (QSpacerItem)


        // pointer:
        QSpacerItem*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QSpacerItem_ptr(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->insertSpacerItem(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertSpacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: insertWidget
// Source: QBoxLayout
// Static: false
// Parameters: 4
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::insertWidget
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3,
    const QJSValue&
    a4
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QWidget_ptr(handler, a2
                                     , true

                                    )

        && RJSHelper::is_int(handler, a3
                             , true

                            )

        && RJSHelper::is_Qt_Alignment(handler, a4
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: widget (QWidget)


        // pointer:
        QWidget*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a2);

        // convert js parameter to cpp: stretch (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = 0;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a4_cpp;


        if (a4.isUndefined()) {
            a4_cpp = Qt::Alignment();
        }
        else {
            a4_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a4);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->insertWidget(
            a1_cpp
            , a2_cpp
            , a3_cpp
            , a4_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertWidget";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: insertLayout
// Source: QBoxLayout
// Static: false
// Parameters: 3
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::insertLayout
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QLayout_ptr(handler, a2
                                     , true

                                    )

        && RJSHelper::is_int(handler, a3
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: layout (QLayout)


        // pointer:
        QLayout*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a2);

        // convert js parameter to cpp: stretch (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = 0;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->insertLayout(
            a1_cpp
            , a2_cpp
            , a3_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertLayout";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: insertItem
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::insertItem
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QLayoutItem_ptr(handler, a2
                                         , true

                                        )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp:  (QLayoutItem)


        // pointer:
        QLayoutItem*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QLayoutItem_ptr(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->insertItem(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertItem";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: spacing
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::spacing
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        int res =

            w->spacing(

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for spacing";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setSpacing
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setSpacing
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: spacing (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setSpacing(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setStretchFactor
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setStretchFactor
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->setStretchFactor(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: l (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->setStretchFactor(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setStretchFactor";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setStretch
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setStretch
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setStretch(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setStretch";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: stretch
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::stretch
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        int res =

            w->stretch(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for stretch";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: sizeHint
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::sizeHint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSize res =

            w->sizeHint(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for sizeHint";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: minimumSize
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::minimumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSize res =

            w->minimumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for minimumSize";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: maximumSize
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::maximumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QSize res =

            w->maximumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for maximumSize";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: hasHeightForWidth
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::hasHeightForWidth
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        bool res =

            w->hasHeightForWidth(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for hasHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: heightForWidth
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::heightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        int res =

            w->heightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for heightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: minimumHeightForWidth
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::minimumHeightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        int res =

            w->minimumHeightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for minimumHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: expandingDirections
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::expandingDirections
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        Qt::Orientations res =

            w->expandingDirections(

            );

        //setRecFlag(false);

        // return type: Qt::Orientations

        return RJSHelper::cpp2js_Qt_Orientations(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for expandingDirections";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: invalidate
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::invalidate
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->invalidate(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for invalidate";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: itemAt
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::itemAt
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QLayoutItem* res =

            w->itemAt(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QLayoutItem*

        return RJSHelper::cpp2js_QLayoutItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for itemAt";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: takeAt
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::takeAt
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        QLayoutItem* res =

            w->takeAt(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QLayoutItem*

        return RJSHelper::cpp2js_QLayoutItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for takeAt";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: count
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::count
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();
        int res =

            w->count(

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for count";
    handler.trace();
    return QJSValue();

}

// Class: QHBoxLayout
// Function: setGeometry
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QHBoxLayout_Wrapper::setGeometry
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QRect(handler, a1
                           )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QRect)

        QRect a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QRect(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QHBoxLayout* w = getWrapped();

        w->setGeometry(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setGeometry";
    handler.trace();
    return QJSValue();

}


// member functions for static properties, forward to static function



// protected overwritten functions / events and their public invokable counterparts:

#include "qboxlayout_wrapper.h"


// list of registered base casters for this wrapper class:
QList<RJSBasecaster_QVBoxLayout*> QVBoxLayout_Wrapper::basecasters_QVBoxLayout;

// static functions implementation in singleton wrapper:

// Class: QVBoxLayout
// Function: tr
// Source: QObject
// Static: true
// Parameters: 3
// preceding Parameters: -1

QJSValue
QVBoxLayout_WrapperSingleton::tr
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )

        && RJSHelper::is_char_ptr(handler, a2
                                  , true

                                 )

        && RJSHelper::is_int(handler, a3
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: sourceText (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();

        // convert js parameter to cpp:  (char)


        // char pointer string:
        QByteArray a2_ba = RJSHelper::js2cpp_char_ptr(handler, a2).toLocal8Bit();
        const char* a2_cpp = a2_ba.constData();

        // convert js parameter to cpp:  (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = -1;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }


        // call function:

        // static member function:
        // call base class static function:
        QString res =

            // call static member function:
            QObject::tr(
                a1_cpp
                , a2_cpp
                , a3_cpp

            );

        // return type: QString

        return RJSHelper::cpp2js_QString(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for tr";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: closestAcceptableSize
// Source: QLayout
// Static: true
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_WrapperSingleton::closestAcceptableSize
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_QSize(handler, a2
                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: s (QSize)

        QSize a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QSize(handler, a2);


        // call function:

        // static member function:
        // call base class static function:
        QSize res =

            // call static member function:
            QLayout::closestAcceptableSize(
                a1_cpp
                , a2_cpp

            );

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for closestAcceptableSize";
    handler.trace();
    return QJSValue();

}

void QVBoxLayout_Wrapper::init(RJSApi& handler) {

    //qmlRegisterType<QVBoxLayout_Wrapper>("org.qcad", 1, 0, "QVBoxLayout_Wrapper");
    qmlRegisterInterface<QVBoxLayout_Wrapper>("QVBoxLayout_Wrapper", 1);


    QJSEngine* engine = handler.getEngine();


    // make type scriptable for JS files:
    QJSValue global = engine->globalObject();
    RJSType_QVBoxLayout* t = new RJSType_QVBoxLayout();
    global.setProperty("RJSType_QVBoxLayout", engine->newQObject(t));

    // initialize ID for this type:
    RJSType_QVBoxLayout::getIdStatic();



    // wrapper:
    QJSValue mo = engine->newQMetaObject(&QVBoxLayout_Wrapper::staticMetaObject);
    engine->globalObject().setProperty("QVBoxLayout_Wrapper", mo);



    // JS base class:
    //QJSValue mob = engine->newQMetaObject(&QVBoxLayout_BaseJs::staticMetaObject);
    //engine->globalObject().setProperty("QVBoxLayout_BaseJs", mob);

    // singleton wrapper:
    QJSValue mos = engine->newQMetaObject(&QVBoxLayout_WrapperSingleton::staticMetaObject);
    engine->globalObject().setProperty("QVBoxLayout_WrapperSingleton", mos);

    // create instance of singleton wrapper for static functions:
    QVBoxLayout_WrapperSingleton * s = new QVBoxLayout_WrapperSingleton(handler);
    engine->globalObject().setProperty("QVBoxLayout_WrapperSingletonInstance", engine->newQObject(s));
    QJSEngine::setObjectOwnership(s, QJSEngine::CppOwnership);

    QString fileName = ":generator/js/QVBoxLayout.js";
    QFile scriptFile(fileName);
    if (!scriptFile.open(QIODevice::ReadOnly)) {
        qWarning() << "JS script wrapper file not found:" << fileName;
        return;
    }
    QTextStream stream(&scriptFile);
    QString contents = stream.readAll();
    scriptFile.close();

    qDebug() << "Evaluating file: " << fileName;
    QJSValue result = engine->evaluate(contents, fileName);
    if (result.isError()) {
        qWarning()
                << "Uncaught exception at line"
                << result.property("lineNumber").toInt()
                << ":" << result.toString();
    }
}

/*
// special constructor used as prototype:
QVBoxLayout_Wrapper::QVBoxLayout_Wrapper(QJSEngine* e) : wrapped(nullptr), wrappedCreated(false) {
        //setObjectName("QVBoxLayout_Wrapper");
        setEngine(e);

        // signal forwarding:
        //initConnections();
      }

*/


// special constructor to wrap existing object:
QVBoxLayout_Wrapper::QVBoxLayout_Wrapper(RJSApi& h, QVBoxLayout* o, bool wrappedCreated) : RJSWrapperObj(h), wrapped(o), wrappedCreated(wrappedCreated) {
    //RDebug::incCounter(QString("QVBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::incCounter(QString("QVBoxLayout_Wrapper"));
    //setObjectName("QVBoxLayout_Wrapper");
    //setHandler(h);

    // signal forwarding:
    initConnections();
}


// destructor:
QVBoxLayout_Wrapper::~QVBoxLayout_Wrapper() {
    //RDebug::decCounter(QString("QVBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::decCounter(QString("QVBoxLayout_Wrapper"));

    //qDebug() << "QVBoxLayout_Wrapper::~QVBoxLayout_Wrapper";

    // tell script handler that this wrapper no longer exists:
    handler.unregisterWrapper(*this);


    if (wrappedCreated) {

        // never delete wrapped object (non-copyable, CPP ownership or private destructor)
        //qDebug() << "NOT deleting instance of QVBoxLayout";

    }

}

// initialization of signal forwarding

void QVBoxLayout_Wrapper::initConnections() {

    //setObjectName("QVBoxLayout_Wrapper");

    // tell script handler that this wrapper needs to be deleted if the engine is deleted:
    handler.registerWrapper(*this);


    // wrapped object is a QObject and not a wrapper for a null pointer:
    // wrapper is managed by the QObject as child:
    if (hasWrapped()) {
        QJSEngine::setObjectOwnership(this, QJSEngine::CppOwnership);
    }


    if (hasWrapped()) {

        // set parent of wrapper to wrapped:
        // wrapper can be looked up for object:
        QVariant vThis = QVariant::fromValue(this);
        getWrapped()->setProperty("__wrapper__",  vThis);

        // make sure wrapper is deleted when object is deleted:
        // make sure wrapper stays alive as long as the wrapped stays alive::
        QObject::setParent(getWrapped());

        // set up signal forwarding:

        /*
        connect(
          getWrapped(),
          SIGNAL(destroyed(QObject*)),
          &handler,
          SLOT(slotDestroyed(QObject*))
        );
        */

    }
}


// constructors:

// Class: QVBoxLayout
// Function:
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1
QVBoxLayout_Wrapper::QVBoxLayout_Wrapper

(

    // RJSApi:
    QObject* h
    ,
    const QJSValue&
    a1
)

    : RJSWrapperObj(*(RJSApi*)h)

{

    //RDebug::incCounter(QString("QVBoxLayout_Wrapper_") + handler.getEngine()->objectName());
    //RDebug::incCounter(QString("QVBoxLayout_Wrapper"));

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: parent (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        // construct wrapper:


        wrapped = new QVBoxLayout_Base(
            handler

            ,
            a1_cpp

        );
        wrappedCreated = true;

        // set handler for wrapped base object:
        //((QVBoxLayout_Base*)wrapped)->setHandler(handler);

        // store self to call into JS:
        ((QVBoxLayout_Base*)wrapped)->self = handler.getSelf();


        // signal forwarding:
        // TODO
        //connect(wrapped, SIGNAL(triggered(bool)), this, SLOT(triggeredEmitter(bool)));
        initConnections();
        return;


    }

    {


        // call function:

        // construct wrapper:


        wrapped = new QVBoxLayout_Base(
            handler

        );
        wrappedCreated = true;

        // set handler for wrapped base object:
        //((QVBoxLayout_Base*)wrapped)->setHandler(handler);

        // store self to call into JS:
        ((QVBoxLayout_Base*)wrapped)->self = handler.getSelf();


        // signal forwarding:
        // TODO
        //connect(wrapped, SIGNAL(triggered(bool)), this, SLOT(triggeredEmitter(bool)));
        initConnections();
        return;


    }

    // no constructor without arguments defined
    // allow constructor for prototype objects without args:
    if (
        a1.isUndefined()

    ) {
        wrapped = nullptr;
        wrappedCreated = false;
        return;
    }


    qWarning() << "no matching constructor variant found for QVBoxLayout";
    wrapped = nullptr;
    wrappedCreated = false;
    handler.trace();

}


// non-static functions:

// Class: QVBoxLayout
// Function: objectName
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::objectName
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QString res =

            w->objectName(

            );

        //setRecFlag(false);

        // return type: QString

        return RJSHelper::cpp2js_QString(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for objectName";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setObjectName
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setObjectName
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QString(handler, a1
                             )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (QString)

        QString a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QString(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setObjectName(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setObjectName";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: isWidgetType
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::isWidgetType
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->isWidgetType(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isWidgetType";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: isWindowType
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::isWindowType
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->isWindowType(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isWindowType";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: signalsBlocked
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::signalsBlocked
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->signalsBlocked(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for signalsBlocked";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: blockSignals
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::blockSignals
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_bool(handler, a1
                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: b (bool)

        bool a1_cpp;

        a1_cpp = RJSHelper::js2cpp_bool(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->blockSignals(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for blockSignals";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: findChild
// Source: QObject
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::findChild
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_QString(handler, a1
                              , true

                             )

        && RJSHelper::is_Qt_FindChildOptions(handler, a2
                , true

                                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: aName (QString)

        QString a1_cpp;


        if (a1.isUndefined()) {
            a1_cpp = QString();
        }
        else {
            a1_cpp = RJSHelper::js2cpp_QString(handler, a1);
        }

        // convert js parameter to cpp: options (Qt::FindChildOptions)

        Qt::FindChildOptions a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = Qt::FindChildrenRecursively;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_Qt_FindChildOptions(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QObject* res =

            w->findChild<QObject*>(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: QObject*

        return RJSHelper::cpp2js_QObject(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for findChild";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: children
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::children
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        // return type is reference:
        // use pointer instead 3:
        const QObjectList* res =
            &
            w->children(

            );

        //setRecFlag(false);

        // return type: const QObjectList&

        return RJSHelper::cpp2js_QObjectList(
                   handler,
                   // non-copyable: false
                   // return type is reference, type is copyable:
                   // convert pointer back to reference:
                   *res

               );

    }

    qWarning() << "no matching function variant found for children";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setParent
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setParent
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: parent (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setParent(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setParent";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: installEventFilter
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::installEventFilter
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: filterObj (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->installEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for installEventFilter";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: removeEventFilter
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::removeEventFilter
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QObject_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: obj (QObject)


        // pointer:
        QObject*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QObject_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->removeEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for removeEventFilter";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: dumpObjectTree
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::dumpObjectTree
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->dumpObjectTree(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->dumpObjectTree(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for dumpObjectTree";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: dumpObjectInfo
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::dumpObjectInfo
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->dumpObjectInfo(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->dumpObjectInfo(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for dumpObjectInfo";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setProperty
// Source: QObject
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setProperty
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )

        && RJSHelper::is_QVariant(handler, a2
                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();

        // convert js parameter to cpp: value (QVariant)

        QVariant a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QVariant(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->setProperty(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setProperty";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: property
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::property
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_char_ptr(handler, a1
                               , true

                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: name (char)


        // char pointer string:
        QByteArray a1_ba = RJSHelper::js2cpp_char_ptr(handler, a1).toLocal8Bit();
        const char* a1_cpp = a1_ba.constData();


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QVariant res =

            w->property(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QVariant

        return RJSHelper::cpp2js_QVariant(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for property";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: dynamicPropertyNames
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::dynamicPropertyNames
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QList<QByteArray> res =

            w->dynamicPropertyNames(

            );

        //setRecFlag(false);

        // return type: QList<QByteArray>

        return RJSHelper::cpp2js_QList_QByteArray(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for dynamicPropertyNames";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: parent
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::parent
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QObject* res =

            w->parent(

            );

        //setRecFlag(false);

        // return type: QObject*

        return RJSHelper::cpp2js_QObject(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for parent";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: deleteLater
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::deleteLater
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->deleteLater(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for deleteLater";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: widget
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::widget
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QWidget* res =

            w->widget(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for widget";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: spacerItem
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::spacerItem
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSpacerItem* res =

            w->spacerItem(

            );

        //setRecFlag(false);

        // return type: QSpacerItem*

        return RJSHelper::cpp2js_QSpacerItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for spacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: alignment
// Source: QLayoutItem
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::alignment
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        Qt::Alignment res =

            w->alignment(

            );

        //setRecFlag(false);

        // return type: Qt::Alignment

        return RJSHelper::cpp2js_Qt_Alignment(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for alignment";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setContentsMargins
// Source: QLayout
// Static: false
// Parameters: 4
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setContentsMargins
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3,
    const QJSValue&
    a4
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )

        && RJSHelper::is_int(handler, a3
                            )

        && RJSHelper::is_int(handler, a4
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: left (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: top (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);

        // convert js parameter to cpp: right (int)

        int a3_cpp;

        a3_cpp = RJSHelper::js2cpp_int(handler, a3);

        // convert js parameter to cpp: bottom (int)

        int a4_cpp;

        a4_cpp = RJSHelper::js2cpp_int(handler, a4);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setContentsMargins(
            a1_cpp
            , a2_cpp
            , a3_cpp
            , a4_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    // check parameter types:
    if (
        RJSHelper::is_QMargins(handler, a1
                              )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: margins (QMargins)

        QMargins a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QMargins(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setContentsMargins(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setContentsMargins";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: contentsMargins
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::contentsMargins
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QMargins res =

            w->contentsMargins(

            );

        //setRecFlag(false);

        // return type: QMargins

        return RJSHelper::cpp2js_QMargins(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for contentsMargins";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: contentsRect
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::contentsRect
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QRect res =

            w->contentsRect(

            );

        //setRecFlag(false);

        // return type: QRect

        return RJSHelper::cpp2js_QRect(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for contentsRect";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setAlignment
// Source: QLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setAlignment
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_Qt_Alignment(handler, a2
                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a2_cpp;

        a2_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->setAlignment(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_Qt_Alignment(handler, a2
                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: l (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a2_cpp;

        a2_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->setAlignment(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setAlignment";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setSizeConstraint
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setSizeConstraint
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayout_SizeConstraint(handler, a1
                                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QLayout::SizeConstraint)

        QLayout::SizeConstraint a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_SizeConstraint(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setSizeConstraint(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setSizeConstraint";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: sizeConstraint
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::sizeConstraint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QLayout::SizeConstraint res =

            w->sizeConstraint(

            );

        //setRecFlag(false);

        // return type: QLayout::SizeConstraint

        return RJSHelper::cpp2js_QLayout_SizeConstraint(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for sizeConstraint";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setMenuBar
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setMenuBar
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setMenuBar(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setMenuBar";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: menuBar
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::menuBar
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QWidget* res =

            w->menuBar(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for menuBar";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: parentWidget
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::parentWidget
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QWidget* res =

            w->parentWidget(

            );

        //setRecFlag(false);

        // return type: QWidget*

        return RJSHelper::cpp2js_QWidget(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for parentWidget";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: geometry
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::geometry
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QRect res =

            w->geometry(

            );

        //setRecFlag(false);

        // return type: QRect

        return RJSHelper::cpp2js_QRect(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for geometry";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: activate
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::activate
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->activate(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for activate";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: update
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::update
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->update(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for update";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: removeWidget
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::removeWidget
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->removeWidget(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for removeWidget";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: indexOf
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::indexOf
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        int res =

            w->indexOf(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for indexOf";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: isEmpty
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::isEmpty
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->isEmpty(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isEmpty";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: controlTypes
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::controlTypes
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSizePolicy::ControlTypes res =

            w->controlTypes(

            );

        //setRecFlag(false);

        // return type: QSizePolicy::ControlTypes

        return RJSHelper::cpp2js_QSizePolicy_ControlTypes(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for controlTypes";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: totalHeightForWidth
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::totalHeightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        int res =

            w->totalHeightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: totalMinimumSize
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::totalMinimumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSize res =

            w->totalMinimumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalMinimumSize";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: totalMaximumSize
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::totalMaximumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSize res =

            w->totalMaximumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalMaximumSize";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: totalSizeHint
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::totalSizeHint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSize res =

            w->totalSizeHint(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for totalSizeHint";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: layout
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::layout
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QLayout* res =

            w->layout(

            );

        //setRecFlag(false);

        // return type: QLayout*

        return RJSHelper::cpp2js_QLayout(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for layout";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setEnabled
// Source: QLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setEnabled
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_bool(handler, a1
                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (bool)

        bool a1_cpp;

        a1_cpp = RJSHelper::js2cpp_bool(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setEnabled(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setEnabled";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: isEnabled
// Source: QLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::isEnabled
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->isEnabled(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for isEnabled";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: direction
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::direction
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QBoxLayout::Direction res =

            w->direction(

            );

        //setRecFlag(false);

        // return type: QBoxLayout::Direction

        return RJSHelper::cpp2js_QBoxLayout_Direction(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for direction";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setDirection
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setDirection
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QBoxLayout_Direction(handler, a1
                                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QBoxLayout::Direction)

        QBoxLayout::Direction a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QBoxLayout_Direction(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setDirection(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setDirection";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: addSpacing
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::addSpacing
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: size (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->addSpacing(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: addStretch
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::addStretch
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                          , true

                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: stretch (int)

        int a1_cpp;


        if (a1.isUndefined()) {
            a1_cpp = 0;
        }
        else {
            a1_cpp = RJSHelper::js2cpp_int(handler, a1);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->addStretch(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addStretch";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: addSpacerItem
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::addSpacerItem
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QSpacerItem_ptr(handler, a1
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: spacerItem (QSpacerItem)


        // pointer:
        QSpacerItem*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSpacerItem_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->addSpacerItem(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addSpacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: addWidget
// Source: QBoxLayout
// Static: false
// Parameters: 3
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::addWidget
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                             , true

                            )

        && RJSHelper::is_Qt_Alignment(handler, a3
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = Qt::Alignment();
        }
        else {
            a3_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a3);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->addWidget(
            a1_cpp
            , a2_cpp
            , a3_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addWidget";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: addLayout
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::addLayout
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: layout (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->addLayout(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addLayout";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: addStrut
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::addStrut
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->addStrut(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addStrut";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: addItem
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::addItem
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QLayoutItem_ptr(handler, a1
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QLayoutItem)


        // pointer:
        QLayoutItem*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayoutItem_ptr(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->addItem(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for addItem";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: insertSpacing
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::insertSpacing
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: size (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->insertSpacing(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: insertStretch
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::insertStretch
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = 0;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_int(handler, a2);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->insertStretch(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertStretch";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: insertSpacerItem
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::insertSpacerItem
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QSpacerItem_ptr(handler, a2
                                         , true

                                        )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: spacerItem (QSpacerItem)


        // pointer:
        QSpacerItem*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QSpacerItem_ptr(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->insertSpacerItem(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertSpacerItem";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: insertWidget
// Source: QBoxLayout
// Static: false
// Parameters: 4
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::insertWidget
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3,
    const QJSValue&
    a4
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QWidget_ptr(handler, a2
                                     , true

                                    )

        && RJSHelper::is_int(handler, a3
                             , true

                            )

        && RJSHelper::is_Qt_Alignment(handler, a4
                                      , true

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: widget (QWidget)


        // pointer:
        QWidget*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a2);

        // convert js parameter to cpp: stretch (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = 0;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }

        // convert js parameter to cpp: alignment (Qt::Alignment)

        Qt::Alignment a4_cpp;


        if (a4.isUndefined()) {
            a4_cpp = Qt::Alignment();
        }
        else {
            a4_cpp = RJSHelper::js2cpp_Qt_Alignment(handler, a4);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->insertWidget(
            a1_cpp
            , a2_cpp
            , a3_cpp
            , a4_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertWidget";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: insertLayout
// Source: QBoxLayout
// Static: false
// Parameters: 3
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::insertLayout
(

    const QJSValue&
    a1,
    const QJSValue&
    a2,
    const QJSValue&
    a3
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QLayout_ptr(handler, a2
                                     , true

                                    )

        && RJSHelper::is_int(handler, a3
                             , true

                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: layout (QLayout)


        // pointer:
        QLayout*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a2);

        // convert js parameter to cpp: stretch (int)

        int a3_cpp;


        if (a3.isUndefined()) {
            a3_cpp = 0;
        }
        else {
            a3_cpp = RJSHelper::js2cpp_int(handler, a3);
        }


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->insertLayout(
            a1_cpp
            , a2_cpp
            , a3_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertLayout";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: insertItem
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::insertItem
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_QLayoutItem_ptr(handler, a2
                                         , true

                                        )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp:  (QLayoutItem)


        // pointer:
        QLayoutItem*
        a2_cpp;

        a2_cpp = RJSHelper::js2cpp_QLayoutItem_ptr(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->insertItem(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for insertItem";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: spacing
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::spacing
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        int res =

            w->spacing(

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for spacing";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setSpacing
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setSpacing
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: spacing (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setSpacing(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setSpacing";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setStretchFactor
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setStretchFactor
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_QWidget_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: w (QWidget)


        // pointer:
        QWidget*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWidget_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->setStretchFactor(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    // check parameter types:
    if (
        RJSHelper::is_QLayout_ptr(handler, a1
                                  , true

                                 )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: l (QLayout)


        // pointer:
        QLayout*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QLayout_ptr(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->setStretchFactor(
                a1_cpp
                , a2_cpp

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for setStretchFactor";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setStretch
// Source: QBoxLayout
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setStretch
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )

        && RJSHelper::is_int(handler, a2
                            )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);

        // convert js parameter to cpp: stretch (int)

        int a2_cpp;

        a2_cpp = RJSHelper::js2cpp_int(handler, a2);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setStretch(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setStretch";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: stretch
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::stretch
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: index (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        int res =

            w->stretch(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for stretch";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: sizeHint
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::sizeHint
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSize res =

            w->sizeHint(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for sizeHint";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: minimumSize
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::minimumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSize res =

            w->minimumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for minimumSize";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: maximumSize
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::maximumSize
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QSize res =

            w->maximumSize(

            );

        //setRecFlag(false);

        // return type: QSize

        return RJSHelper::cpp2js_QSize(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for maximumSize";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: hasHeightForWidth
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::hasHeightForWidth
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        bool res =

            w->hasHeightForWidth(

            );

        //setRecFlag(false);

        // return type: bool

        return RJSHelper::cpp2js_bool(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for hasHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: heightForWidth
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::heightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        int res =

            w->heightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for heightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: minimumHeightForWidth
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::minimumHeightForWidth
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        int res =

            w->minimumHeightForWidth(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for minimumHeightForWidth";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: expandingDirections
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::expandingDirections
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        Qt::Orientations res =

            w->expandingDirections(

            );

        //setRecFlag(false);

        // return type: Qt::Orientations

        return RJSHelper::cpp2js_Qt_Orientations(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for expandingDirections";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: invalidate
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::invalidate
(

)

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->invalidate(

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for invalidate";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: itemAt
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::itemAt
(

    const QJSValue&
    a1
)

const

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QLayoutItem* res =

            w->itemAt(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QLayoutItem*

        return RJSHelper::cpp2js_QLayoutItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for itemAt";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: takeAt
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::takeAt
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_int(handler, a1
                         )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (int)

        int a1_cpp;

        a1_cpp = RJSHelper::js2cpp_int(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        QLayoutItem* res =

            w->takeAt(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QLayoutItem*

        return RJSHelper::cpp2js_QLayoutItem(
                   handler,
                   // non-copyable: true
                   res

               );

    }

    qWarning() << "no matching function variant found for takeAt";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: count
// Source: QBoxLayout
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::count
(

)

const

{

    {


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();
        int res =

            w->count(

            );

        //setRecFlag(false);

        // return type: int

        return RJSHelper::cpp2js_int(
                   handler,
                   // non-copyable: false
                   res

               );

    }

    qWarning() << "no matching function variant found for count";
    handler.trace();
    return QJSValue();

}

// Class: QVBoxLayout
// Function: setGeometry
// Source: QBoxLayout
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QVBoxLayout_Wrapper::setGeometry
(

    const QJSValue&
    a1
)

{

    // check parameter types:
    if (
        RJSHelper::is_QRect(handler, a1
                           )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QRect)

        QRect a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QRect(handler, a1);


        // call function:

        if (!hasWrapped()) {
            qWarning() << "wrapped is NULL";
            handler.trace();
            return QJSValue();
        }


        //setRecFlag(true);

        // non-static member function:
        // call function of wrapped object:

        // call function of C++ class:
        QVBoxLayout* w = getWrapped();

        w->setGeometry(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

    qWarning() << "no matching function variant found for setGeometry";
    handler.trace();
    return QJSValue();

}


// member functions for static properties, forward to static function



// protected overwritten functions / events and their public invokable counterparts:

