
// Auto generated

#ifndef QRECT_H_WRAPPER
#define QRECT_H_WRAPPER

// include header:
//#include "header_h.h"

#include "../RJSHelper.h"


#include "RJSWrapperObj.h"

#include <QQmlEngine>

#include "RJSType.h"

#include <QRect>

// static functions implementation in singleton wrapper:

// wrapper class for QRect
class QTJSAPI_EXPORT QRect_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE


private:
    // disable copy constructor:
    QRect_Wrapper(const QRect_Wrapper&);

public:
    // initialization of QRect:
    static void init(RJSApi& handler);


    static QRect* castToBase(void* vp, /*RJSType ID*/ int t) {

        // check if pointer points to derrived type:


        // hook for modules to cast from other types to base QRect:
        for (int i=0; i<basecasters_QRect.length(); i++) {
            RJSBasecaster_QRect* basecaster = basecasters_QRect[i];
            QRect* ret = basecaster->castToBase(t, vp);
            if (ret!=nullptr) {
                return ret;
            }
        }

        // object is a pointer to base class QRect:
        if (t==RJSType_QRect::getIdStatic()) {
            return (QRect*)vp;
        }

        qWarning() << "QRect_Wrapper::castToBase: type not found: " << RJSHelper::getTypeName(t);

        return nullptr;

    }

    static QRect* getWrappedBase(RJSWrapper* wrapper) {
        int t = wrapper->getWrappedType();
        void* vp = wrapper->getWrappedVoid();
        if (vp==nullptr) {
            //qWarning() << "getWrapped_QRect*: wrapper wraps NULL";
        }

        QRect* ret = castToBase(vp, t);
        if (ret==nullptr && vp!=nullptr) {
            qWarning() << "QRect*_Wrapper::getWrappedBase: extracted type " << t << "from wrapper is NULL";
        }
        return ret;
    }

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QRect_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QRect_Wrapper(RJSApi& h, QRect* o, bool wrappedCreated);


    // destructor:

    virtual ~QRect_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QRect_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

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

    )

    ;


    // non-static functions:

    // Class: QRect
    // Function: isNull
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    isNull
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isEmpty
    (


    )

    const

    ;

    // Class: QRect
    // Function: isValid
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    isValid
    (


    )

    const

    ;

    // Class: QRect
    // Function: left
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    left
    (


    )

    const

    ;

    // Class: QRect
    // Function: top
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    top
    (


    )

    const

    ;

    // Class: QRect
    // Function: right
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    right
    (


    )

    const

    ;

    // Class: QRect
    // Function: bottom
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    bottom
    (


    )

    const

    ;

    // Class: QRect
    // Function: normalized
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    normalized
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    x
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    y
    (


    )

    const

    ;

    // Class: QRect
    // Function: setLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setTop
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTop
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setBottom
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setBottom
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setX
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setY
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setTopLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTopLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setBottomRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setBottomRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setTopRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTopRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setBottomLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setBottomLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: topLeft
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    topLeft
    (


    )

    const

    ;

    // Class: QRect
    // Function: bottomRight
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    bottomRight
    (


    )

    const

    ;

    // Class: QRect
    // Function: topRight
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    topRight
    (


    )

    const

    ;

    // Class: QRect
    // Function: bottomLeft
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    bottomLeft
    (


    )

    const

    ;

    // Class: QRect
    // Function: center
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    center
    (


    )

    const

    ;

    // Class: QRect
    // Function: moveLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveTop
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTop
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveBottom
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveBottom
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveTopLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTopLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveBottomRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveBottomRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveTopRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTopRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveBottomLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveBottomLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: moveCenter
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveCenter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: translate
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    translate
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: translated
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    translated
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()

    )

    const

    ;

    // Class: QRect
    // Function: transposed
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    transposed
    (


    )

    const

    ;

    // Class: QRect
    // Function: moveTo
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTo
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setRect
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setRect
    (


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

    )

    ;

    // Class: QRect
    // Function: setCoords
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setCoords
    (


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

    )

    ;

    // Class: QRect
    // Function: adjust
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    adjust
    (


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

    )

    ;

    // Class: QRect
    // Function: adjusted
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    adjusted
    (


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

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    size
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    width
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    height
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setWidth
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setHeight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: setSize
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setSize
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRect
    // Function: contains
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    contains
    (


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

    )

    const

    ;

    // Class: QRect
    // Function: united
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    united
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRect
    // Function: intersected
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    intersected
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRect
    // Function: intersects
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    intersects
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRect
    // Function: marginsAdded
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    marginsAdded
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRect
    // Function: marginsRemoved
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    marginsRemoved
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // destroy function for non-copyable objects:
    Q_INVOKABLE void destr() {
        if (wrapped!=nullptr) {

            delete wrapped;

            wrapped = nullptr;
        }

    }


    //public:
    // set engine:
    //Q_INVOKABLE void setHandler(RJSApi* h) {
    //  RJSWrapperObj::setHandler(h);
    //}


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



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

public:

    // get type of wrapped object:
    Q_INVOKABLE
    virtual /*RJSType ID*/ int getWrappedType() const {
        return RJSType_QRect::getIdStatic();
    }

    // return true if wrapped object is owned by C++ (not deleted):
    Q_INVOKABLE
    virtual bool isCppOwnership() const {

        return false;

    }

    // get wrapped object:
    QRect* getWrapped() {
        if (wrapped!=nullptr) {
            return wrapped;
        }

        return nullptr;
    }

    // get wrapped object (const):
    QRect* getWrapped() const {
        if (wrapped!=nullptr) {
            return wrapped;
        }

        return nullptr;
    }

    // get wrapped object as void*:
    virtual void* getWrappedVoid() {
        if (wrapped!=nullptr) {
            return wrapped;
        }

        return nullptr;
    }



    bool hasWrapped() const {
        return wrapped!=nullptr

               ;
    }

    Q_INVOKABLE
    bool isNullWrapper() const {
        return !hasWrapped();
    }

    Q_INVOKABLE
    unsigned long long int getAddress() const {
        if (wrapped!=nullptr) {
            return (unsigned long long int)wrapped;
        }

        return (unsigned long long int)0;
    }



    //public slots:
    //void slotDestroyed(QObject* obj) {
    //  qDebug() << "destroying QObject:" << (long int)obj;
    //}



private:
    // wrapped object:
    QRect* wrapped;



    bool wrappedCreated;

private:
    // list of registered base casters for this wrapper class:
    static QList<RJSBasecaster_QRect*> basecasters_QRect;

public:
    static void registerBasecaster_QRect(RJSBasecaster_QRect* bc) {
        basecasters_QRect.append(bc);
    }

};

