
// Auto generated

#ifndef QPAINTERPATH_H_WRAPPER
#define QPAINTERPATH_H_WRAPPER

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

#include "../RJSHelper.h"


#include "RJSWrapperObj.h"

#include <QFont>

#include <QPen>

#include <QPolygonF>

#include <QRegion>

#include <QTransform>

#include <QQmlEngine>

#include "RJSType.h"

#include <QPainterPath>

// static functions implementation in singleton wrapper:

// wrapper class for QPainterPath
class QTJSAPI_EXPORT QPainterPath_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE


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

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


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

        // check if pointer points to derrived type:


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

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

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

        return nullptr;

    }

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

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

    // enums:

    enum ElementType {
        MoveToElement = QPainterPath::MoveToElement,
        LineToElement = QPainterPath::LineToElement,
        CurveToElement = QPainterPath::CurveToElement,
        CurveToDataElement = QPainterPath::CurveToDataElement,

    };
    Q_ENUM(ElementType)

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QPainterPath_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QPainterPath_Wrapper(RJSApi& h, QPainterPath* o, bool wrappedCreated);


    // destructor:

    virtual ~QPainterPath_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QPainterPath_Wrapper

    (


        // RJSApi:
        QObject* h

    )

    ;


    // non-static functions:

    // Class: QPainterPath
    // Function: swap
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    swap
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPath
    // Function: clear
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    clear
    (


    )

    ;

    // Class: QPainterPath
    // Function: reserve
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    reserve
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPath
    // Function: capacity
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    capacity
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: closeSubpath
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    closeSubpath
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    moveTo
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: lineTo
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    lineTo
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: arcMoveTo
    // Source:
    // Static: false
    // Parameters: 5
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    arcMoveTo
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: arcTo
    // Source:
    // Static: false
    // Parameters: 6
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    arcTo
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: cubicTo
    // Source:
    // Static: false
    // Parameters: 6
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    cubicTo
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    quadTo
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: currentPosition
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    currentPosition
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    addRect
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    addEllipse
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: addPolygon
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    addPolygon
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    addText
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: addPath
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    addPath
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPath
    // Function: addRegion
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    addRegion
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPath
    // Function: addRoundedRect
    // Source:
    // Static: false
    // Parameters: 7
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    addRoundedRect
    (


        const QJSValue&
        a1
        = QJSValue()
          ,
        const QJSValue&
        a2
        = QJSValue()
          ,
        const QJSValue&
        a3
        = QJSValue()
          ,
        const QJSValue&
        a4
        = QJSValue()
          ,
        const QJSValue&
        a5
        = QJSValue()
          ,
        const QJSValue&
        a6
        = QJSValue()
          ,
        const QJSValue&
        a7
        = QJSValue()

    )

    ;

    // Class: QPainterPath
    // Function: connectPath
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    connectPath
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    contains
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    intersects
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    translate
    (


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

    )

    ;

    // Class: QPainterPath
    // 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: QPainterPath
    // Function: boundingRect
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    boundingRect
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: controlPointRect
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    controlPointRect
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: fillRule
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    fillRule
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: setFillRule
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setFillRule
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isEmpty
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: toReversed
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    toReversed
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: toSubpathPolygons
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    toSubpathPolygons
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: toFillPolygons
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    toFillPolygons
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: toFillPolygon
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    toFillPolygon
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: elementCount
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    elementCount
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: setElementPositionAt
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setElementPositionAt
    (


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

    )

    ;

    // Class: QPainterPath
    // Function: length
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    length
    (


    )

    const

    ;

    // Class: QPainterPath
    // Function: percentAtLength
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    percentAtLength
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: pointAtPercent
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    pointAtPercent
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: angleAtPercent
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    angleAtPercent
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: slopeAtPercent
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    slopeAtPercent
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    united
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    intersected
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: subtracted
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    subtracted
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QPainterPath
    // Function: simplified
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    simplified
    (


    )

    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_QPainterPath::getIdStatic();
    }

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

        return false;

    }

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

        return nullptr;
    }

    // get wrapped object (const):
    QPainterPath* 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:
    QPainterPath* wrapped;



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QPainterPath(RJSBasecaster_QPainterPath* bc) {
        basecasters_QPainterPath.append(bc);
    }

};

Q_DECLARE_METATYPE(QPainterPath_Wrapper*)

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


#include <QQmlEngine>

#include "RJSType.h"

#include <QPainterPathStroker>

// static functions implementation in singleton wrapper:

// wrapper class for QPainterPathStroker
class QTJSAPI_EXPORT QPainterPathStroker_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE


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

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


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

        // check if pointer points to derrived type:


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

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

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

        return nullptr;

    }

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

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

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QPainterPathStroker_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QPainterPathStroker_Wrapper(RJSApi& h, QPainterPathStroker* o, bool wrappedCreated);


    // destructor:

    virtual ~QPainterPathStroker_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

    // Class: QPainterPathStroker
    // Function:
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE
    QPainterPathStroker_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

        const QJSValue&
        a1
        = QJSValue()

    )

    ;


    // non-static functions:

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

public:
    Q_INVOKABLE

    QJSValue
    setWidth
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    width
    (


    )

    const

    ;

    // Class: QPainterPathStroker
    // Function: setCapStyle
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setCapStyle
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPathStroker
    // Function: capStyle
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    capStyle
    (


    )

    const

    ;

    // Class: QPainterPathStroker
    // Function: setJoinStyle
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setJoinStyle
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPathStroker
    // Function: joinStyle
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    joinStyle
    (


    )

    const

    ;

    // Class: QPainterPathStroker
    // Function: setMiterLimit
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setMiterLimit
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPathStroker
    // Function: miterLimit
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    miterLimit
    (


    )

    const

    ;

    // Class: QPainterPathStroker
    // Function: setCurveThreshold
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setCurveThreshold
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPathStroker
    // Function: curveThreshold
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    curveThreshold
    (


    )

    const

    ;

    // Class: QPainterPathStroker
    // Function: setDashPattern
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setDashPattern
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPathStroker
    // Function: dashPattern
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    dashPattern
    (


    )

    const

    ;

    // Class: QPainterPathStroker
    // Function: setDashOffset
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setDashOffset
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPainterPathStroker
    // Function: dashOffset
    // Source:
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    dashOffset
    (


    )

    const

    ;

    // Class: QPainterPathStroker
    // Function: createStroke
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    createStroke
    (


        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_QPainterPathStroker::getIdStatic();
    }

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

        return false;

    }

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

        return nullptr;
    }

    // get wrapped object (const):
    QPainterPathStroker* 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:
    QPainterPathStroker* wrapped;



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QPainterPathStroker(RJSBasecaster_QPainterPathStroker* bc) {
        basecasters_QPainterPathStroker.append(bc);
    }

};

Q_DECLARE_METATYPE(QPainterPathStroker_Wrapper*)

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


#endif

