
// Auto generated

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

#include "qwindow_wrapper.h"


// list of registered base casters for this wrapper class:
QList<RJSBasecaster_QWindow*> QWindow_Wrapper::basecasters_QWindow;

// static functions implementation in singleton wrapper:

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

QJSValue
QWindow_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();

}

#ifdef Q_QDOC

#else

#endif

#ifndef QT_NO_CURSOR

#endif

#if QT_CONFIG(wheelevent)

#endif

#if QT_CONFIG(tabletevent)

#endif

void QWindow_Wrapper::init(RJSApi& handler) {

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


    QJSEngine* engine = handler.getEngine();


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

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



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



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

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

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

    QString fileName = ":generator/js/QWindow.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:
QWindow_Wrapper::QWindow_Wrapper(QJSEngine* e) : wrapped(nullptr), wrappedCreated(false) {
        //setObjectName("QWindow_Wrapper");
        setEngine(e);

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

*/


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

    // signal forwarding:
    initConnections();
}


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

    //qDebug() << "QWindow_Wrapper::~QWindow_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 QWindow";

    }

}

// initialization of signal forwarding

void QWindow_Wrapper::initConnections() {

    //setObjectName("QWindow_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(screenChanged(QScreen*)),
            this,
            SLOT(screenChangedEmitter(QScreen*))
        );

        connect(
            getWrapped(),
            SIGNAL(modalityChanged(Qt::WindowModality)),
            this,
            SLOT(modalityChangedEmitter(Qt::WindowModality))
        );

        connect(
            getWrapped(),
            SIGNAL(windowStateChanged(Qt::WindowState)),
            this,
            SLOT(windowStateChangedEmitter(Qt::WindowState))
        );

        connect(
            getWrapped(),
            SIGNAL(windowTitleChanged(const QString&)),
            this,
            SLOT(windowTitleChangedEmitter(const QString&))
        );

        connect(
            getWrapped(),
            SIGNAL(xChanged(int)),
            this,
            SLOT(xChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(yChanged(int)),
            this,
            SLOT(yChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(widthChanged(int)),
            this,
            SLOT(widthChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(heightChanged(int)),
            this,
            SLOT(heightChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(minimumWidthChanged(int)),
            this,
            SLOT(minimumWidthChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(minimumHeightChanged(int)),
            this,
            SLOT(minimumHeightChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(maximumWidthChanged(int)),
            this,
            SLOT(maximumWidthChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(maximumHeightChanged(int)),
            this,
            SLOT(maximumHeightChangedEmitter(int))
        );

        connect(
            getWrapped(),
            SIGNAL(visibleChanged(bool)),
            this,
            SLOT(visibleChangedEmitter(bool))
        );

        connect(
            getWrapped(),
            SIGNAL(visibilityChanged(QWindow::Visibility)),
            this,
            SLOT(visibilityChangedEmitter(QWindow::Visibility))
        );

        connect(
            getWrapped(),
            SIGNAL(activeChanged()),
            this,
            SLOT(activeChangedEmitter())
        );

        connect(
            getWrapped(),
            SIGNAL(contentOrientationChanged(Qt::ScreenOrientation)),
            this,
            SLOT(contentOrientationChangedEmitter(Qt::ScreenOrientation))
        );

        connect(
            getWrapped(),
            SIGNAL(focusObjectChanged(QObject*)),
            this,
            SLOT(focusObjectChangedEmitter(QObject*))
        );

        connect(
            getWrapped(),
            SIGNAL(opacityChanged(qreal)),
            this,
            SLOT(opacityChangedEmitter(qreal))
        );

        connect(
            getWrapped(),
            SIGNAL(transientParentChanged(QWindow*)),
            this,
            SLOT(transientParentChangedEmitter(QWindow*))
        );

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

    }
}


// constructors:

#ifdef Q_QDOC

#else

#endif

// Class: QWindow
// Function:
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1
QWindow_Wrapper::QWindow_Wrapper

(

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

    : RJSWrapperObj(*(RJSApi*)h)

{

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

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

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: screen (QScreen)


        // pointer:
        QScreen*
        a1_cpp;


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


        // call function:

        // construct wrapper:


        wrapped = new QWindow_Base(
            handler

            ,
            a1_cpp

        );
        wrappedCreated = true;

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

        // store self to call into JS:
        ((QWindow_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 QWindow";
    wrapped = nullptr;
    wrappedCreated = false;
    handler.trace();

}

#ifndef QT_NO_CURSOR

#endif

#if QT_CONFIG(wheelevent)

#endif

#if QT_CONFIG(tabletevent)

#endif


// non-static functions:

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

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: setObjectName
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* w = getWrapped();

        w->setObjectName(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

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

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: isWindowType
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: signalsBlocked
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: blockSignals
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: findChild
// Source: QObject
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: children
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: installEventFilter
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* w = getWrapped();

        w->installEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

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

QJSValue
QWindow_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:
        QWindow* w = getWrapped();

        w->removeEventFilter(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

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

QJSValue
QWindow_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:
        QWindow* 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:
        QWindow* w = getWrapped();

        w->dumpObjectTree(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

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

QJSValue
QWindow_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:
        QWindow* 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:
        QWindow* w = getWrapped();

        w->dumpObjectInfo(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

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

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: property
// Source: QObject
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: dynamicPropertyNames
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: deleteLater
// Source: QObject
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* w = getWrapped();

        w->deleteLater(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

#ifdef Q_QDOC

#else

#endif

// Class: QWindow
// Function: isVisible
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::isVisible
(

)

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:
        QWindow* w = getWrapped();
        bool res =

            w->isVisible(

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: visibility
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::visibility
(

)

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:
        QWindow* w = getWrapped();
        QWindow::Visibility res =

            w->visibility(

            );

        //setRecFlag(false);

        // return type: QWindow::Visibility

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

               );

    }

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

}

// Class: QWindow
// Function: setVisibility
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setVisibility
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: v (QWindow::Visibility)

        QWindow::Visibility a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWindow_Visibility(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:
        QWindow* w = getWrapped();

        w->setVisibility(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: create
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::create
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->create(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: parent
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::parent
(

    const QJSValue&
    a1
)

const

{

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

                                          )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: mode (QWindow::AncestorMode)

        QWindow::AncestorMode a1_cpp;


        if (a1.isUndefined()) {
            a1_cpp = QWindow::ExcludeTransients;
        }
        else {
            a1_cpp = RJSHelper::js2cpp_QWindow_AncestorMode(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:
        QWindow* w = getWrapped();
        QWindow* res =

            w->parent(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QWindow*

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

               );

    }

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

}

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

QJSValue
QWindow_Wrapper::setParent
(

    const QJSValue&
    a1
)

{

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

                                 )


    ) {

        // prepare parameters:

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


        // pointer:
        QWindow*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWindow_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:
        QWindow* w = getWrapped();

        w->setParent(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: isTopLevel
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::isTopLevel
(

)

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:
        QWindow* w = getWrapped();
        bool res =

            w->isTopLevel(

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: isModal
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::isModal
(

)

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:
        QWindow* w = getWrapped();
        bool res =

            w->isModal(

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: modality
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::modality
(

)

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:
        QWindow* w = getWrapped();
        Qt::WindowModality res =

            w->modality(

            );

        //setRecFlag(false);

        // return type: Qt::WindowModality

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

               );

    }

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

}

// Class: QWindow
// Function: setModality
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setModality
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: modality (Qt::WindowModality)

        Qt::WindowModality a1_cpp;

        a1_cpp = RJSHelper::js2cpp_Qt_WindowModality(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:
        QWindow* w = getWrapped();

        w->setModality(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setFlags
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setFlags
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: flags (Qt::WindowFlags)

        Qt::WindowFlags a1_cpp;

        a1_cpp = RJSHelper::js2cpp_Qt_WindowFlags(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:
        QWindow* w = getWrapped();

        w->setFlags(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: flags
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::flags
(

)

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:
        QWindow* w = getWrapped();
        Qt::WindowFlags res =

            w->flags(

            );

        //setRecFlag(false);

        // return type: Qt::WindowFlags

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

               );

    }

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

}

// Class: QWindow
// Function: setFlag
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setFlag
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

{

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

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

                             )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (Qt::WindowType)

        Qt::WindowType a1_cpp;

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

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

        bool a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = true;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_bool(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:
        QWindow* w = getWrapped();

        w->setFlag(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: type
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::type
(

)

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:
        QWindow* w = getWrapped();
        Qt::WindowType res =

            w->type(

            );

        //setRecFlag(false);

        // return type: Qt::WindowType

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

               );

    }

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

}

// Class: QWindow
// Function: title
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::title
(

)

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:
        QWindow* w = getWrapped();
        QString res =

            w->title(

            );

        //setRecFlag(false);

        // return type: QString

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

               );

    }

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

}

// Class: QWindow
// Function: setOpacity
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setOpacity
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: level (qreal)

        qreal a1_cpp;

        a1_cpp = RJSHelper::js2cpp_qreal(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:
        QWindow* w = getWrapped();

        w->setOpacity(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: opacity
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::opacity
(

)

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:
        QWindow* w = getWrapped();
        qreal res =

            w->opacity(

            );

        //setRecFlag(false);

        // return type: qreal

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

               );

    }

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

}

// Class: QWindow
// Function: setMask
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMask
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: region (QRegion)

        QRegion a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QRegion(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:
        QWindow* w = getWrapped();

        w->setMask(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: mask
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::mask
(

)

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:
        QWindow* w = getWrapped();
        QRegion res =

            w->mask(

            );

        //setRecFlag(false);

        // return type: QRegion

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

               );

    }

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

}

// Class: QWindow
// Function: isActive
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::isActive
(

)

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:
        QWindow* w = getWrapped();
        bool res =

            w->isActive(

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: reportContentOrientationChange
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::reportContentOrientationChange
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: orientation (Qt::ScreenOrientation)

        Qt::ScreenOrientation a1_cpp;

        a1_cpp = RJSHelper::js2cpp_Qt_ScreenOrientation(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:
        QWindow* w = getWrapped();

        w->reportContentOrientationChange(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: contentOrientation
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::contentOrientation
(

)

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:
        QWindow* w = getWrapped();
        Qt::ScreenOrientation res =

            w->contentOrientation(

            );

        //setRecFlag(false);

        // return type: Qt::ScreenOrientation

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

               );

    }

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

}

// Class: QWindow
// Function: devicePixelRatio
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::devicePixelRatio
(

)

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:
        QWindow* w = getWrapped();
        qreal res =

            w->devicePixelRatio(

            );

        //setRecFlag(false);

        // return type: qreal

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

               );

    }

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

}

// Class: QWindow
// Function: windowState
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::windowState
(

)

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:
        QWindow* w = getWrapped();
        Qt::WindowState res =

            w->windowState(

            );

        //setRecFlag(false);

        // return type: Qt::WindowState

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

               );

    }

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

}

// Class: QWindow
// Function: windowStates
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::windowStates
(

)

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:
        QWindow* w = getWrapped();
        Qt::WindowStates res =

            w->windowStates(

            );

        //setRecFlag(false);

        // return type: Qt::WindowStates

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

               );

    }

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

}

