/*
 * Interface wrapper code.
 *
 * Generated by SIP 4.19.6
 */

#include "sipAPIKItemViews.h"

#include <kcategorizedview.h>

#include <qwidget.h>
#include <qabstractitemmodel.h>
#include <qvector.h>
#include <qabstractitemview.h>
#include <qnamespace.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qnamespace.h>
#include <qcoreevent.h>
#include <qevent.h>
#include <qrect.h>
#include <qitemselectionmodel.h>
#include <qevent.h>
#include <qevent.h>
#include <qpoint.h>
#include <qlist.h>
#include <qstring.h>
#include <kcategorydrawer.h>
#include <qsize.h>
#include <qabstractitemmodel.h>
#include <qitemselectionmodel.h>
#include <qregion.h>
#include <qstyleoption.h>
#include <qevent.h>
#include <qcoreevent.h>
#include <qlistview.h>
#include <qnamespace.h>
#include <qevent.h>
#include <qvariant.h>
#include <qabstractitemdelegate.h>
#include <qevent.h>
#include <qevent.h>
#include <qobject.h>
#include <qabstractitemview.h>
#include <qitemselectionmodel.h>
#include <qabstractscrollarea.h>
#include <qlist.h>
#include <qnamespace.h>
#include <qscrollbar.h>
#include <qevent.h>
#include <qmargins.h>
#include <qstyleoption.h>
#include <qpainter.h>
#include <qframe.h>
#include <qicon.h>
#include <qbytearray.h>
#include <qwindow.h>
#include <qnamespace.h>
#include <qpixmap.h>
#include <qnamespace.h>
#include <qnamespace.h>
#include <qgraphicseffect.h>
#include <qgraphicsproxywidget.h>
#include <QtGlobal>
#include <qlocale.h>
#include <qpaintdevice.h>
#include <qwidget.h>
#include <qfontinfo.h>
#include <qfontmetrics.h>
#include <qfont.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qevent.h>
#include <qpaintengine.h>
#include <qlist.h>
#include <qaction.h>
#include <qlayout.h>
#include <qsizepolicy.h>
#include <qnamespace.h>
#include <qkeysequence.h>
#include <qcursor.h>
#include <qbitmap.h>
#include <qpalette.h>
#include <qstyle.h>
#include <qmetaobject.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qlist.h>
#include <qthread.h>
#include <qnamespace.h>
#include <qregexp.h>
#include <qregularexpression.h>
#include <qobjectdefs.h>


