
// Auto generated

#ifndef QSTANDARDITEMMODEL_H_WRAPPER
#define QSTANDARDITEMMODEL_H_WRAPPER

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

#include "../RJSHelper.h"


#include "RJSWrapperObj.h"

#include <QStandardItemModel>

#include <QQmlEngine>

#include "RJSType.h"

#include <QStandardItem>

// static functions implementation in singleton wrapper:

// wrapper class for QStandardItem
class QTJSAPI_EXPORT QStandardItem_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE


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

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


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

        // check if pointer points to derrived type:


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

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

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

        return nullptr;

    }

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

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

    // enums:

    enum ItemType {
        Type = QStandardItem::Type,
        UserType = QStandardItem::UserType,

    };
    Q_ENUM(ItemType)

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QStandardItem_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QStandardItem_Wrapper(RJSApi& h, QStandardItem* o, bool wrappedCreated);


    // destructor:

    virtual ~QStandardItem_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QStandardItem_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

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

    )

    ;

#ifndef QT_NO_STATUSTIP

#endif

#if QT_CONFIG(whatsthis)

#endif

#if QT_CONFIG(draganddrop)

#endif

#ifndef QT_NO_DATASTREAM

#endif


    // non-static functions:

    // Class: QStandardItem
    // Function: data
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    data
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItem
    // Function: setData
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setData
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    clearData
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    text
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setText
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setText
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    icon
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setIcon
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    toolTip
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setToolTip
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setToolTip
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

#ifndef QT_NO_STATUSTIP

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

public:
    Q_INVOKABLE

    QJSValue
    statusTip
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setStatusTip
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setStatusTip
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

#endif

#if QT_CONFIG(whatsthis)

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

public:
    Q_INVOKABLE

    QJSValue
    whatsThis
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setWhatsThis
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setWhatsThis
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

#endif

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

public:
    Q_INVOKABLE

    QJSValue
    sizeHint
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setSizeHint
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setSizeHint
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    font
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setFont
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setFont
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    textAlignment
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setTextAlignment
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setTextAlignment
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    background
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setBackground
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setBackground
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    foreground
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setForeground
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setForeground
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    checkState
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setCheckState
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setCheckState
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    accessibleText
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setAccessibleText
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setAccessibleText
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    accessibleDescription
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setAccessibleDescription
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setAccessibleDescription
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    flags
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setFlags
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isEnabled
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setEnabled
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isEditable
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setEditable
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setEditable
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isSelectable
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setSelectable
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setSelectable
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isCheckable
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setCheckable
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setCheckable
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isAutoTristate
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setAutoTristate
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setAutoTristate
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isUserTristate
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setUserTristate
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setUserTristate
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

#if QT_CONFIG(draganddrop)

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

public:
    Q_INVOKABLE

    QJSValue
    isDragEnabled
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setDragEnabled
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setDragEnabled
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isDropEnabled
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setDropEnabled
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setDropEnabled
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

#endif

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

public:
    Q_INVOKABLE

    QJSValue
    parent
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    row
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    column
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    index
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    model
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    rowCount
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setRowCount
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setRowCount
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    columnCount
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: setColumnCount
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setColumnCount
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    hasChildren
    (


    )

    const

    ;

    // Class: QStandardItem
    // Function: child
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    child
    (


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

    )

    const

    ;

    // Class: QStandardItem
    // Function: setChild
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setChild
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: insertRow
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertRow
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: insertColumn
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertColumn
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: insertRows
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertRows
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: insertColumns
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertColumns
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: removeRow
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeRow
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItem
    // Function: removeColumn
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeColumn
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItem
    // Function: removeRows
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeRows
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: removeColumns
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeColumns
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: appendRow
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    appendRow
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItem
    // Function: appendRows
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    appendRows
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItem
    // Function: appendColumn
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    appendColumn
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItem
    // Function: takeChild
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeChild
    (


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

    )

    ;

    // Class: QStandardItem
    // Function: takeRow
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeRow
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItem
    // Function: takeColumn
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeColumn
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItem
    // Function: sortChildren
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    sortChildren
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    clone
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    type
    (


    )

    const

    ;

