
// Auto generated

#ifndef QGESTURE_H_WRAPPER
#define QGESTURE_H_WRAPPER

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

#include "../RJSHelper.h"


#include "RJSWrapperObj.h"

#include <QGesture>

#include <QQmlEngine>

#include "RJSType.h"

#include <QGesture>

// singleton class wrapper for static functions:
class QTJSAPI_EXPORT QGesture_WrapperSingleton: public QObject {
    Q_OBJECT
    QML_INTERFACE

    // constants:


    // static properties:


public:
    //Q_INVOKABLE
    QGesture_WrapperSingleton(RJSApi& h)
        : QObject(),
          handler(h)

    {}



    // static functions:

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

public:
    Q_INVOKABLE

    QJSValue
    tr
    (


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

    )

    ;


private:
    RJSApi& handler;
    //static QGesture_WrapperSingleton* _singleInstance;

    // constants:

};

// static functions implementation in singleton wrapper:

// wrapper class for QGesture
class QTJSAPI_EXPORT QGesture_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE

    Q_PROPERTY(

        QJSValue
        objectName READ objectName WRITE setObjectName
    )

    Q_PROPERTY(

        QJSValue
        state READ state
    )

    Q_PROPERTY(

        QJSValue
        gestureType READ gestureType
    )

    Q_PROPERTY(

        QJSValue
        gestureCancelPolicy READ gestureCancelPolicy WRITE setGestureCancelPolicy
    )

    Q_PROPERTY(

        QJSValue
        hotSpot READ hotSpot WRITE setHotSpot
    )

    Q_PROPERTY(

        QJSValue
        hasHotSpot READ hasHotSpot
    )


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

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


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

        // check if pointer points to derrived type:

        if (t==RJSType_QPanGesture::getIdStatic()) {
            return (QGesture*)(QPanGesture*)vp;
        }

        if (t==RJSType_QPinchGesture::getIdStatic()) {
            return (QGesture*)(QPinchGesture*)vp;
        }

        if (t==RJSType_QSwipeGesture::getIdStatic()) {
            return (QGesture*)(QSwipeGesture*)vp;
        }


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

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

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

        return nullptr;

    }

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

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

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QGesture_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QGesture_Wrapper(RJSApi& h, QGesture* o, bool wrappedCreated);


    // destructor:

    virtual ~QGesture_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QGesture_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

        const QJSValue&
        a1
        = QJSValue()

    )

    ;


    // non-static functions:

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

public:
    Q_INVOKABLE

    QJSValue
    objectName
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setObjectName
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isWidgetType
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isWindowType
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    signalsBlocked
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    blockSignals
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    findChild
    (


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

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    children
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setParent
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    installEventFilter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    removeEventFilter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dumpObjectTree
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dumpObjectInfo
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setProperty
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    property
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dynamicPropertyNames
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    parent
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    deleteLater
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    gestureType
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    state
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    hotSpot
    (


    )

    const

    ;

    // Class: QGesture
    // Function: setHotSpot
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setHotSpot
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    hasHotSpot
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    unsetHotSpot
    (


    )

    ;

    // Class: QGesture
    // Function: setGestureCancelPolicy
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setGestureCancelPolicy
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    gestureCancelPolicy
    (


    )

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

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

        return true;

    }

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

        return nullptr;
    }

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



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QGesture(RJSBasecaster_QGesture* bc) {
        basecasters_QGesture.append(bc);
    }

};

Q_DECLARE_METATYPE(QGesture_Wrapper*)

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


#include <QQmlEngine>

#include "RJSType.h"

#include <QPanGesture>

// static functions implementation in singleton wrapper:

// wrapper class for QPanGesture
class QTJSAPI_EXPORT QPanGesture_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE

    Q_PROPERTY(

        QJSValue
        state READ state
    )

    Q_PROPERTY(

        QJSValue
        gestureType READ gestureType
    )

    Q_PROPERTY(

        QJSValue
        gestureCancelPolicy READ gestureCancelPolicy WRITE setGestureCancelPolicy
    )

    Q_PROPERTY(

        QJSValue
        hotSpot READ hotSpot WRITE setHotSpot
    )

    Q_PROPERTY(

        QJSValue
        hasHotSpot READ hasHotSpot
    )

    Q_PROPERTY(

        QJSValue
        lastOffset READ lastOffset WRITE setLastOffset
    )

    Q_PROPERTY(

        QJSValue
        offset READ offset WRITE setOffset
    )

    Q_PROPERTY(

        QJSValue
        delta READ delta
    )

    Q_PROPERTY(

        QJSValue
        acceleration READ acceleration WRITE setAcceleration
    )


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

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


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

        // check if pointer points to derrived type:


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

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

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

        return nullptr;

    }

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

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

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QPanGesture_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QPanGesture_Wrapper(RJSApi& h, QPanGesture* o, bool wrappedCreated);


    // destructor:

    virtual ~QPanGesture_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QPanGesture_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

        const QJSValue&
        a1
        = QJSValue()

    )

    ;


    // non-static functions:

    // Class: QPanGesture
    // Function: gestureType
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    gestureType
    (


    )

    const

    ;

    // Class: QPanGesture
    // Function: state
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    state
    (


    )

    const

    ;

    // Class: QPanGesture
    // Function: hotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hotSpot
    (


    )

    const

    ;

    // Class: QPanGesture
    // Function: setHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setHotSpot
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPanGesture
    // Function: hasHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hasHotSpot
    (


    )

    const

    ;

    // Class: QPanGesture
    // Function: unsetHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    unsetHotSpot
    (


    )

    ;

    // Class: QPanGesture
    // Function: setGestureCancelPolicy
    // Source: QGesture
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setGestureCancelPolicy
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPanGesture
    // Function: gestureCancelPolicy
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    gestureCancelPolicy
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    lastOffset
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    offset
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    delta
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    acceleration
    (


    )

    const

    ;

    // Class: QPanGesture
    // Function: setLastOffset
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setLastOffset
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPanGesture
    // Function: setOffset
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setOffset
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPanGesture
    // Function: setAcceleration
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setAcceleration
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

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

        return true;

    }

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

        return nullptr;
    }

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



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QPanGesture(RJSBasecaster_QPanGesture* bc) {
        basecasters_QPanGesture.append(bc);
    }

};

Q_DECLARE_METATYPE(QPanGesture_Wrapper*)

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


#include <QQmlEngine>

#include "RJSType.h"

#include <QPinchGesture>

// singleton class wrapper for static functions:
class QTJSAPI_EXPORT QPinchGesture_WrapperSingleton: public QObject {
    Q_OBJECT
    QML_INTERFACE

    // constants:


    // static properties:


public:
    //Q_INVOKABLE
    QPinchGesture_WrapperSingleton(RJSApi& h)
        : QObject(),
          handler(h)

    {}



    // static functions:

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

public:
    Q_INVOKABLE

    QJSValue
    tr
    (


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

    )

    ;


private:
    RJSApi& handler;
    //static QPinchGesture_WrapperSingleton* _singleInstance;

    // constants:

};

// static functions implementation in singleton wrapper:

// wrapper class for QPinchGesture
class QTJSAPI_EXPORT QPinchGesture_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE

    Q_PROPERTY(

        QJSValue
        objectName READ objectName WRITE setObjectName
    )

    Q_PROPERTY(

        QJSValue
        state READ state
    )

    Q_PROPERTY(

        QJSValue
        gestureType READ gestureType
    )

    Q_PROPERTY(

        QJSValue
        gestureCancelPolicy READ gestureCancelPolicy WRITE setGestureCancelPolicy
    )

    Q_PROPERTY(

        QJSValue
        hotSpot READ hotSpot WRITE setHotSpot
    )

    Q_PROPERTY(

        QJSValue
        hasHotSpot READ hasHotSpot
    )

    Q_PROPERTY(

        QJSValue
        totalChangeFlags READ totalChangeFlags WRITE setTotalChangeFlags
    )

    Q_PROPERTY(

        QJSValue
        changeFlags READ changeFlags WRITE setChangeFlags
    )

    Q_PROPERTY(

        QJSValue
        totalScaleFactor READ totalScaleFactor WRITE setTotalScaleFactor
    )

    Q_PROPERTY(

        QJSValue
        lastScaleFactor READ lastScaleFactor WRITE setLastScaleFactor
    )

    Q_PROPERTY(

        QJSValue
        scaleFactor READ scaleFactor WRITE setScaleFactor
    )

    Q_PROPERTY(

        QJSValue
        totalRotationAngle READ totalRotationAngle WRITE setTotalRotationAngle
    )

    Q_PROPERTY(

        QJSValue
        lastRotationAngle READ lastRotationAngle WRITE setLastRotationAngle
    )

    Q_PROPERTY(

        QJSValue
        rotationAngle READ rotationAngle WRITE setRotationAngle
    )

    Q_PROPERTY(

        QJSValue
        startCenterPoint READ startCenterPoint WRITE setStartCenterPoint
    )

    Q_PROPERTY(

        QJSValue
        lastCenterPoint READ lastCenterPoint WRITE setLastCenterPoint
    )

    Q_PROPERTY(

        QJSValue
        centerPoint READ centerPoint WRITE setCenterPoint
    )


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

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


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

        // check if pointer points to derrived type:


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

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

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

        return nullptr;

    }

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

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

    // enums:

    enum ChangeFlag {
        ScaleFactorChanged = QPinchGesture::ScaleFactorChanged,
        RotationAngleChanged = QPinchGesture::RotationAngleChanged,
        CenterPointChanged = QPinchGesture::CenterPointChanged,

    };
    Q_ENUM(ChangeFlag)

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QPinchGesture_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QPinchGesture_Wrapper(RJSApi& h, QPinchGesture* o, bool wrappedCreated);


    // destructor:

    virtual ~QPinchGesture_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QPinchGesture_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

        const QJSValue&
        a1
        = QJSValue()

    )

    ;


    // non-static functions:

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