class sipKCategorizedView : public  ::KCategorizedView
{
public:
    sipKCategorizedView( ::QWidget*);
    virtual ~sipKCategorizedView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem =  ::QAbstractItemView::OnItem,
        AboveItem =  ::QAbstractItemView::AboveItem,
        BelowItem =  ::QAbstractItemView::BelowItem,
        OnViewport =  ::QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState =  ::QAbstractItemView::NoState,
        DraggingState =  ::QAbstractItemView::DraggingState,
        DragSelectingState =  ::QAbstractItemView::DragSelectingState,
        EditingState =  ::QAbstractItemView::EditingState,
        ExpandingState =  ::QAbstractItemView::ExpandingState,
        CollapsingState =  ::QAbstractItemView::CollapsingState,
        AnimatingState =  ::QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp =  ::QAbstractItemView::MoveUp,
        MoveDown =  ::QAbstractItemView::MoveDown,
        MoveLeft =  ::QAbstractItemView::MoveLeft,
        MoveRight =  ::QAbstractItemView::MoveRight,
        MoveHome =  ::QAbstractItemView::MoveHome,
        MoveEnd =  ::QAbstractItemView::MoveEnd,
        MovePageUp =  ::QAbstractItemView::MovePageUp,
        MovePageDown =  ::QAbstractItemView::MovePageDown,
        MoveNext =  ::QAbstractItemView::MoveNext,
        MovePrevious =  ::QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool, ::QKeyEvent*);
    void sipProtectVirt_enterEvent(bool, ::QEvent*);
    void sipProtectVirt_moveEvent(bool, ::QMoveEvent*);
    void sipProtectVirt_closeEvent(bool, ::QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool, ::QTabletEvent*);
    void sipProtectVirt_actionEvent(bool, ::QActionEvent*);
    void sipProtectVirt_showEvent(bool, ::QShowEvent*);
    void sipProtectVirt_hideEvent(bool, ::QHideEvent*);
    int sipProtectVirt_metric(bool, ::QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create( ::WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const  ::QByteArray&,void*,long*);
     ::QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool, ::QPainter*) const;
    void sipProtectVirt_changeEvent(bool, ::QEvent*);
    void sipProtect_drawFrame( ::QPainter*);
    void sipProtect_initStyleOption( ::QStyleOptionFrame*) const;
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const  ::QMargins&);
     ::QMargins sipProtect_viewportMargins() const;
    void sipProtectVirt_contextMenuEvent(bool, ::QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool, ::QObject*, ::QEvent*);
    bool sipProtectVirt_edit(bool,const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool, ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool, ::QWidget*);
    void sipProtectVirt_editorDestroyed(bool, ::QObject*);
     ::QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const  ::QModelIndex&,const  ::QEvent*) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const  ::QRegion&);
     ::QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_viewportEvent(bool, ::QEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_focusInEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool, ::QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool, ::QKeyEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool, ::QInputMethodEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    bool sipProtectVirt_event(bool, ::QEvent*);
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_wheelEvent(bool, ::QWheelEvent*);
     ::QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
     ::QRect sipProtect_rectForIndex(const  ::QModelIndex&) const;
    void sipProtect_setPositionForIndex(const  ::QPoint&,const  ::QModelIndex&);
     ::QRegion sipProtectVirt_visualRegionForSelection(bool,const  ::QItemSelection&) const;
     ::QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    bool sipProtectVirt_isIndexHidden(bool,const  ::QModelIndex&) const;
     ::QSize sipProtectVirt_viewportSizeHint(bool) const;
    void sipProtectVirt_selectionChanged(bool,const  ::QItemSelection&,const  ::QItemSelection&);
    void sipProtectVirt_paintEvent(bool, ::QPaintEvent*);
    void sipProtectVirt_resizeEvent(bool, ::QResizeEvent*);
    void sipProtectVirt_setSelection(bool,const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
    void sipProtectVirt_mouseMoveEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool, ::QMouseEvent*);
    void sipProtectVirt_leaveEvent(bool, ::QEvent*);
    void sipProtectVirt_startDrag(bool, ::Qt::DropActions);
    void sipProtectVirt_dragMoveEvent(bool, ::QDragMoveEvent*);
    void sipProtectVirt_dragEnterEvent(bool, ::QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool, ::QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool, ::QDropEvent*);
     ::QModelIndex sipProtectVirt_moveCursor(bool,int, ::Qt::KeyboardModifiers);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const  ::QModelIndex&,int,int);
    void sipProtectVirt_updateGeometries(bool);
    void sipProtectVirt_currentChanged(bool,const  ::QModelIndex&,const  ::QModelIndex&);
    void sipProtectVirt_dataChanged(bool,const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const  ::QModelIndex&,int,int);
    void sipProtectVirt_rowsInsertedArtifficial(bool,const  ::QModelIndex&,int,int);
    void sipProtectVirt_rowsRemoved(bool,const  ::QModelIndex&,int,int);
    void sipProtectVirt_slotLayoutChanged(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void slotLayoutChanged();
    void rowsRemoved(const  ::QModelIndex&,int,int);
    void rowsInsertedArtifficial(const  ::QModelIndex&,int,int);
     ::QStyleOptionViewItem viewOptions() const;
    void startDrag( ::Qt::DropActions);
     ::QItemSelectionModel::SelectionFlags selectionCommand(const  ::QModelIndex&,const  ::QEvent*) const;
    bool edit(const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);
     ::QModelIndexList selectedIndexes() const;
     ::QRegion visualRegionForSelection(const  ::QItemSelection&) const;
    void setSelection(const  ::QRect&, ::QItemSelectionModel::SelectionFlags);
    bool isIndexHidden(const  ::QModelIndex&) const;
    int verticalOffset() const;
    int horizontalOffset() const;
     ::QModelIndex moveCursor( ::QAbstractItemView::CursorAction, ::Qt::KeyboardModifiers);
    void editorDestroyed( ::QObject*);
    void commitData( ::QWidget*);
    void closeEditor( ::QWidget*, ::QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateGeometries();
    void updateEditorGeometries();
    void updateEditorData();
    void currentChanged(const  ::QModelIndex&,const  ::QModelIndex&);
    void selectionChanged(const  ::QItemSelection&,const  ::QItemSelection&);
    void rowsAboutToBeRemoved(const  ::QModelIndex&,int,int);
    void rowsInserted(const  ::QModelIndex&,int,int);
    void dataChanged(const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);
    void selectAll();
    void setRootIndex(const  ::QModelIndex&);
    void reset();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
     ::QModelIndex indexAt(const  ::QPoint&) const;
    void scrollTo(const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);
     ::QRect visualRect(const  ::QModelIndex&) const;
    void keyboardSearch(const  ::QString&);
    void setSelectionModel( ::QItemSelectionModel*);
    void setModel( ::QAbstractItemModel*);
    void disconnectNotify(const  ::QMetaMethod&);
    void connectNotify(const  ::QMetaMethod&);
    void customEvent( ::QEvent*);
    void childEvent( ::QChildEvent*);
    void timerEvent( ::QTimerEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    bool event( ::QEvent*);
    int metric( ::QPaintDevice::PaintDeviceMetric) const;
     ::QPaintEngine* paintEngine() const;
    int devType() const;
    void setVisible(bool);
     ::QSize sizeHint() const;
     ::QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    void mousePressEvent( ::QMouseEvent*);
    void mouseReleaseEvent( ::QMouseEvent*);
    void mouseDoubleClickEvent( ::QMouseEvent*);
    void mouseMoveEvent( ::QMouseEvent*);
    void wheelEvent( ::QWheelEvent*);
    void keyPressEvent( ::QKeyEvent*);
    void keyReleaseEvent( ::QKeyEvent*);
    void focusInEvent( ::QFocusEvent*);
    void focusOutEvent( ::QFocusEvent*);
    void enterEvent( ::QEvent*);
    void leaveEvent( ::QEvent*);
    void paintEvent( ::QPaintEvent*);
    void moveEvent( ::QMoveEvent*);
    void resizeEvent( ::QResizeEvent*);
    void closeEvent( ::QCloseEvent*);
    void contextMenuEvent( ::QContextMenuEvent*);
    void tabletEvent( ::QTabletEvent*);
    void actionEvent( ::QActionEvent*);
    void dragEnterEvent( ::QDragEnterEvent*);
    void dragMoveEvent( ::QDragMoveEvent*);
    void dragLeaveEvent( ::QDragLeaveEvent*);
    void dropEvent( ::QDropEvent*);
    void showEvent( ::QShowEvent*);
    void hideEvent( ::QHideEvent*);
    void changeEvent( ::QEvent*);
    void inputMethodEvent( ::QInputMethodEvent*);
     ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    bool hasHeightForWidth() const;
    bool nativeEvent(const  ::QByteArray&,void*,long*);
     ::QPainter* sharedPainter() const;
    void initPainter( ::QPainter*) const;
     ::QSize viewportSizeHint() const;
    bool viewportEvent( ::QEvent*);
    void scrollContentsBy(int,int);
    void setupViewport( ::QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipKCategorizedView(const sipKCategorizedView &);
    sipKCategorizedView &operator = (const sipKCategorizedView &);

    char sipPyMethods[90];
};

sipKCategorizedView::sipKCategorizedView( ::QWidget*a0):  ::KCategorizedView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipKCategorizedView::~sipKCategorizedView()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipKCategorizedView::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_KItemViews_qt_metaobject(sipPySelf,sipType_KCategorizedView);

    return  ::KCategorizedView::metaObject();
}

int sipKCategorizedView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::KCategorizedView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_KItemViews_qt_metacall(sipPySelf,sipType_KCategorizedView,_c,_id,_a);

    return _id;
}

void *sipKCategorizedView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_KItemViews_qt_metacast(sipPySelf, sipType_KCategorizedView, _clname, &sipCpp) ? sipCpp :  ::KCategorizedView::qt_metacast(_clname));
}