Q_DECLARE_METATYPE(QRect_Wrapper*)

Q_DECLARE_INTERFACE(QRect_Wrapper, "org.qcad.QRect_Wrapper")


#include <QQmlEngine>

#include "RJSType.h"

#include <QRectF>

// static functions implementation in singleton wrapper:

// wrapper class for QRectF
class QTJSAPI_EXPORT QRectF_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE


private:
    // disable copy constructor:
    QRectF_Wrapper(const QRectF_Wrapper&);

public:
    // initialization of QRectF:
    static void init(RJSApi& handler);


    static QRectF* castToBase(void* vp, /*RJSType ID*/ int t) {

        // check if pointer points to derrived type:


        // hook for modules to cast from other types to base QRectF:
        for (int i=0; i<basecasters_QRectF.length(); i++) {
            RJSBasecaster_QRectF* basecaster = basecasters_QRectF[i];
            QRectF* ret = basecaster->castToBase(t, vp);
            if (ret!=nullptr) {
                return ret;
            }
        }

        // object is a pointer to base class QRectF:
        if (t==RJSType_QRectF::getIdStatic()) {
            return (QRectF*)vp;
        }

        qWarning() << "QRectF_Wrapper::castToBase: type not found: " << RJSHelper::getTypeName(t);

        return nullptr;

    }

    static QRectF* getWrappedBase(RJSWrapper* wrapper) {
        int t = wrapper->getWrappedType();
        void* vp = wrapper->getWrappedVoid();
        if (vp==nullptr) {
            //qWarning() << "getWrapped_QRectF*: wrapper wraps NULL";
        }

        QRectF* ret = castToBase(vp, t);
        if (ret==nullptr && vp!=nullptr) {
            qWarning() << "QRectF*_Wrapper::getWrappedBase: extracted type " << t << "from wrapper is NULL";
        }
        return ret;
    }

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QRectF_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QRectF_Wrapper(RJSApi& h, QRectF* o, bool wrappedCreated);


    // destructor:

    virtual ~QRectF_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QRectF_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

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

    )

    ;


    // non-static functions:

    // Class: QRectF
    // Function: isNull
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    isNull
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isEmpty
    (


    )

    const

    ;

    // Class: QRectF
    // Function: isValid
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    isValid
    (


    )

    const

    ;

    // Class: QRectF
    // Function: normalized
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    normalized
    (


    )

    const

    ;

    // Class: QRectF
    // Function: left
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    left
    (


    )

    const

    ;

    // Class: QRectF
    // Function: top
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    top
    (


    )

    const

    ;

    // Class: QRectF
    // Function: right
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    right
    (


    )

    const

    ;

    // Class: QRectF
    // Function: bottom
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    bottom
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    x
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    y
    (


    )

    const

    ;

    // Class: QRectF
    // Function: setLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setTop
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTop
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setBottom
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setBottom
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setX
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setY
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: topLeft
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    topLeft
    (


    )

    const

    ;

    // Class: QRectF
    // Function: bottomRight
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    bottomRight
    (


    )

    const

    ;

    // Class: QRectF
    // Function: topRight
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    topRight
    (


    )

    const

    ;

    // Class: QRectF
    // Function: bottomLeft
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    bottomLeft
    (


    )

    const

    ;

    // Class: QRectF
    // Function: center
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    center
    (


    )

    const

    ;

    // Class: QRectF
    // Function: setTopLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTopLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setBottomRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setBottomRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setTopRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTopRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setBottomLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setBottomLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveTop
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTop
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveBottom
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveBottom
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveTopLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTopLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveBottomRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveBottomRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveTopRight
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTopRight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveBottomLeft
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveBottomLeft
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: moveCenter
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveCenter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: translate
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    translate
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: translated
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    translated
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()

    )

    const

    ;

    // Class: QRectF
    // Function: transposed
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    transposed
    (


    )

    const

    ;

    // Class: QRectF
    // Function: moveTo
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveTo
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setRect
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setRect
    (


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

    )

    ;

    // Class: QRectF
    // Function: setCoords
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setCoords
    (


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

    )

    ;

    // Class: QRectF
    // Function: adjust
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    adjust
    (


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

    )

    ;

    // Class: QRectF
    // Function: adjusted
    // Source:
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    adjusted
    (


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

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    size
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    width
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    height
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setWidth
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setHeight
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: setSize
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setSize
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QRectF
    // Function: contains
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    contains
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()

    )

    const

    ;

    // Class: QRectF
    // Function: united
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    united
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRectF
    // Function: intersected
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    intersected
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRectF
    // Function: intersects
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    intersects
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRectF
    // Function: marginsAdded
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    marginsAdded
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRectF
    // Function: marginsRemoved
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    marginsRemoved
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QRectF
    // Function: toRect
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    toRect
    (


    )

    const

    ;

    // Class: QRectF
    // Function: toAlignedRect
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    toAlignedRect
    (


    )

    const

    ;

    // destroy function for non-copyable objects:
    Q_INVOKABLE void destr() {
        if (wrapped!=nullptr) {

            delete wrapped;

            wrapped = nullptr;
        }

    }


    //public:
    // set engine:
    //Q_INVOKABLE void setHandler(RJSApi* h) {
    //  RJSWrapperObj::setHandler(h);
    //}


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



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