// Class: QWindow
// Function: setWindowState
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setWindowState
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: state (Qt::WindowState)

        Qt::WindowState a1_cpp;

        a1_cpp = RJSHelper::js2cpp_Qt_WindowState(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:
        QWindow* w = getWrapped();

        w->setWindowState(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setWindowStates
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setWindowStates
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: states (Qt::WindowStates)

        Qt::WindowStates a1_cpp;

        a1_cpp = RJSHelper::js2cpp_Qt_WindowStates(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:
        QWindow* w = getWrapped();

        w->setWindowStates(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setTransientParent
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setTransientParent
(

    const QJSValue&
    a1
)

{

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

                                 )


    ) {

        // prepare parameters:

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


        // pointer:
        QWindow*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QWindow_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:
        QWindow* w = getWrapped();

        w->setTransientParent(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: transientParent
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::transientParent
(

)

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:
        QWindow* w = getWrapped();
        QWindow* res =

            w->transientParent(

            );

        //setRecFlag(false);

        // return type: QWindow*

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

               );

    }

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

}

// Class: QWindow
// Function: isAncestorOf
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::isAncestorOf
(

    const QJSValue&
    a1,
    const QJSValue&
    a2
)

const

{

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

                                 )

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

                                             )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: child (QWindow)


        // pointer:
        QWindow*
        a1_cpp;

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

        // convert js parameter to cpp: mode (QWindow::AncestorMode)

        QWindow::AncestorMode a2_cpp;


        if (a2.isUndefined()) {
            a2_cpp = QWindow::IncludeTransients;
        }
        else {
            a2_cpp = RJSHelper::js2cpp_QWindow_AncestorMode(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:
        QWindow* w = getWrapped();
        bool res =

            w->isAncestorOf(
                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 isAncestorOf";
    handler.trace();
    return QJSValue();

}

// Class: QWindow
// Function: isExposed
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::isExposed
(

)

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:
        QWindow* w = getWrapped();
        bool res =

            w->isExposed(

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: minimumWidth
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::minimumWidth
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->minimumWidth(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

// Class: QWindow
// Function: minimumHeight
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::minimumHeight
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->minimumHeight(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

// Class: QWindow
// Function: maximumWidth
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::maximumWidth
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->maximumWidth(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

// Class: QWindow
// Function: maximumHeight
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::maximumHeight
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->maximumHeight(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

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

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: maximumSize
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: baseSize
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::baseSize
(

)

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:
        QWindow* w = getWrapped();
        QSize res =

            w->baseSize(

            );

        //setRecFlag(false);

        // return type: QSize

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

               );

    }

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

}

// Class: QWindow
// Function: sizeIncrement
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::sizeIncrement
(

)

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:
        QWindow* w = getWrapped();
        QSize res =

            w->sizeIncrement(

            );

        //setRecFlag(false);

        // return type: QSize

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

               );

    }

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

}

// Class: QWindow
// Function: setMinimumSize
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMinimumSize
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

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

        QSize a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSize(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:
        QWindow* w = getWrapped();

        w->setMinimumSize(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setMaximumSize
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMaximumSize
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

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

        QSize a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSize(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:
        QWindow* w = getWrapped();

        w->setMaximumSize(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setBaseSize
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setBaseSize
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

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

        QSize a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSize(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:
        QWindow* w = getWrapped();

        w->setBaseSize(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setSizeIncrement
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setSizeIncrement
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

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

        QSize a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSize(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:
        QWindow* w = getWrapped();

        w->setSizeIncrement(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

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

QJSValue
QWindow_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:
        QWindow* 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: QWindow
// Function: frameMargins
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::frameMargins
(

)

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:
        QWindow* w = getWrapped();
        QMargins res =

            w->frameMargins(

            );

        //setRecFlag(false);

        // return type: QMargins

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

               );

    }

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

}

// Class: QWindow
// Function: frameGeometry
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::frameGeometry
(

)

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:
        QWindow* w = getWrapped();
        QRect res =

            w->frameGeometry(

            );

        //setRecFlag(false);

        // return type: QRect

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

               );

    }

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

}

// Class: QWindow
// Function: framePosition
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::framePosition
(

)

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:
        QWindow* w = getWrapped();
        QPoint res =

            w->framePosition(

            );

        //setRecFlag(false);

        // return type: QPoint

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

               );

    }

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

}

// Class: QWindow
// Function: setFramePosition
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setFramePosition
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: point (QPoint)

        QPoint a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QPoint(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:
        QWindow* w = getWrapped();

        w->setFramePosition(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: width
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::width
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->width(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

// Class: QWindow
// Function: height
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::height
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->height(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

// Class: QWindow
// Function: x
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::x
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->x(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

// Class: QWindow
// Function: y
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::y
(

)

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:
        QWindow* w = getWrapped();
        int res =

            w->y(

            );

        //setRecFlag(false);

        // return type: int

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

               );

    }

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

}

// Class: QWindow
// Function: size
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::size
(

)

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:
        QWindow* w = getWrapped();
        QSize res =

            w->size(

            );

        //setRecFlag(false);

        // return type: QSize

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

               );

    }

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

}