#ifndef QT_NO_DATASTREAM

#endif

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

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

        return true;

    }

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

        return nullptr;
    }

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



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QStandardItem(RJSBasecaster_QStandardItem* bc) {
        basecasters_QStandardItem.append(bc);
    }

};

Q_DECLARE_METATYPE(QStandardItem_Wrapper*)

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


#include <QQmlEngine>

#include "RJSType.h"

#include <QStandardItemModel>

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

    // constants:


    // static properties:


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

    {}



    // static functions:

    // Class: QStandardItemModel
    // 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 QStandardItemModel_WrapperSingleton* _singleInstance;

    // constants:

};

// static functions implementation in singleton wrapper:

// wrapper class for QStandardItemModel
class QTJSAPI_EXPORT QStandardItemModel_Wrapper : public RJSWrapperObj {


    Q_OBJECT
    QML_INTERFACE

    Q_PROPERTY(

        QJSValue
        objectName READ objectName WRITE setObjectName
    )


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

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


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

        // check if pointer points to derrived type:


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

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

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

        return nullptr;

    }

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

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

    // enums:

    enum LayoutChangeHint {
        NoLayoutChangeHint = QStandardItemModel::NoLayoutChangeHint,
        VerticalSortHint = QStandardItemModel::VerticalSortHint,
        HorizontalSortHint = QStandardItemModel::HorizontalSortHint,

    };
    Q_ENUM(LayoutChangeHint)

    /*
    // special constructor used as prototype:

          Q_INVOKABLE
          QStandardItemModel_Wrapper(QJSEngine* e);

    */


    // special constructor to wrap existing object:

    //Q_INVOKABLE
    QStandardItemModel_Wrapper(RJSApi& h, QStandardItemModel* o, bool wrappedCreated);


    // destructor:

    virtual ~QStandardItemModel_Wrapper();

    // initialization of signal forwarding

    void initConnections();


    // constructors:

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

public:
    Q_INVOKABLE
    QStandardItemModel_Wrapper

    (


        // RJSApi:
        QObject* h

        ,

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

    )

    ;


    // non-static functions:

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