void sipKCategorizedView::slotLayoutChanged()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_slotLayoutChanged);

    if (!sipMeth)
    {
         ::KCategorizedView::slotLayoutChanged();
        return;
    }

    extern void sipVH_KItemViews_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_KItemViews_6(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::rowsRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_rowsRemoved);

    if (!sipMeth)
    {
         ::KCategorizedView::rowsRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_KItemViews_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_KItemViews_72(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::rowsInsertedArtifficial(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_rowsInsertedArtifficial);

    if (!sipMeth)
    {
         ::KCategorizedView::rowsInsertedArtifficial(a0,a1,a2);
        return;
    }

    extern void sipVH_KItemViews_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_KItemViews_72(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QStyleOptionViewItem sipKCategorizedView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return  ::KCategorizedView::viewOptions();

    extern  ::QStyleOptionViewItem sipVH_KItemViews_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_85(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::startDrag( ::Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
         ::KCategorizedView::startDrag(a0);
        return;
    }

    extern void sipVH_KItemViews_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::DropActions);

    sipVH_KItemViews_84(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QItemSelectionModel::SelectionFlags sipKCategorizedView::selectionCommand(const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return  ::KCategorizedView::selectionCommand(a0,a1);

    extern  ::QItemSelectionModel::SelectionFlags sipVH_KItemViews_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QEvent*);

    return sipVH_KItemViews_83(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedView::edit(const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return  ::KCategorizedView::edit(a0,a1,a2);

    extern bool sipVH_KItemViews_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::EditTrigger, ::QEvent*);

    return sipVH_KItemViews_82(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QModelIndexList sipKCategorizedView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return  ::KCategorizedView::selectedIndexes();

    extern  ::QModelIndexList sipVH_KItemViews_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_81(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QRegion sipKCategorizedView::visualRegionForSelection(const  ::QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return  ::KCategorizedView::visualRegionForSelection(a0);

    extern  ::QRegion sipVH_KItemViews_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&);

    return sipVH_KItemViews_80(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::setSelection(const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
         ::KCategorizedView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_KItemViews_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QRect&, ::QItemSelectionModel::SelectionFlags);

    sipVH_KItemViews_79(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedView::isIndexHidden(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return  ::KCategorizedView::isIndexHidden(a0);

    extern bool sipVH_KItemViews_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_KItemViews_13(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipKCategorizedView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return  ::KCategorizedView::verticalOffset();

    extern int sipVH_KItemViews_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_63(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipKCategorizedView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return  ::KCategorizedView::horizontalOffset();

    extern int sipVH_KItemViews_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_63(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QModelIndex sipKCategorizedView::moveCursor( ::QAbstractItemView::CursorAction a0, ::Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return  ::KCategorizedView::moveCursor(a0,a1);

    extern  ::QModelIndex sipVH_KItemViews_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, ::Qt::KeyboardModifiers);

    return sipVH_KItemViews_78(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, (int)a0, a1);
}

void sipKCategorizedView::editorDestroyed( ::QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
         ::KCategorizedView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_KItemViews_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*);

    sipVH_KItemViews_77(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::commitData( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
         ::KCategorizedView::commitData(a0);
        return;
    }

    extern void sipVH_KItemViews_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_KItemViews_35(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::closeEditor( ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
         ::KCategorizedView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_KItemViews_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*, ::QAbstractItemDelegate::EndEditHint);

    sipVH_KItemViews_76(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KCategorizedView::horizontalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_KItemViews_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_KItemViews_75(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
         ::KCategorizedView::verticalScrollbarValueChanged(a0);
        return;
    }

    extern void sipVH_KItemViews_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_KItemViews_75(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
         ::KCategorizedView::horizontalScrollbarAction(a0);
        return;
    }

    extern void sipVH_KItemViews_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_KItemViews_75(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
         ::KCategorizedView::verticalScrollbarAction(a0);
        return;
    }

    extern void sipVH_KItemViews_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_KItemViews_75(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
         ::KCategorizedView::updateGeometries();
        return;
    }

    extern void sipVH_KItemViews_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_KItemViews_6(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
         ::KCategorizedView::updateEditorGeometries();
        return;
    }

    extern void sipVH_KItemViews_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_KItemViews_6(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
         ::KCategorizedView::updateEditorData();
        return;
    }

    extern void sipVH_KItemViews_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_KItemViews_6(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::currentChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
         ::KCategorizedView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_KItemViews_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&);

    sipVH_KItemViews_74(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::selectionChanged(const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
         ::KCategorizedView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_KItemViews_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QItemSelection&,const  ::QItemSelection&);

    sipVH_KItemViews_73(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::rowsAboutToBeRemoved(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
         ::KCategorizedView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_KItemViews_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_KItemViews_72(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::rowsInserted(const  ::QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
         ::KCategorizedView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_KItemViews_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,int,int);

    sipVH_KItemViews_72(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::dataChanged(const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
         ::KCategorizedView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_KItemViews_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&,const  ::QModelIndex&,const  ::QVector<int>&);

    sipVH_KItemViews_71(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

void sipKCategorizedView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
         ::KCategorizedView::selectAll();
        return;
    }

    extern void sipVH_KItemViews_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_KItemViews_6(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::setRootIndex(const  ::QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
         ::KCategorizedView::setRootIndex(a0);
        return;
    }

    extern void sipVH_KItemViews_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    sipVH_KItemViews_14(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
         ::KCategorizedView::reset();
        return;
    }

    extern void sipVH_KItemViews_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_KItemViews_6(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipKCategorizedView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return  ::KCategorizedView::sizeHintForColumn(a0);

    extern int sipVH_KItemViews_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_KItemViews_61(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipKCategorizedView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return  ::KCategorizedView::sizeHintForRow(a0);

    extern int sipVH_KItemViews_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_KItemViews_61(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QModelIndex sipKCategorizedView::indexAt(const  ::QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return  ::KCategorizedView::indexAt(a0);

    extern  ::QModelIndex sipVH_KItemViews_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QPoint&);

    return sipVH_KItemViews_70(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::scrollTo(const  ::QModelIndex& a0, ::QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
         ::KCategorizedView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_KItemViews_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&, ::QAbstractItemView::ScrollHint);

    sipVH_KItemViews_69(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

 ::QRect sipKCategorizedView::visualRect(const  ::QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return  ::KCategorizedView::visualRect(a0);

    extern  ::QRect sipVH_KItemViews_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QModelIndex&);

    return sipVH_KItemViews_68(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::keyboardSearch(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
         ::KCategorizedView::keyboardSearch(a0);
        return;
    }

    extern void sipVH_KItemViews_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    sipVH_KItemViews_67(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::setSelectionModel( ::QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
         ::KCategorizedView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_KItemViews_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QItemSelectionModel*);

    sipVH_KItemViews_66(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::setModel( ::QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
         ::KCategorizedView::setModel(a0);
        return;
    }

    extern void sipVH_KItemViews_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QAbstractItemModel*);

    sipVH_KItemViews_32(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::KCategorizedView::disconnectNotify(a0);
        return;
    }

    extern void sipVH_KItemViews_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_KItemViews_31(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
         ::KCategorizedView::connectNotify(a0);
        return;
    }

    extern void sipVH_KItemViews_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_KItemViews_31(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::customEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_KItemViews_30(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::childEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_KItemViews_29(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::timerEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_KItemViews_28(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedView::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return  ::KCategorizedView::eventFilter(a0,a1);

    extern bool sipVH_KItemViews_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_KItemViews_27(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipKCategorizedView::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return  ::KCategorizedView::event(a0);

    extern bool sipVH_KItemViews_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_KItemViews_26(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipKCategorizedView::metric( ::QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return  ::KCategorizedView::metric(a0);

    extern int sipVH_KItemViews_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintDevice::PaintDeviceMetric);

    return sipVH_KItemViews_65(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QPaintEngine* sipKCategorizedView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return  ::KCategorizedView::paintEngine();

    extern  ::QPaintEngine* sipVH_KItemViews_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_64(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipKCategorizedView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return  ::KCategorizedView::devType();

    extern int sipVH_KItemViews_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_63(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
         ::KCategorizedView::setVisible(a0);
        return;
    }

    extern void sipVH_KItemViews_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_KItemViews_62(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipKCategorizedView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return  ::KCategorizedView::sizeHint();

    extern  ::QSize sipVH_KItemViews_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_37(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QSize sipKCategorizedView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return  ::KCategorizedView::minimumSizeHint();

    extern  ::QSize sipVH_KItemViews_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_37(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipKCategorizedView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return  ::KCategorizedView::heightForWidth(a0);

    extern int sipVH_KItemViews_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_KItemViews_61(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mousePressEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::mousePressEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_KItemViews_60(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mouseReleaseEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_KItemViews_60(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mouseDoubleClickEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_KItemViews_60(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::mouseMoveEvent( ::QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMouseEvent*);

    sipVH_KItemViews_60(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::wheelEvent( ::QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::wheelEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWheelEvent*);

    sipVH_KItemViews_59(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::keyPressEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::keyPressEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_KItemViews_58(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::keyReleaseEvent( ::QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::keyReleaseEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QKeyEvent*);

    sipVH_KItemViews_58(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::focusInEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::focusInEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_KItemViews_57(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::focusOutEvent( ::QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::focusOutEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QFocusEvent*);

    sipVH_KItemViews_57(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::enterEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::enterEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_KItemViews_30(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::leaveEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::leaveEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_KItemViews_30(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::paintEvent( ::QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::paintEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPaintEvent*);

    sipVH_KItemViews_56(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::moveEvent( ::QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::moveEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QMoveEvent*);

    sipVH_KItemViews_55(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::resizeEvent( ::QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::resizeEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QResizeEvent*);

    sipVH_KItemViews_54(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::closeEvent( ::QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::closeEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QCloseEvent*);

    sipVH_KItemViews_53(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::contextMenuEvent( ::QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QContextMenuEvent*);

    sipVH_KItemViews_52(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::tabletEvent( ::QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::tabletEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTabletEvent*);

    sipVH_KItemViews_51(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::actionEvent( ::QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::actionEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QActionEvent*);

    sipVH_KItemViews_50(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::dragEnterEvent( ::QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragEnterEvent*);

    sipVH_KItemViews_49(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::dragMoveEvent( ::QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragMoveEvent*);

    sipVH_KItemViews_48(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::dragLeaveEvent( ::QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDragLeaveEvent*);

    sipVH_KItemViews_47(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::dropEvent( ::QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::dropEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QDropEvent*);

    sipVH_KItemViews_46(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::showEvent( ::QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::showEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QShowEvent*);

    sipVH_KItemViews_45(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::hideEvent( ::QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::hideEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QHideEvent*);

    sipVH_KItemViews_44(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::changeEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::changeEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_KItemViews_30(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::inputMethodEvent( ::QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
         ::KCategorizedView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_KItemViews_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QInputMethodEvent*);

    sipVH_KItemViews_43(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QVariant sipKCategorizedView::inputMethodQuery( ::Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return  ::KCategorizedView::inputMethodQuery(a0);

    extern  ::QVariant sipVH_KItemViews_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::Qt::InputMethodQuery);

    return sipVH_KItemViews_42(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return  ::KCategorizedView::focusNextPrevChild(a0);

    extern bool sipVH_KItemViews_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_KItemViews_41(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipKCategorizedView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return  ::KCategorizedView::hasHeightForWidth();

    extern bool sipVH_KItemViews_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_7(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipKCategorizedView::nativeEvent(const  ::QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return  ::KCategorizedView::nativeEvent(a0,a1,a2);

    extern bool sipVH_KItemViews_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QByteArray&,void*,long*);

    return sipVH_KItemViews_40(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QPainter* sipKCategorizedView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return  ::KCategorizedView::sharedPainter();

    extern  ::QPainter* sipVH_KItemViews_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_39(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipKCategorizedView::initPainter( ::QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
         ::KCategorizedView::initPainter(a0);
        return;
    }

    extern void sipVH_KItemViews_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QPainter*);

    sipVH_KItemViews_38(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QSize sipKCategorizedView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return  ::KCategorizedView::viewportSizeHint();

    extern  ::QSize sipVH_KItemViews_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_KItemViews_37(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipKCategorizedView::viewportEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return  ::KCategorizedView::viewportEvent(a0);

    extern bool sipVH_KItemViews_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_KItemViews_26(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipKCategorizedView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
         ::KCategorizedView::scrollContentsBy(a0,a1);
        return;
    }

    extern void sipVH_KItemViews_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    sipVH_KItemViews_36(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipKCategorizedView::setupViewport( ::QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[89],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
         ::KCategorizedView::setupViewport(a0);
        return;
    }

    extern void sipVH_KItemViews_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWidget*);

    sipVH_KItemViews_35(sipGILState, sipImportedVirtErrorHandlers_KItemViews_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipKCategorizedView::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipKCategorizedView::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipKCategorizedView::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipKCategorizedView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipKCategorizedView::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipKCategorizedView::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}

void sipKCategorizedView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_enterEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_moveEvent(bool sipSelfWasArg, ::QMoveEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_closeEvent(bool sipSelfWasArg, ::QCloseEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_tabletEvent(bool sipSelfWasArg, ::QTabletEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_actionEvent(bool sipSelfWasArg, ::QActionEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_showEvent(bool sipSelfWasArg, ::QShowEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::showEvent(a0) : showEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_hideEvent(bool sipSelfWasArg, ::QHideEvent*a0)
{
    (sipSelfWasArg ?  ::QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipKCategorizedView::sipProtectVirt_metric(bool sipSelfWasArg, ::QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ?  ::QWidget::metric(a0) : metric(a0));
}

void sipKCategorizedView::sipProtect_updateMicroFocus()
{
     ::QWidget::updateMicroFocus();
}

void sipKCategorizedView::sipProtect_create( ::WId a0,bool a1,bool a2)
{
     ::QWidget::create(a0,a1,a2);
}

void sipKCategorizedView::sipProtect_destroy(bool a0,bool a1)
{
     ::QWidget::destroy(a0,a1);
}

bool sipKCategorizedView::sipProtect_focusNextChild()
{
    return  ::QWidget::focusNextChild();
}

bool sipKCategorizedView::sipProtect_focusPreviousChild()
{
    return  ::QWidget::focusPreviousChild();
}

bool sipKCategorizedView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const  ::QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ?  ::QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

 ::QPainter* sipKCategorizedView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QWidget::sharedPainter() : sharedPainter());
}

void sipKCategorizedView::sipProtectVirt_initPainter(bool sipSelfWasArg, ::QPainter*a0) const
{
    (sipSelfWasArg ?  ::QWidget::initPainter(a0) : initPainter(a0));
}

void sipKCategorizedView::sipProtectVirt_changeEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipKCategorizedView::sipProtect_drawFrame( ::QPainter*a0)
{
     ::QFrame::drawFrame(a0);
}

void sipKCategorizedView::sipProtect_initStyleOption( ::QStyleOptionFrame*a0) const
{
     ::QFrame::initStyleOption(a0);
}

void sipKCategorizedView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
     ::QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipKCategorizedView::sipProtect_setViewportMargins(const  ::QMargins& a0)
{
     ::QAbstractScrollArea::setViewportMargins(a0);
}

 ::QMargins sipKCategorizedView::sipProtect_viewportMargins() const
{
    return  ::QAbstractScrollArea::viewportMargins();
}

void sipKCategorizedView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg, ::QContextMenuEvent*a0)
{
    (sipSelfWasArg ?  ::QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipKCategorizedView::sipProtectVirt_eventFilter(bool sipSelfWasArg, ::QObject*a0, ::QEvent*a1)
{
    return (sipSelfWasArg ?  ::QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipKCategorizedView::sipProtectVirt_edit(bool sipSelfWasArg,const  ::QModelIndex& a0, ::QAbstractItemView::EditTrigger a1, ::QEvent*a2)
{
    return (sipSelfWasArg ?  ::QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipKCategorizedView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipKCategorizedView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipKCategorizedView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipKCategorizedView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

void sipKCategorizedView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipKCategorizedView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipKCategorizedView::sipProtectVirt_closeEditor(bool sipSelfWasArg, ::QWidget*a0, ::QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ?  ::QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipKCategorizedView::sipProtectVirt_commitData(bool sipSelfWasArg, ::QWidget*a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipKCategorizedView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg, ::QObject*a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

 ::QItemSelectionModel::SelectionFlags sipKCategorizedView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const  ::QModelIndex& a0,const  ::QEvent*a1) const
{
    return (sipSelfWasArg ?  ::QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

int sipKCategorizedView::sipProtect_state() const
{
    return (int) ::QAbstractItemView::state();
}

void sipKCategorizedView::sipProtect_setState(int a0)
{
     ::QAbstractItemView::setState(( ::QAbstractItemView::State)a0);
}

void sipKCategorizedView::sipProtect_scheduleDelayedItemsLayout()
{
     ::QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipKCategorizedView::sipProtect_executeDelayedItemsLayout()
{
     ::QAbstractItemView::executeDelayedItemsLayout();
}

void sipKCategorizedView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
     ::QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipKCategorizedView::sipProtect_setDirtyRegion(const  ::QRegion& a0)
{
     ::QAbstractItemView::setDirtyRegion(a0);
}

 ::QPoint sipKCategorizedView::sipProtect_dirtyRegionOffset() const
{
    return  ::QAbstractItemView::dirtyRegionOffset();
}

bool sipKCategorizedView::sipProtectVirt_viewportEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_focusInEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg, ::QFocusEvent*a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg, ::QKeyEvent*a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

int sipKCategorizedView::sipProtect_dropIndicatorPosition() const
{
    return (int) ::QAbstractItemView::dropIndicatorPosition();
}

bool sipKCategorizedView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ?  ::QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipKCategorizedView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg, ::QInputMethodEvent*a0)
{
    (sipSelfWasArg ?  ::QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ?  ::QListView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

bool sipKCategorizedView::sipProtectVirt_event(bool sipSelfWasArg, ::QEvent*a0)
{
    return (sipSelfWasArg ?  ::QListView::event(a0) : event(a0));
}

void sipKCategorizedView::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QListView::timerEvent(a0) : timerEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_wheelEvent(bool sipSelfWasArg, ::QWheelEvent*a0)
{
    (sipSelfWasArg ?  ::QListView::wheelEvent(a0) : wheelEvent(a0));
}

 ::QStyleOptionViewItem sipKCategorizedView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QListView::viewOptions() : viewOptions());
}

int sipKCategorizedView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QListView::horizontalOffset() : horizontalOffset());
}

int sipKCategorizedView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QListView::verticalOffset() : verticalOffset());
}

 ::QRect sipKCategorizedView::sipProtect_rectForIndex(const  ::QModelIndex& a0) const
{
    return  ::QListView::rectForIndex(a0);
}

void sipKCategorizedView::sipProtect_setPositionForIndex(const  ::QPoint& a0,const  ::QModelIndex& a1)
{
     ::QListView::setPositionForIndex(a0,a1);
}

 ::QRegion sipKCategorizedView::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const  ::QItemSelection& a0) const
{
    return (sipSelfWasArg ?  ::QListView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

 ::QModelIndexList sipKCategorizedView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QListView::selectedIndexes() : selectedIndexes());
}

bool sipKCategorizedView::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const  ::QModelIndex& a0) const
{
    return (sipSelfWasArg ?  ::QListView::isIndexHidden(a0) : isIndexHidden(a0));
}

 ::QSize sipKCategorizedView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ?  ::QListView::viewportSizeHint() : viewportSizeHint());
}

void sipKCategorizedView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const  ::QItemSelection& a0,const  ::QItemSelection& a1)
{
    (sipSelfWasArg ?  ::QListView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipKCategorizedView::sipProtectVirt_paintEvent(bool sipSelfWasArg, ::QPaintEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::paintEvent(a0) : paintEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_resizeEvent(bool sipSelfWasArg, ::QResizeEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::resizeEvent(a0) : resizeEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_setSelection(bool sipSelfWasArg,const  ::QRect& a0, ::QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ?  ::KCategorizedView::setSelection(a0,a1) : setSelection(a0,a1));
}

void sipKCategorizedView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg, ::QMouseEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_leaveEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::leaveEvent(a0) : leaveEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_startDrag(bool sipSelfWasArg, ::Qt::DropActions a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::startDrag(a0) : startDrag(a0));
}

void sipKCategorizedView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg, ::QDragMoveEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg, ::QDragEnterEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg, ::QDragLeaveEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipKCategorizedView::sipProtectVirt_dropEvent(bool sipSelfWasArg, ::QDropEvent*a0)
{
    (sipSelfWasArg ?  ::KCategorizedView::dropEvent(a0) : dropEvent(a0));
}

 ::QModelIndex sipKCategorizedView::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0, ::Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ?  ::KCategorizedView::moveCursor(( ::QAbstractItemView::CursorAction)a0,a1) : moveCursor(( ::QAbstractItemView::CursorAction)a0,a1));
}

void sipKCategorizedView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const  ::QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ?  ::KCategorizedView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

void sipKCategorizedView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::KCategorizedView::updateGeometries() : updateGeometries());
}

void sipKCategorizedView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const  ::QModelIndex& a0,const  ::QModelIndex& a1)
{
    (sipSelfWasArg ?  ::KCategorizedView::currentChanged(a0,a1) : currentChanged(a0,a1));
}

void sipKCategorizedView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const  ::QModelIndex& a0,const  ::QModelIndex& a1,const  ::QVector<int>& a2)
{
    (sipSelfWasArg ?  ::KCategorizedView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipKCategorizedView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const  ::QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ?  ::KCategorizedView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipKCategorizedView::sipProtectVirt_rowsInsertedArtifficial(bool sipSelfWasArg,const  ::QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ?  ::KCategorizedView::rowsInsertedArtifficial(a0,a1,a2) : rowsInsertedArtifficial(a0,a1,a2));
}

void sipKCategorizedView::sipProtectVirt_rowsRemoved(bool sipSelfWasArg,const  ::QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ?  ::KCategorizedView::rowsRemoved(a0,a1,a2) : rowsRemoved(a0,a1,a2));
}

void sipKCategorizedView::sipProtectVirt_slotLayoutChanged(bool sipSelfWasArg)
{
    (sipSelfWasArg ?  ::KCategorizedView::slotLayoutChanged() : slotLayoutChanged());
}


extern "C" {static PyObject *meth_KCategorizedView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::QObject*sipRes = 0;

        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_sender, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QChildEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QMetaMethod* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_senderSignalIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QMetaMethod* a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_isSignalConnected, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_keyReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_enterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMoveEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_moveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QCloseEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTabletEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_tabletEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QActionEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_actionEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QShowEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QHideEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintDevice::PaintDeviceMetric a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_metric, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_updateMicroFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::WId a0def = 0;
         ::WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipKCategorizedView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_create, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipKCategorizedView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_destroy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_focusNextChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_focusPreviousChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast< ::QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_nativeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_sharedPainter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPainter* a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_initPainter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QPainter* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_drawFrame, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
         ::QStyleOptionFrame* a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QStyleOptionFrame, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_initStyleOption, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QMargins* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setViewportMargins, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_viewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_viewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::QMargins*sipRes;

            sipRes = new  ::QMargins(sipCpp->sipProtect_viewportMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_viewportMargins, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QContextMenuEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
         ::QEvent* a1;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
         ::KCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QModelIndex* a0;
         ::QAbstractItemView::EditTrigger a1;
         ::QEvent* a2;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_edit, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_updateEditorData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_updateEditorGeometries, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_verticalScrollbarAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_horizontalScrollbarAction, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_verticalScrollbarValueChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_horizontalScrollbarValueChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWidget* a0;
         ::QAbstractItemDelegate::EndEditHint a1;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_closeEditor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWidget* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_commitData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QObject* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_editorDestroyed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QEvent* a1 = 0;
        const sipKCategorizedView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
             ::QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new  ::QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_selectionCommand, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_state, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setState, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_scheduleDelayedItemsLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_executeDelayedItemsLayout, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_scrollDirtyRegion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QRegion* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setDirtyRegion, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::QPoint*sipRes;

            sipRes = new  ::QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dirtyRegionOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_viewportEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QFocusEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QKeyEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dropIndicatorPosition, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QInputMethodEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_inputMethodEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_scrollContentsBy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QTimerEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QWheelEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::QStyleOptionViewItem*sipRes;

            sipRes = new  ::QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_viewOptions, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_horizontalOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_verticalOffset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rectForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rectForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QModelIndex* a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect(sipCpp->sipProtect_rectForIndex(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rectForIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setPositionForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setPositionForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QPoint* a0;
        const  ::QModelIndex* a1;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPoint, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_setPositionForIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setPositionForIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QItemSelection, &a0))
        {
             ::QRegion*sipRes;

            sipRes = new  ::QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_visualRegionForSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_selectedIndexes, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_isIndexHidden, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::QSize*sipRes;

            sipRes = new  ::QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_viewportSizeHint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QItemSelection* a0;
        const  ::QItemSelection* a1;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_selectionChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setModel(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QAbstractItemModel* a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::KCategorizedView::setModel(a0) : sipCpp->setModel(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setGridSize(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setGridSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setGridSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setGridSize, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setGridSizeOwn(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setGridSizeOwn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QSize* a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setGridSizeOwn(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setGridSizeOwn, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_visualRect(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_visualRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QRect*sipRes;

            sipRes = new  ::QRect((sipSelfWasArg ? sipCpp-> ::KCategorizedView::visualRect(*a0) : sipCpp->visualRect(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_visualRect, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_categoryDrawer(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_categoryDrawer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
             ::KCategoryDrawer*sipRes;

            sipRes = sipCpp->categoryDrawer();

            return sipConvertFromType(sipRes,sipType_KCategoryDrawer,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_categoryDrawer, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setCategoryDrawer(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setCategoryDrawer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
         ::KCategoryDrawer* a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_KCategoryDrawer, &a0))
        {
            sipCpp->setCategoryDrawer(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setCategoryDrawer, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_categorySpacing(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_categorySpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->categorySpacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_categorySpacing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setCategorySpacing(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setCategorySpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            sipCpp->setCategorySpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setCategorySpacing, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_alternatingBlockColors(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_alternatingBlockColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->alternatingBlockColors();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_alternatingBlockColors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setAlternatingBlockColors(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setAlternatingBlockColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            sipCpp->setAlternatingBlockColors(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setAlternatingBlockColors, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_collapsibleBlocks(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_collapsibleBlocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->collapsibleBlocks();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_collapsibleBlocks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setCollapsibleBlocks(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setCollapsibleBlocks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_KCategorizedView, &sipCpp, &a0))
        {
            sipCpp->setCollapsibleBlocks(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setCollapsibleBlocks, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_block(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_block(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->block(*a0));
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    {
        const  ::QModelIndex* a0;
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0))
        {
             ::QModelIndexList*sipRes;

            sipRes = new  ::QModelIndexList(sipCpp->block(*a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_block, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_indexAt(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_indexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QPoint* a0;
        const  ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPoint, &a0))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex((sipSelfWasArg ? sipCpp-> ::KCategorizedView::indexAt(*a0) : sipCpp->indexAt(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_indexAt, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_reset(PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::KCategorizedView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::KCategorizedView::reset() : sipCpp->reset());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_reset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QPaintEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QResizeEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QRect* a0;
         ::QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_setSelection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QMouseEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_leaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::Qt::DropActions* a0;
        int a0State = 0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            sipReleaseType(a0,sipType_Qt_DropActions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_startDrag, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragMoveEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragEnterEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDragLeaveEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QDropEvent* a0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
             ::QModelIndex*sipRes;

            sipRes = new  ::QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_moveCursor, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsAboutToBeRemoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_updateGeometries, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_currentChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        const  ::QModelIndex* a1;
        const  ::QVector<int>& a2def = QVector<int>();
        const  ::QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9|J1", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast< ::QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_dataChanged, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsInserted, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsInsertedArtifficial(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsInsertedArtifficial(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInsertedArtifficial(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsInsertedArtifficial, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_rowsRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_rowsRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QModelIndex* a0;
        int a1;
        int a2;
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_KCategorizedView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_rowsRemoved, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_KCategorizedView_slotLayoutChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_KCategorizedView_slotLayoutChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        sipKCategorizedView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_KCategorizedView, &sipCpp))
        {
            sipCpp->sipProtectVirt_slotLayoutChanged(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_KCategorizedView, sipName_slotLayoutChanged, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_KCategorizedView(void *, const sipTypeDef *);}
static void *cast_KCategorizedView(void *sipCppV, const sipTypeDef *targetType)
{
     ::KCategorizedView *sipCpp = reinterpret_cast< ::KCategorizedView *>(sipCppV);

    if (targetType == sipType_QListView)
        return static_cast< ::QListView *>(sipCpp);

    if (targetType == sipType_QAbstractItemView)
        return static_cast< ::QAbstractItemView *>(sipCpp);

    if (targetType == sipType_QAbstractScrollArea)
        return static_cast< ::QAbstractScrollArea *>(sipCpp);

    if (targetType == sipType_QFrame)
        return static_cast< ::QFrame *>(sipCpp);

    if (targetType == sipType_QWidget)
        return static_cast< ::QWidget *>(sipCpp);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    if (targetType == sipType_QPaintDevice)
        return static_cast< ::QPaintDevice *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_KCategorizedView(void *, int);}
static void release_KCategorizedView(void *sipCppV, int)
{
     ::KCategorizedView *sipCpp = reinterpret_cast< ::KCategorizedView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_KCategorizedView(sipSimpleWrapper *);}
static void dealloc_KCategorizedView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipKCategorizedView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_KCategorizedView(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_KCategorizedView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_KCategorizedView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipKCategorizedView *sipCpp = 0;

    {
         ::QWidget* a0 = nullptr;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipKCategorizedView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_KCategorizedView[] = {{12, 2, 1}};


static PyMethodDef methods_KCategorizedView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_KCategorizedView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alternatingBlockColors), meth_KCategorizedView_alternatingBlockColors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_block), meth_KCategorizedView_block, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_categoryDrawer), meth_KCategorizedView_categoryDrawer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_categorySpacing), meth_KCategorizedView_categorySpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_KCategorizedView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_KCategorizedView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_KCategorizedView_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_KCategorizedView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_collapsibleBlocks), meth_KCategorizedView_collapsibleBlocks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_KCategorizedView_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_KCategorizedView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_KCategorizedView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_KCategorizedView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_KCategorizedView_currentChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_KCategorizedView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_KCategorizedView_dataChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_KCategorizedView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_KCategorizedView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_KCategorizedView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_KCategorizedView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_KCategorizedView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_KCategorizedView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_KCategorizedView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_KCategorizedView_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_KCategorizedView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_KCategorizedView_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_KCategorizedView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_KCategorizedView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_KCategorizedView_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_KCategorizedView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_KCategorizedView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_KCategorizedView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_KCategorizedView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_KCategorizedView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_KCategorizedView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_KCategorizedView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_KCategorizedView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_KCategorizedView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_KCategorizedView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_KCategorizedView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexAt), meth_KCategorizedView_indexAt, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_KCategorizedView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_KCategorizedView_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_KCategorizedView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_KCategorizedView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_KCategorizedView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_KCategorizedView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_KCategorizedView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_KCategorizedView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_KCategorizedView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_KCategorizedView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_KCategorizedView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_KCategorizedView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_KCategorizedView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_KCategorizedView_moveCursor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_KCategorizedView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_KCategorizedView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_KCategorizedView_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_KCategorizedView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rectForIndex), (PyCFunction)meth_KCategorizedView_rectForIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_KCategorizedView_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_KCategorizedView_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_KCategorizedView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_KCategorizedView_rowsInserted, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInsertedArtifficial), (PyCFunction)meth_KCategorizedView_rowsInsertedArtifficial, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsRemoved), (PyCFunction)meth_KCategorizedView_rowsRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_KCategorizedView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_KCategorizedView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_KCategorizedView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_KCategorizedView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_KCategorizedView_selectionChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_KCategorizedView_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_KCategorizedView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_KCategorizedView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlternatingBlockColors), meth_KCategorizedView_setAlternatingBlockColors, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategoryDrawer), meth_KCategorizedView_setCategoryDrawer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCategorySpacing), meth_KCategorizedView_setCategorySpacing, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCollapsibleBlocks), meth_KCategorizedView_setCollapsibleBlocks, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_KCategorizedView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setGridSize), meth_KCategorizedView_setGridSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setGridSizeOwn), meth_KCategorizedView_setGridSizeOwn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_KCategorizedView_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPositionForIndex), (PyCFunction)meth_KCategorizedView_setPositionForIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_KCategorizedView_setSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_KCategorizedView_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_KCategorizedView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_KCategorizedView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_KCategorizedView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_slotLayoutChanged), (PyCFunction)meth_KCategorizedView_slotLayoutChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_KCategorizedView_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_KCategorizedView_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_KCategorizedView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_KCategorizedView_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_KCategorizedView_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_KCategorizedView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_KCategorizedView_updateGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_KCategorizedView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_KCategorizedView_verticalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_KCategorizedView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_KCategorizedView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_KCategorizedView_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_KCategorizedView_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportMargins), (PyCFunction)meth_KCategorizedView_viewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_KCategorizedView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_KCategorizedView_visualRect, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_KCategorizedView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_KCategorizedView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


static pyqt5ClassPluginDef plugin_KCategorizedView = {
    & ::KCategorizedView::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_KItemViews_KCategorizedView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_KCategorizedView,
        {0},
        &plugin_KCategorizedView
    },
    {
        sipNameNr_KCategorizedView,
        {0, 0, 1},
        108, methods_KCategorizedView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_KCategorizedView,
    0,
    init_type_KCategorizedView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KCategorizedView,
    0,
    0,
    0,
    release_KCategorizedView,
    cast_KCategorizedView,
    0,
    0,
    0,
    0,
    0,
    0
};