// Class: QWindow
// Function: position
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::position
(

)

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:
        QWindow* w = getWrapped();
        QPoint res =

            w->position(

            );

        //setRecFlag(false);

        // return type: QPoint

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

               );

    }

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

}

// Class: QWindow
// Function: setPosition
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setPosition
(

    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: posx (int)

        int a1_cpp;

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

        // convert js parameter to cpp: posy (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:
        QWindow* w = getWrapped();

        w->setPosition(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: pt (QPoint)

        QPoint a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QPoint(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:
        QWindow* w = getWrapped();

        w->setPosition(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: resize
// Source:
// Static: false
// Parameters: 2
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::resize
(

    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: w (int)

        int a1_cpp;

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

        // convert js parameter to cpp: h (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:
        QWindow* w = getWrapped();

        w->resize(
            a1_cpp
            , a2_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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


    ) {

        // prepare parameters:

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

        QSize a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QSize(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:
        QWindow* w = getWrapped();

        w->resize(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setFilePath
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setFilePath
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: filePath (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:
        QWindow* w = getWrapped();

        w->setFilePath(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: filePath
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::filePath
(

)

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:
        QWindow* w = getWrapped();
        QString res =

            w->filePath(

            );

        //setRecFlag(false);

        // return type: QString

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

               );

    }

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

}

// Class: QWindow
// Function: setIcon
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setIcon
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: icon (QIcon)

        QIcon a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QIcon(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:
        QWindow* w = getWrapped();

        w->setIcon(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: icon
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::icon
(

)

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:
        QWindow* w = getWrapped();
        QIcon res =

            w->icon(

            );

        //setRecFlag(false);

        // return type: QIcon

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

               );

    }

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

}

// Class: QWindow
// Function: destroy
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::destroy
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->destroy(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setKeyboardGrabEnabled
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setKeyboardGrabEnabled
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: grab (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:
        QWindow* w = getWrapped();
        bool res =

            w->setKeyboardGrabEnabled(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: setMouseGrabEnabled
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMouseGrabEnabled
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: grab (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:
        QWindow* w = getWrapped();
        bool res =

            w->setMouseGrabEnabled(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: screen
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::screen
(

)

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:
        QWindow* w = getWrapped();
        QScreen* res =

            w->screen(

            );

        //setRecFlag(false);

        // return type: QScreen*

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

               );

    }

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

}

// Class: QWindow
// Function: setScreen
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setScreen
(

    const QJSValue&
    a1
)

{

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

                                 )


    ) {

        // prepare parameters:

        // convert js parameter to cpp: screen (QScreen)


        // pointer:
        QScreen*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QScreen_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:
        QWindow* w = getWrapped();

        w->setScreen(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: focusObject
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::focusObject
(

)

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:
        QWindow* w = getWrapped();
        QObject* res =

            w->focusObject(

            );

        //setRecFlag(false);

        // return type: QObject*

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

               );

    }

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

}

// Class: QWindow
// Function: mapToGlobal
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::mapToGlobal
(

    const QJSValue&
    a1
)

const

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: pos (QPointF)

        QPointF a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QPointF(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:
        QWindow* w = getWrapped();
        QPointF res =

            w->mapToGlobal(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QPointF

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

               );

    }

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: pos (QPoint)

        QPoint a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QPoint(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:
        QWindow* w = getWrapped();
        QPoint res =

            w->mapToGlobal(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QPoint

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

               );

    }

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

}

// Class: QWindow
// Function: mapFromGlobal
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::mapFromGlobal
(

    const QJSValue&
    a1
)

const

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: pos (QPointF)

        QPointF a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QPointF(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:
        QWindow* w = getWrapped();
        QPointF res =

            w->mapFromGlobal(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QPointF

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

               );

    }

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: pos (QPoint)

        QPoint a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QPoint(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:
        QWindow* w = getWrapped();
        QPoint res =

            w->mapFromGlobal(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: QPoint

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

               );

    }

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

}

#ifndef QT_NO_CURSOR

// Class: QWindow
// Function: cursor
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::cursor
(

)

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:
        QWindow* w = getWrapped();
        QCursor res =

            w->cursor(

            );

        //setRecFlag(false);

        // return type: QCursor

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

               );

    }

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

}

// Class: QWindow
// Function: setCursor
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setCursor
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QCursor)

        QCursor a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QCursor(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:
        QWindow* w = getWrapped();

        w->setCursor(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: unsetCursor
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::unsetCursor
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->unsetCursor(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

#endif

// Class: QWindow
// Function: requestActivate
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::requestActivate
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->requestActivate(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setVisible
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setVisible
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: visible (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:
        QWindow* w = getWrapped();

        w->setVisible(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: show
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::show
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->show(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: hide
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::hide
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->hide(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: showMinimized
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::showMinimized
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->showMinimized(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: showMaximized
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::showMaximized
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->showMaximized(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: showFullScreen
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::showFullScreen
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->showFullScreen(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: showNormal
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::showNormal
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->showNormal(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: close
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::close
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();
        bool res =

            w->close(

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: raise
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::raise
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->raise(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: lower
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::lower
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->lower(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: startSystemResize
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::startSystemResize
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: edges (Qt::Edges)

        Qt::Edges a1_cpp;

        a1_cpp = RJSHelper::js2cpp_Qt_Edges(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:
        QWindow* w = getWrapped();
        bool res =

            w->startSystemResize(
                a1_cpp

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: startSystemMove
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::startSystemMove
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();
        bool res =

            w->startSystemMove(

            );

        //setRecFlag(false);

        // return type: bool

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

               );

    }

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

}

// Class: QWindow
// Function: setTitle
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setTitle
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (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:
        QWindow* w = getWrapped();

        w->setTitle(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setX
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setX
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: arg (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:
        QWindow* w = getWrapped();

        w->setX(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setY
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setY
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: arg (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:
        QWindow* w = getWrapped();

        w->setY(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setWidth
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setWidth
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: arg (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:
        QWindow* w = getWrapped();

        w->setWidth(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setHeight
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setHeight
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: arg (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:
        QWindow* w = getWrapped();

        w->setHeight(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

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

QJSValue
QWindow_Wrapper::setGeometry
(

    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: posx (int)

        int a1_cpp;

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

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

        int a2_cpp;

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

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

        int a3_cpp;

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

        // convert js parameter to cpp: h (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:
        QWindow* w = getWrapped();

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

        );

        //setRecFlag(false);

        return QJSValue();

    }

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: rect (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:
        QWindow* w = getWrapped();

        w->setGeometry(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setMinimumWidth
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMinimumWidth
(

    const QJSValue&
    a1
)

{

    // 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:
        QWindow* w = getWrapped();

        w->setMinimumWidth(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setMinimumHeight
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMinimumHeight
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: h (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:
        QWindow* w = getWrapped();

        w->setMinimumHeight(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setMaximumWidth
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMaximumWidth
(

    const QJSValue&
    a1
)

{

    // 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:
        QWindow* w = getWrapped();

        w->setMaximumWidth(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: setMaximumHeight
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::setMaximumHeight
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: h (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:
        QWindow* w = getWrapped();

        w->setMaximumHeight(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: alert
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::alert
(

    const QJSValue&
    a1
)

{

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


    ) {

        // prepare parameters:

        // convert js parameter to cpp: msec (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:
        QWindow* w = getWrapped();

        w->alert(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: requestUpdate
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::requestUpdate
(

)

{

    {


        // 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:
        QWindow* w = getWrapped();

        w->requestUpdate(

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: screenChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::screenChangedEmitter(
    QScreen* screen
) {
    // convert cpp parameters to js:

    // parameter: screen (QScreen)



    QJSValue a1_js = RJSHelper::cpp2js_QScreen(
                         handler,
                         screen
                     );


    emit screenChanged(
        a1_js
    );
}

// Class: QWindow
// Function: modalityChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::modalityChangedEmitter(
    Qt::WindowModality modality
) {
    // convert cpp parameters to js:

    // parameter: modality (Qt::WindowModality)



    QJSValue a1_js = RJSHelper::cpp2js_Qt_WindowModality(
                         handler,
                         modality
                     );


    emit modalityChanged(
        a1_js
    );
}

// Class: QWindow
// Function: windowStateChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::windowStateChangedEmitter(
    Qt::WindowState windowState
) {
    // convert cpp parameters to js:

    // parameter: windowState (Qt::WindowState)



    QJSValue a1_js = RJSHelper::cpp2js_Qt_WindowState(
                         handler,
                         windowState
                     );


    emit windowStateChanged(
        a1_js
    );
}

// Class: QWindow
// Function: windowTitleChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::windowTitleChangedEmitter(
    const QString& title
) {
    // convert cpp parameters to js:

    // parameter: title (QString)



    QJSValue a1_js = RJSHelper::cpp2js_QString(
                         handler,
                         title
                     );


    emit windowTitleChanged(
        a1_js
    );
}

// Class: QWindow
// Function: xChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::xChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit xChanged(
        a1_js
    );
}

// Class: QWindow
// Function: yChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::yChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit yChanged(
        a1_js
    );
}

// Class: QWindow
// Function: widthChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::widthChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit widthChanged(
        a1_js
    );
}

// Class: QWindow
// Function: heightChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::heightChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit heightChanged(
        a1_js
    );
}

// Class: QWindow
// Function: minimumWidthChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::minimumWidthChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit minimumWidthChanged(
        a1_js
    );
}

// Class: QWindow
// Function: minimumHeightChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::minimumHeightChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit minimumHeightChanged(
        a1_js
    );
}

// Class: QWindow
// Function: maximumWidthChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::maximumWidthChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit maximumWidthChanged(
        a1_js
    );
}

// Class: QWindow
// Function: maximumHeightChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::maximumHeightChangedEmitter(
    int arg
) {
    // convert cpp parameters to js:

    // parameter: arg (int)



    QJSValue a1_js = RJSHelper::cpp2js_int(
                         handler,
                         arg
                     );


    emit maximumHeightChanged(
        a1_js
    );
}

// Class: QWindow
// Function: visibleChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::visibleChangedEmitter(
    bool arg
) {
    // convert cpp parameters to js:

    // parameter: arg (bool)



    QJSValue a1_js = RJSHelper::cpp2js_bool(
                         handler,
                         arg
                     );


    emit visibleChanged(
        a1_js
    );
}

// Class: QWindow
// Function: visibilityChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::visibilityChangedEmitter(
    QWindow::Visibility visibility
) {
    // convert cpp parameters to js:

    // parameter: visibility (QWindow::Visibility)



    QJSValue a1_js = RJSHelper::cpp2js_QWindow_Visibility(
                         handler,
                         visibility
                     );


    emit visibilityChanged(
        a1_js
    );
}

// Class: QWindow
// Function: activeChanged
// Source:
// Static: false
// Parameters: 0
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::activeChangedEmitter(

) {
    // convert cpp parameters to js:


    emit activeChanged(

    );
}

// Class: QWindow
// Function: contentOrientationChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::contentOrientationChangedEmitter(
    Qt::ScreenOrientation orientation
) {
    // convert cpp parameters to js:

    // parameter: orientation (Qt::ScreenOrientation)



    QJSValue a1_js = RJSHelper::cpp2js_Qt_ScreenOrientation(
                         handler,
                         orientation
                     );


    emit contentOrientationChanged(
        a1_js
    );
}

// Class: QWindow
// Function: focusObjectChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::focusObjectChangedEmitter(
    QObject* object
) {
    // convert cpp parameters to js:

    // parameter: object (QObject)



    QJSValue a1_js = RJSHelper::cpp2js_QObject(
                         handler,
                         object
                     );


    emit focusObjectChanged(
        a1_js
    );
}

// Class: QWindow
// Function: opacityChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::opacityChangedEmitter(
    qreal opacity
) {
    // convert cpp parameters to js:

    // parameter: opacity (qreal)



    QJSValue a1_js = RJSHelper::cpp2js_qreal(
                         handler,
                         opacity
                     );


    emit opacityChanged(
        a1_js
    );
}

// Class: QWindow
// Function: transientParentChanged
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

// signal emitter: called when signal is emitted from wrapped object:
void
QWindow_Wrapper::transientParentChangedEmitter(
    QWindow* transientParent
) {
    // convert cpp parameters to js:

    // parameter: transientParent (QWindow)



    QJSValue a1_js = RJSHelper::cpp2js_QWindow(
                         handler,
                         transientParent
                     );


    emit transientParentChanged(
        a1_js
    );
}

// Class: QWindow
// Function: resizeEvent
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::
// function is protected, this function can be called from JS implementation to call implementation of super class:
resizeEventSuper

(

    const QJSValue&
    a1
)

{

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

                                      )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QResizeEvent)


        // pointer:
        QResizeEvent*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QResizeEvent_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 QWindow_Base class as
        // function has postfix inheritable class, overridable function):
        QWindow_Base* wb = getWrappedBase();
        if (wb==nullptr) {
            qWarning() << "QWindow::resizeEvent: using base but wrapper is not of type of base class";
            handler.trace();
            return QJSValue();
        }


        wb->resizeEventPublic(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: paintEvent
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::
// function is protected, this function can be called from JS implementation to call implementation of super class:
paintEventSuper

(

    const QJSValue&
    a1
)

{

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

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QPaintEvent)


        // pointer:
        QPaintEvent*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QPaintEvent_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 QWindow_Base class as
        // function has postfix inheritable class, overridable function):
        QWindow_Base* wb = getWrappedBase();
        if (wb==nullptr) {
            qWarning() << "QWindow::paintEvent: using base but wrapper is not of type of base class";
            handler.trace();
            return QJSValue();
        }


        wb->paintEventPublic(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

// Class: QWindow
// Function: mouseMoveEvent
// Source:
// Static: false
// Parameters: 1
// preceding Parameters: -1

QJSValue
QWindow_Wrapper::
// function is protected, this function can be called from JS implementation to call implementation of super class:
mouseMoveEventSuper

(

    const QJSValue&
    a1
)

{

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

                                     )


    ) {

        // prepare parameters:

        // convert js parameter to cpp:  (QMouseEvent)


        // pointer:
        QMouseEvent*
        a1_cpp;

        a1_cpp = RJSHelper::js2cpp_QMouseEvent_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 QWindow_Base class as
        // function has postfix inheritable class, overridable function):
        QWindow_Base* wb = getWrappedBase();
        if (wb==nullptr) {
            qWarning() << "QWindow::mouseMoveEvent: using base but wrapper is not of type of base class";
            handler.trace();
            return QJSValue();
        }


        wb->mouseMoveEventPublic(
            a1_cpp

        );

        //setRecFlag(false);

        return QJSValue();

    }

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

}

#if QT_CONFIG(wheelevent)

#endif

#if QT_CONFIG(tabletevent)

#endif


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



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