public:
    Q_INVOKABLE

    QJSValue
    objectName
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setObjectName
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isWidgetType
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    isWindowType
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    signalsBlocked
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    blockSignals
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // 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: QStandardItemModel
    // Function: children
    // Source: QObject
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    children
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setParent
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    installEventFilter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    removeEventFilter
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dumpObjectTree
    (


    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dumpObjectInfo
    (


    )

    ;

    // Class: QStandardItemModel
    // 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: QStandardItemModel
    // Function: property
    // Source: QObject
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    property
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    dynamicPropertyNames
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    deleteLater
    (


    )

    ;

    // Class: QStandardItemModel
    // Function: hasIndex
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hasIndex
    (


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

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: sibling
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    sibling
    (


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

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: supportedDragActions
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    supportedDragActions
    (


    )

    const

    ;

    // Class: QStandardItemModel
    // Function: moveRows
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 5
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveRows
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: moveColumns
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 5
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveColumns
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: removeRow
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeRow
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: removeColumn
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeColumn
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: moveRow
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveRow
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: moveColumn
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 4
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    moveColumn
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: fetchMore
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    fetchMore
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: canFetchMore
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    canFetchMore
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: buddy
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    buddy
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: span
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    span
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: roleNames
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    roleNames
    (


    )

    const

    ;

    // Class: QStandardItemModel
    // Function: headerDataChanged
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

    // signal forwarded from wrapped class:
signals:
    void headerDataChanged(

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

    // called when signal is emitted from wrapped class:
public slots:
    void headerDataChangedEmitter(
        Qt::Orientation orientation, int first, int last
    );

    // Class: QStandardItemModel
    // Function: rowsInserted
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

    // signal forwarded from wrapped class:
signals:
    void rowsInserted(

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

    // called when signal is emitted from wrapped class:
public slots:
    void rowsInsertedEmitter(
        const QModelIndex& parent, int first, int last
    );

    // Class: QStandardItemModel
    // Function: submit
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    submit
    (


    )

    ;

    // Class: QStandardItemModel
    // Function: revert
    // Source: QAbstractItemModel
    // Static: false
    // Parameters: 0
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    revert
    (


    )

    ;

    // Class: QStandardItemModel
    // Function: index
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    index
    (


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

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    parent
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: rowCount
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    rowCount
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: columnCount
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    columnCount
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: hasChildren
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    hasChildren
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: data
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    data
    (


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

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: setData
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setData
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: clearItemData
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    clearItemData
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: headerData
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    headerData
    (


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

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    setHeaderData
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: insertRows
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertRows
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: insertColumns
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertColumns
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: removeRows
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeRows
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: removeColumns
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    removeColumns
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    flags
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    supportedDropActions
    (


    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    clear
    (


    )

    ;

    // Class: QStandardItemModel
    // Function: sort
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    sort
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: itemFromIndex
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    itemFromIndex
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: indexFromItem
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    indexFromItem
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: item
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    item
    (


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

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: setItem
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setItem
    (


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

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    invisibleRootItem
    (


    )

    const

    ;

    // Class: QStandardItemModel
    // Function: horizontalHeaderItem
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    horizontalHeaderItem
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: setHorizontalHeaderItem
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setHorizontalHeaderItem
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: verticalHeaderItem
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    verticalHeaderItem
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    const

    ;

    // Class: QStandardItemModel
    // Function: setVerticalHeaderItem
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setVerticalHeaderItem
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: setHorizontalHeaderLabels
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setHorizontalHeaderLabels
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: setVerticalHeaderLabels
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setVerticalHeaderLabels
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: setRowCount
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setRowCount
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: setColumnCount
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setColumnCount
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: appendRow
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    appendRow
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: appendColumn
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    appendColumn
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: insertRow
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertRow
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: insertColumn
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    insertColumn
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: takeItem
    // Source:
    // Static: false
    // Parameters: 2
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeItem
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: takeRow
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeRow
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: takeColumn
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeColumn
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: takeHorizontalHeaderItem
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeHorizontalHeaderItem
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: takeVerticalHeaderItem
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    takeVerticalHeaderItem
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: setItemPrototype
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setItemPrototype
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

    // Class: QStandardItemModel
    // Function: findItems
    // Source:
    // Static: false
    // Parameters: 3
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    findItems
    (


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

    )

    const

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    sortRole
    (


    )

    const

    ;

    // Class: QStandardItemModel
    // Function: setSortRole
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    setSortRole
    (


        const QJSValue&
        a1
        = QJSValue()

    )

    ;

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

public:
    Q_INVOKABLE

    QJSValue
    mimeTypes
    (


    )

    const

    ;

    // Class: QStandardItemModel
    // Function: dropMimeData
    // Source:
    // Static: false
    // Parameters: 5
    // preceding Parameters: -1

public:
    Q_INVOKABLE

    QJSValue
    dropMimeData
    (


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

    )

    ;

    // Class: QStandardItemModel
    // Function: itemChanged
    // Source:
    // Static: false
    // Parameters: 1
    // preceding Parameters: -1

    // signal forwarded from wrapped class:
signals:
    void itemChanged(

        const QJSValue&
        a1
    );

    // called when signal is emitted from wrapped class:
public slots:
    void itemChangedEmitter(
        QStandardItem* item
    );

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

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

        return true;

    }

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

        return nullptr;
    }

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



    bool wrappedCreated;

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

public:
    static void registerBasecaster_QStandardItemModel(RJSBasecaster_QStandardItemModel* bc) {
        basecasters_QStandardItemModel.append(bc);
    }

};

Q_DECLARE_METATYPE(QStandardItemModel_Wrapper*)

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


#endif