public:
    Q_INVOKABLE

    QJSValue
    objectName
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setObjectName
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isWidgetType
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isWindowType
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    signalsBlocked
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    blockSignals
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    findChild
    (


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

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    children
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setParent
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    installEventFilter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    removeEventFilter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dumpObjectTree
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dumpObjectInfo
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setProperty
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    property
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dynamicPropertyNames
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    parent
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    deleteLater
    (


    )

    ;

    // Class: QPinchGesture
    // Function: gestureType
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    gestureType
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: state
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    state
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: hotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hotSpot
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: setHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setHotSpot
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: hasHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hasHotSpot
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: unsetHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    unsetHotSpot
    (


    )

    ;

    // Class: QPinchGesture
    // Function: setGestureCancelPolicy
    // Source: QGesture
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setGestureCancelPolicy
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: gestureCancelPolicy
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    gestureCancelPolicy
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    totalChangeFlags
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: setTotalChangeFlags
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTotalChangeFlags
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    changeFlags
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: setChangeFlags
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setChangeFlags
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    startCenterPoint
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    lastCenterPoint
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    centerPoint
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: setStartCenterPoint
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setStartCenterPoint
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: setLastCenterPoint
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setLastCenterPoint
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: setCenterPoint
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setCenterPoint
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    totalScaleFactor
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    lastScaleFactor
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    scaleFactor
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: setTotalScaleFactor
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTotalScaleFactor
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: setLastScaleFactor
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setLastScaleFactor
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: setScaleFactor
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setScaleFactor
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    totalRotationAngle
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    lastRotationAngle
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    rotationAngle
    (


    )

    const

    ;

    // Class: QPinchGesture
    // Function: setTotalRotationAngle
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTotalRotationAngle
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: setLastRotationAngle
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setLastRotationAngle
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QPinchGesture
    // Function: setRotationAngle
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setRotationAngle
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

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

        return true;

    }

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

        return nullptr;
    }

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



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QPinchGesture(RJSBasecaster_QPinchGesture* bc) {
        basecasters_QPinchGesture.append(bc);
    }

};

Q_DECLARE_METATYPE(QPinchGesture_Wrapper*)

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


#include <QQmlEngine>

#include "RJSType.h"

#include <QSwipeGesture>

// static functions implementation in singleton wrapper:

// wrapper class for QSwipeGesture
class QTJSAPI_EXPORT QSwipeGesture_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE

    Q_PROPERTY(

        QJSValue
        state READ state
    )

    Q_PROPERTY(

        QJSValue
        gestureType READ gestureType
    )

    Q_PROPERTY(

        QJSValue
        gestureCancelPolicy READ gestureCancelPolicy WRITE setGestureCancelPolicy
    )

    Q_PROPERTY(

        QJSValue
        hotSpot READ hotSpot WRITE setHotSpot
    )

    Q_PROPERTY(

        QJSValue
        hasHotSpot READ hasHotSpot
    )


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

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


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

        // check if pointer points to derrived type:


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

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

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

        return nullptr;

    }

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

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

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QSwipeGesture_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QSwipeGesture_Wrapper(RJSApi& h, QSwipeGesture* o, bool wrappedCreated);


    // destructor:

    virtual ~QSwipeGesture_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QSwipeGesture_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

        const QJSValue&
        a1
        = QJSValue()

    )

    ;


    // non-static functions:

    // Class: QSwipeGesture
    // Function: gestureType
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    gestureType
    (


    )

    const

    ;

    // Class: QSwipeGesture
    // Function: state
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    state
    (


    )

    const

    ;

    // Class: QSwipeGesture
    // Function: hotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hotSpot
    (


    )

    const

    ;

    // Class: QSwipeGesture
    // Function: setHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setHotSpot
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QSwipeGesture
    // Function: hasHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hasHotSpot
    (


    )

    const

    ;

    // Class: QSwipeGesture
    // Function: unsetHotSpot
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    unsetHotSpot
    (


    )

    ;

    // Class: QSwipeGesture
    // Function: setGestureCancelPolicy
    // Source: QGesture
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setGestureCancelPolicy
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QSwipeGesture
    // Function: gestureCancelPolicy
    // Source: QGesture
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    gestureCancelPolicy
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    horizontalDirection
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    verticalDirection
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    swipeAngle
    (


    )

    const

    ;

    // Class: QSwipeGesture
    // Function: setSwipeAngle
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setSwipeAngle
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

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

        return true;

    }

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

        return nullptr;
    }

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



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QSwipeGesture(RJSBasecaster_QSwipeGesture* bc) {
        basecasters_QSwipeGesture.append(bc);
    }

};

Q_DECLARE_METATYPE(QSwipeGesture_Wrapper*)

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


#endif