public:

    // get type of wrapped object:
    Q_INVOKABLE
    virtual /*RJSType ID*/ int getWrappedType() const {
        return RJSType_QRectF::getIdStatic();
    }

    // return true if wrapped object is owned by C++ (not deleted):
    Q_INVOKABLE
    virtual bool isCppOwnership() const {

        return false;

    }

    // get wrapped object:
    QRectF* getWrapped() {
        if (wrapped!=nullptr) {
            return wrapped;
        }

        return nullptr;
    }

    // get wrapped object (const):
    QRectF* getWrapped() const {
        if (wrapped!=nullptr) {
            return wrapped;
        }

        return nullptr;
    }

    // get wrapped object as void*:
    virtual void* getWrappedVoid() {
        if (wrapped!=nullptr) {
            return wrapped;
        }

        return nullptr;
    }



    bool hasWrapped() const {
        return wrapped!=nullptr

               ;
    }

    Q_INVOKABLE
    bool isNullWrapper() const {
        return !hasWrapped();
    }

    Q_INVOKABLE
    unsigned long long int getAddress() const {
        if (wrapped!=nullptr) {
            return (unsigned long long int)wrapped;
        }

        return (unsigned long long int)0;
    }



    //public slots:
    //void slotDestroyed(QObject* obj) {
    //  qDebug() << "destroying QObject:" << (long int)obj;
    //}



private:
    // wrapped object:
    QRectF* wrapped;



    bool wrappedCreated;

private:
    // list of registered base casters for this wrapper class:
    static QList<RJSBasecaster_QRectF*> basecasters_QRectF;

public:
    static void registerBasecaster_QRectF(RJSBasecaster_QRectF* bc) {
        basecasters_QRectF.append(bc);
    }

};

Q_DECLARE_METATYPE(QRectF_Wrapper*)

Q_DECLARE_INTERFACE(QRectF_Wrapper, "org.qcad.QRectF_Wrapper")


#endif

