/*
 * Module code.
 *
 * Generated by SIP 4.10.2 on Sun Jul 11 10:06:34 2010
 */

#include "sipAPIakonadi.h"

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entitymimetypefiltermodel.sip"
#include <akonadi/entitymimetypefiltermodel.h>
#line 12 "sipakonadipart4.cpp"

#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 19 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 22 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 25 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 28 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31 "sipakonadipart4.cpp"
#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entitytreemodel.sip"
#include <akonadi/entitytreemodel.h>
#line 34 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 37 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 40 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 46 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 49 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 52 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 55 "sipakonadipart4.cpp"
#line 155 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 58 "sipakonadipart4.cpp"
#line 128 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 61 "sipakonadipart4.cpp"
#line 149 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 64 "sipakonadipart4.cpp"
#line 131 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 67 "sipakonadipart4.cpp"
#line 149 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qmap.h>
#line 70 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 73 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 76 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 79 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 82 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 85 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 88 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 91 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 94 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97 "sipakonadipart4.cpp"


class sipAkonadi_EntityMimeTypeFilterModel : public Akonadi::EntityMimeTypeFilterModel
{
public:
    sipAkonadi_EntityMimeTypeFilterModel(QObject *);
    virtual ~sipAkonadi_EntityMimeTypeFilterModel();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_encodeData(const QModelIndexList&,QDataStream&) const;
    bool sipProtect_decodeData(int,int,const QModelIndex&,QDataStream&);
    void sipProtect_beginInsertRows(const QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
    QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_reset();
    void sipProtect_changePersistentIndex(const QModelIndex&,const QModelIndex&);
    void sipProtect_changePersistentIndexList(const QModelIndexList&,const QModelIndexList&);
    QModelIndex sipProtect_createIndex(int,int,void *) const;
    bool sipProtect_beginMoveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_setRoleNames(const QHash<int,QByteArray>&);
    bool sipProtectVirt_filterAcceptsColumn(bool,int,const QModelIndex&) const;
    void sipProtect_filterChanged();
    bool sipProtectVirt_lessThan(bool,const QModelIndex&,const QModelIndex&) const;
    void sipProtect_invalidateFilter();
    bool sipProtectVirt_filterAcceptsRow(bool,int,const QModelIndex&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QVariant headerData(int,Qt::Orientation,int) const;
    bool hasChildren(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    int columnCount(const QModelIndex&) const;
    bool filterAcceptsRow(int,const QModelIndex&) const;
    void setSourceModel(QAbstractItemModel *);
    QModelIndex mapToSource(const QModelIndex&) const;
    QModelIndex mapFromSource(const QModelIndex&) const;
    QItemSelection mapSelectionToSource(const QItemSelection&) const;
    QItemSelection mapSelectionFromSource(const QItemSelection&) const;
    bool filterAcceptsColumn(int,const QModelIndex&) const;
    bool lessThan(const QModelIndex&,const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QMimeData * mimeData(const QModelIndexList&) const;
    bool dropMimeData(const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    void fetchMore(const QModelIndex&);
    Qt::ItemFlags flags(const QModelIndex&) const;
    QModelIndex buddy(const QModelIndex&) const;
    QSize span(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    QStringList mimeTypes() const;
    Qt::DropActions supportedDropActions() const;
    QVariant data(const QModelIndex&,int) const;
    bool submit();
    void revert();
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[43];
};

sipAkonadi_EntityMimeTypeFilterModel::sipAkonadi_EntityMimeTypeFilterModel(QObject *a0): Akonadi::EntityMimeTypeFilterModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_EntityMimeTypeFilterModel::~sipAkonadi_EntityMimeTypeFilterModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_EntityMimeTypeFilterModel::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_EntityMimeTypeFilterModel);
}

int sipAkonadi_EntityMimeTypeFilterModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::EntityMimeTypeFilterModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_EntityMimeTypeFilterModel,_c,_id,_a);

    return _id;
}

void *sipAkonadi_EntityMimeTypeFilterModel::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_EntityMimeTypeFilterModel,_clname)) ? this : Akonadi::EntityMimeTypeFilterModel::qt_metacast(_clname);
}

QVariant sipAkonadi_EntityMimeTypeFilterModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_headerData);

    if (!meth)
        return Akonadi::EntityMimeTypeFilterModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *,int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_akonadi_QtCore->em_virthandlers[58]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_EntityMimeTypeFilterModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_hasChildren);

    if (!meth)
        return Akonadi::EntityMimeTypeFilterModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_akonadi_QtCore->em_virthandlers[42]))(sipGILState,meth,a0);
}

bool sipAkonadi_EntityMimeTypeFilterModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_canFetchMore);

    if (!meth)
        return Akonadi::EntityMimeTypeFilterModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_akonadi_QtCore->em_virthandlers[42]))(sipGILState,meth,a0);
}

QModelIndexList sipAkonadi_EntityMimeTypeFilterModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return Akonadi::EntityMimeTypeFilterModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t,PyObject *,const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_akonadi_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

int sipAkonadi_EntityMimeTypeFilterModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_columnCount);

    if (!meth)
        return Akonadi::EntityMimeTypeFilterModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_akonadi_QtCore->em_virthandlers[43]))(sipGILState,meth,a0);
}

bool sipAkonadi_EntityMimeTypeFilterModel::filterAcceptsRow(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t,PyObject *,int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_akonadi_QtGui->em_virthandlers[114]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_EntityMimeTypeFilterModel::setSourceModel(QAbstractItemModel *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setSourceModel);

    if (!meth)
    {
        QSortFilterProxyModel::setSourceModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t,PyObject *,QAbstractItemModel *);

    ((sipVH_QtGui_36)(sipModuleAPI_akonadi_QtGui->em_virthandlers[36]))(sipGILState,meth,a0);
}

QModelIndex sipAkonadi_EntityMimeTypeFilterModel::mapToSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QSortFilterProxyModel::mapToSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_akonadi_QtCore->em_virthandlers[44]))(sipGILState,meth,a0);
}

QModelIndex sipAkonadi_EntityMimeTypeFilterModel::mapFromSource(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QSortFilterProxyModel::mapFromSource(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_akonadi_QtCore->em_virthandlers[44]))(sipGILState,meth,a0);
}

QItemSelection sipAkonadi_EntityMimeTypeFilterModel::mapSelectionToSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_mapSelectionToSource);

    if (!meth)
        return QSortFilterProxyModel::mapSelectionToSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t,PyObject *,const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_akonadi_QtGui->em_virthandlers[115]))(sipGILState,meth,a0);
}

QItemSelection sipAkonadi_EntityMimeTypeFilterModel::mapSelectionFromSource(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QSortFilterProxyModel::mapSelectionFromSource(a0);

    typedef QItemSelection (*sipVH_QtGui_115)(sip_gilstate_t,PyObject *,const QItemSelection&);

    return ((sipVH_QtGui_115)(sipModuleAPI_akonadi_QtGui->em_virthandlers[115]))(sipGILState,meth,a0);
}

bool sipAkonadi_EntityMimeTypeFilterModel::filterAcceptsColumn(int a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QSortFilterProxyModel::filterAcceptsColumn(a0,a1);

    typedef bool (*sipVH_QtGui_114)(sip_gilstate_t,PyObject *,int,const QModelIndex&);

    return ((sipVH_QtGui_114)(sipModuleAPI_akonadi_QtGui->em_virthandlers[114]))(sipGILState,meth,a0,a1);
}

bool sipAkonadi_EntityMimeTypeFilterModel::lessThan(const QModelIndex& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QSortFilterProxyModel::lessThan(a0,a1);

    typedef bool (*sipVH_QtGui_113)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    return ((sipVH_QtGui_113)(sipModuleAPI_akonadi_QtGui->em_virthandlers[113]))(sipGILState,meth,a0,a1);
}

QModelIndex sipAkonadi_EntityMimeTypeFilterModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_index);

    if (!meth)
        return QSortFilterProxyModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_akonadi_QtCore->em_virthandlers[46]))(sipGILState,meth,a0,a1,a2);
}

QModelIndex sipAkonadi_EntityMimeTypeFilterModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_parent);

    if (!meth)
        return QSortFilterProxyModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_akonadi_QtCore->em_virthandlers[44]))(sipGILState,meth,a0);
}

int sipAkonadi_EntityMimeTypeFilterModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_rowCount);

    if (!meth)
        return QSortFilterProxyModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_akonadi_QtCore->em_virthandlers[43]))(sipGILState,meth,a0);
}

bool sipAkonadi_EntityMimeTypeFilterModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setData);

    if (!meth)
        return QSortFilterProxyModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t,PyObject *,const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_akonadi_QtCore->em_virthandlers[59]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_EntityMimeTypeFilterModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_setHeaderData);

    if (!meth)
        return QSortFilterProxyModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t,PyObject *,int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_akonadi_QtCore->em_virthandlers[57]))(sipGILState,meth,a0,a1,a2,a3);
}

QMimeData * sipAkonadi_EntityMimeTypeFilterModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_mimeData);

    if (!meth)
        return QSortFilterProxyModel::mimeData(a0);

    typedef QMimeData * (*sipVH_QtCore_54)(sip_gilstate_t,PyObject *,const QList<QModelIndex>&);

    return ((sipVH_QtCore_54)(sipModuleAPI_akonadi_QtCore->em_virthandlers[54]))(sipGILState,meth,a0);
}

bool sipAkonadi_EntityMimeTypeFilterModel::dropMimeData(const QMimeData *a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dropMimeData);

    if (!meth)
        return QSortFilterProxyModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t,PyObject *,const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_akonadi_QtCore->em_virthandlers[45]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

bool sipAkonadi_EntityMimeTypeFilterModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_insertRows);

    if (!meth)
        return QSortFilterProxyModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_EntityMimeTypeFilterModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_insertColumns);

    if (!meth)
        return QSortFilterProxyModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_EntityMimeTypeFilterModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_removeRows);

    if (!meth)
        return QSortFilterProxyModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_EntityMimeTypeFilterModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_removeColumns);

    if (!meth)
        return QSortFilterProxyModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_EntityMimeTypeFilterModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_fetchMore);

    if (!meth)
    {
        QSortFilterProxyModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t,PyObject *,const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_akonadi_QtCore->em_virthandlers[51]))(sipGILState,meth,a0);
}

Qt::ItemFlags sipAkonadi_EntityMimeTypeFilterModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_flags);

    if (!meth)
        return QSortFilterProxyModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_akonadi_QtCore->em_virthandlers[50]))(sipGILState,meth,a0);
}

QModelIndex sipAkonadi_EntityMimeTypeFilterModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_buddy);

    if (!meth)
        return QSortFilterProxyModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_akonadi_QtCore->em_virthandlers[44]))(sipGILState,meth,a0);
}

QSize sipAkonadi_EntityMimeTypeFilterModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_span);

    if (!meth)
        return QSortFilterProxyModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_akonadi_QtCore->em_virthandlers[47]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityMimeTypeFilterModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_sort);

    if (!meth)
    {
        QSortFilterProxyModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t,PyObject *,int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_akonadi_QtCore->em_virthandlers[49]))(sipGILState,meth,a0,a1);
}

QStringList sipAkonadi_EntityMimeTypeFilterModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_mimeTypes);

    if (!meth)
        return QSortFilterProxyModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_akonadi_QtCore->em_virthandlers[27]))(sipGILState,meth);
}

Qt::DropActions sipAkonadi_EntityMimeTypeFilterModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!meth)
        return QSortFilterProxyModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_akonadi_QtCore->em_virthandlers[53]))(sipGILState,meth);
}

QVariant sipAkonadi_EntityMimeTypeFilterModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_data);

    if (!meth)
        return QSortFilterProxyModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t,PyObject *,const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_akonadi_QtCore->em_virthandlers[60]))(sipGILState,meth,a0,a1);
}

bool sipAkonadi_EntityMimeTypeFilterModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_submit);

    if (!meth)
        return QAbstractProxyModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_akonadi_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

void sipAkonadi_EntityMimeTypeFilterModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_revert);

    if (!meth)
    {
        QAbstractProxyModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

QMap<int,QVariant> sipAkonadi_EntityMimeTypeFilterModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractProxyModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_akonadi_QtCore->em_virthandlers[56]))(sipGILState,meth,a0);
}

bool sipAkonadi_EntityMimeTypeFilterModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setItemData);

    if (!meth)
        return QAbstractItemModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t,PyObject *,const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_akonadi_QtCore->em_virthandlers[55]))(sipGILState,meth,a0,a1);
}

bool sipAkonadi_EntityMimeTypeFilterModel::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_EntityMimeTypeFilterModel::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityMimeTypeFilterModel::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityMimeTypeFilterModel::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityMimeTypeFilterModel::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityMimeTypeFilterModel::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

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

void sipAkonadi_EntityMimeTypeFilterModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_encodeData(const QModelIndexList& a0,QDataStream& a1) const
{
    QAbstractItemModel::encodeData(a0,a1);
}

bool sipAkonadi_EntityMimeTypeFilterModel::sipProtect_decodeData(int a0,int a1,const QModelIndex& a2,QDataStream& a3)
{
    return QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_beginInsertRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_endInsertRows()
{
    QAbstractItemModel::endInsertRows();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_beginRemoveRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_endRemoveRows()
{
    QAbstractItemModel::endRemoveRows();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_beginInsertColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_endInsertColumns()
{
    QAbstractItemModel::endInsertColumns();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_beginRemoveColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_endRemoveColumns()
{
    QAbstractItemModel::endRemoveColumns();
}

QModelIndexList sipAkonadi_EntityMimeTypeFilterModel::sipProtect_persistentIndexList() const
{
    return QAbstractItemModel::persistentIndexList();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_reset()
{
    QAbstractItemModel::reset();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_changePersistentIndex(const QModelIndex& a0,const QModelIndex& a1)
{
    QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_changePersistentIndexList(const QModelIndexList& a0,const QModelIndexList& a1)
{
    QAbstractItemModel::changePersistentIndexList(a0,a1);
}

QModelIndex sipAkonadi_EntityMimeTypeFilterModel::sipProtect_createIndex(int a0,int a1,void *a2) const
{
    return QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipAkonadi_EntityMimeTypeFilterModel::sipProtect_beginMoveRows(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_endMoveRows()
{
    QAbstractItemModel::endMoveRows();
}

bool sipAkonadi_EntityMimeTypeFilterModel::sipProtect_beginMoveColumns(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_endMoveColumns()
{
    QAbstractItemModel::endMoveColumns();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_beginResetModel()
{
    QAbstractItemModel::beginResetModel();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_endResetModel()
{
    QAbstractItemModel::endResetModel();
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_setRoleNames(const QHash<int,QByteArray>& a0)
{
    QAbstractItemModel::setRoleNames(a0);
}

bool sipAkonadi_EntityMimeTypeFilterModel::sipProtectVirt_filterAcceptsColumn(bool sipSelfWasArg,int a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? QSortFilterProxyModel::filterAcceptsColumn(a0,a1) : filterAcceptsColumn(a0,a1));
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_filterChanged()
{
    QSortFilterProxyModel::filterChanged();
}

bool sipAkonadi_EntityMimeTypeFilterModel::sipProtectVirt_lessThan(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? QSortFilterProxyModel::lessThan(a0,a1) : lessThan(a0,a1));
}

void sipAkonadi_EntityMimeTypeFilterModel::sipProtect_invalidateFilter()
{
    QSortFilterProxyModel::invalidateFilter();
}

bool sipAkonadi_EntityMimeTypeFilterModel::sipProtectVirt_filterAcceptsRow(bool sipSelfWasArg,int a0,const QModelIndex& a1) const
{
    return (sipSelfWasArg ? Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow(a0,a1) : filterAcceptsRow(a0,a1));
}


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

    {
        char * a0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 1104 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndexList * a0;
        int a0State = 0;
        QDataStream * a1;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_encodeData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        const QModelIndex * a2;
        QDataStream * a3;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9J9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            QModelIndexList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndexList * a0;
        int a0State = 0;
        const QModelIndexList * a1;
        int a1State = 0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast<QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|P0", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0, &a1, &a2))
        {
            QModelIndex *sipRes = 0;

#line 224 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 1698 "sipakonadipart4.cpp"

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

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        const QModelIndex * a3;
        int a4;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iiJ9i", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        const QModelIndex * a3;
        int a4;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iiJ9i", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QHash<int,QByteArray> * a0;
        int a0State = 0;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QHash_1800_0100QByteArray,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRoleNames(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QHash<int,QByteArray> *>(a0),sipType_QHash_1800_0100QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QModelIndex * a1;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_filterAcceptsColumn(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_filterChanged();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_lessThan(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_invalidateFilter();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMimeTypeInclusionFilters(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QStringList * a0;
        int a0State = 0;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMimeTypeExclusionFilters(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mimeTypeInclusionFilters());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mimeTypeExclusionFilters());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMimeTypeInclusionFilter(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->addMimeTypeExclusionFilter(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clearFilters();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Akonadi::EntityTreeModel::HeaderGroup a0;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_Akonadi_EntityTreeModel_HeaderGroup, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setHeaderGroup(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE|i", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->Akonadi::EntityMimeTypeFilterModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Akonadi::EntityMimeTypeFilterModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Akonadi::EntityMimeTypeFilterModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        const QVariant * a2;
        int a2State = 0;
        int a3 = 1;
        Qt::MatchFlags a4def = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap);
        Qt::MatchFlags * a4 = &a4def;
        int a4State = 0;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ1|iJ1", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0, &a1, sipType_QVariant,&a2, &a2State, &a3, sipType_Qt_MatchFlags, &a4, &a4State))
        {
            QModelIndexList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList((sipSelfWasArg ? sipCpp->Akonadi::EntityMimeTypeFilterModel::match(*a0,a1,*a2,a3,*a4) : sipCpp->match(*a0,a1,*a2,a3,*a4)));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);
            sipReleaseType(a4,sipType_Qt_MatchFlags,a4State);

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

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

    return NULL;
}


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

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        Akonadi::EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Akonadi::EntityMimeTypeFilterModel::columnCount(*a0) : sipCpp->columnCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        const QModelIndex * a1;
        sipAkonadi_EntityMimeTypeFilterModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_Akonadi_EntityMimeTypeFilterModel, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_filterAcceptsRow(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_EntityMimeTypeFilterModel(void *, const sipTypeDef *);}
static void *cast_Akonadi_EntityMimeTypeFilterModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_EntityMimeTypeFilterModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QSortFilterProxyModel)->ctd_cast((QSortFilterProxyModel *)(Akonadi::EntityMimeTypeFilterModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_EntityMimeTypeFilterModel(void *, int);}
static void release_Akonadi_EntityMimeTypeFilterModel(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_EntityMimeTypeFilterModel *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::EntityMimeTypeFilterModel *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_EntityMimeTypeFilterModel(sipSimpleWrapper *);}
static void dealloc_Akonadi_EntityMimeTypeFilterModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_EntityMimeTypeFilterModel *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_EntityMimeTypeFilterModel(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_EntityMimeTypeFilterModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_EntityMimeTypeFilterModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipAkonadi_EntityMimeTypeFilterModel *sipCpp = 0;

    {
        QObject * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_EntityMimeTypeFilterModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_EntityMimeTypeFilterModel[] = {{445, 2, 1}};


static PyMethodDef methods_Akonadi_EntityMimeTypeFilterModel[] = {
    {SIP_MLNAME_CAST(sipName_addMimeTypeExclusionFilter), meth_Akonadi_EntityMimeTypeFilterModel_addMimeTypeExclusionFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addMimeTypeExclusionFilters), meth_Akonadi_EntityMimeTypeFilterModel_addMimeTypeExclusionFilters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addMimeTypeInclusionFilter), meth_Akonadi_EntityMimeTypeFilterModel_addMimeTypeInclusionFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_addMimeTypeInclusionFilters), meth_Akonadi_EntityMimeTypeFilterModel_addMimeTypeInclusionFilters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), meth_Akonadi_EntityMimeTypeFilterModel_beginInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), meth_Akonadi_EntityMimeTypeFilterModel_beginInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), meth_Akonadi_EntityMimeTypeFilterModel_beginMoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), meth_Akonadi_EntityMimeTypeFilterModel_beginMoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), meth_Akonadi_EntityMimeTypeFilterModel_beginRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), meth_Akonadi_EntityMimeTypeFilterModel_beginRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), meth_Akonadi_EntityMimeTypeFilterModel_beginResetModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_Akonadi_EntityMimeTypeFilterModel_canFetchMore, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), meth_Akonadi_EntityMimeTypeFilterModel_changePersistentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), meth_Akonadi_EntityMimeTypeFilterModel_changePersistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_EntityMimeTypeFilterModel_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearFilters), meth_Akonadi_EntityMimeTypeFilterModel_clearFilters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_Akonadi_EntityMimeTypeFilterModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_EntityMimeTypeFilterModel_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), meth_Akonadi_EntityMimeTypeFilterModel_createIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_EntityMimeTypeFilterModel_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), meth_Akonadi_EntityMimeTypeFilterModel_decodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_EntityMimeTypeFilterModel_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeData), meth_Akonadi_EntityMimeTypeFilterModel_encodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), meth_Akonadi_EntityMimeTypeFilterModel_endInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), meth_Akonadi_EntityMimeTypeFilterModel_endInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), meth_Akonadi_EntityMimeTypeFilterModel_endMoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), meth_Akonadi_EntityMimeTypeFilterModel_endMoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), meth_Akonadi_EntityMimeTypeFilterModel_endRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), meth_Akonadi_EntityMimeTypeFilterModel_endRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), meth_Akonadi_EntityMimeTypeFilterModel_endResetModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterAcceptsColumn), meth_Akonadi_EntityMimeTypeFilterModel_filterAcceptsColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterAcceptsRow), meth_Akonadi_EntityMimeTypeFilterModel_filterAcceptsRow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_filterChanged), meth_Akonadi_EntityMimeTypeFilterModel_filterChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasChildren), meth_Akonadi_EntityMimeTypeFilterModel_hasChildren, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), meth_Akonadi_EntityMimeTypeFilterModel_headerData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_invalidateFilter), meth_Akonadi_EntityMimeTypeFilterModel_invalidateFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_lessThan), meth_Akonadi_EntityMimeTypeFilterModel_lessThan, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_match), meth_Akonadi_EntityMimeTypeFilterModel_match, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypeExclusionFilters), meth_Akonadi_EntityMimeTypeFilterModel_mimeTypeExclusionFilters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypeInclusionFilters), meth_Akonadi_EntityMimeTypeFilterModel_mimeTypeInclusionFilters, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), meth_Akonadi_EntityMimeTypeFilterModel_persistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_EntityMimeTypeFilterModel_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_Akonadi_EntityMimeTypeFilterModel_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHeaderGroup), meth_Akonadi_EntityMimeTypeFilterModel_setHeaderGroup, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRoleNames), meth_Akonadi_EntityMimeTypeFilterModel_setRoleNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_EntityMimeTypeFilterModel_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_EntityMimeTypeFilterModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__EntityMimeTypeFilterModel,
        {0}
    },
    {
        sipNameNr_EntityMimeTypeFilterModel,
        {0, 255, 0},
        46, methods_Akonadi_EntityMimeTypeFilterModel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_EntityMimeTypeFilterModel,
    0,
    init_Akonadi_EntityMimeTypeFilterModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_EntityMimeTypeFilterModel,
    0,
    0,
    0,
    release_Akonadi_EntityMimeTypeFilterModel,
    cast_Akonadi_EntityMimeTypeFilterModel,
    0,
    0,
    0
},
    &Akonadi::EntityMimeTypeFilterModel::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entitylistview.sip"
#include <akonadi/entitylistview.h>
#line 2605 "sipakonadipart4.cpp"

#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2609 "sipakonadipart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 2612 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2615 "sipakonadipart4.cpp"
#line 490 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2618 "sipakonadipart4.cpp"
#line 565 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2621 "sipakonadipart4.cpp"
#line 590 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2624 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collection.sip"
#include <akonadi/collection.h>
#line 2627 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/item.sip"
#include <akonadi/item.h>
#line 2630 "sipakonadipart4.cpp"
#line 128 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 2633 "sipakonadipart4.cpp"
#line 155 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 2636 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 2639 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2642 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 2645 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 2648 "sipakonadipart4.cpp"
#line 82 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 2651 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2654 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 2657 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2660 "sipakonadipart4.cpp"
#line 399 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2663 "sipakonadipart4.cpp"
#line 1029 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 2666 "sipakonadipart4.cpp"
#line 619 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2669 "sipakonadipart4.cpp"
#line 428 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2672 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2675 "sipakonadipart4.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2678 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2681 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qlistview.sip"
#include <qlistview.h>
#line 2684 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 2687 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2690 "sipakonadipart4.cpp"
#line 520 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 539 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2695 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2698 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 2701 "sipakonadipart4.cpp"
#line 350 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2704 "sipakonadipart4.cpp"
#line 379 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2707 "sipakonadipart4.cpp"
#line 607 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2710 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2713 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2716 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 2719 "sipakonadipart4.cpp"
#line 82 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 2722 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2725 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2728 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 2731 "sipakonadipart4.cpp"
#line 279 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2734 "sipakonadipart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 2737 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 2740 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qframe.sip"
#include <qframe.h>
#line 2743 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2746 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2749 "sipakonadipart4.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 2752 "sipakonadipart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 2755 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 2758 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 2761 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2764 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 2767 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 2770 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 2773 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 2776 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2779 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 2782 "sipakonadipart4.cpp"
#line 478 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2785 "sipakonadipart4.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2788 "sipakonadipart4.cpp"
#line 675 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2791 "sipakonadipart4.cpp"
#line 301 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2794 "sipakonadipart4.cpp"
#line 442 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2797 "sipakonadipart4.cpp"
#line 414 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 2800 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 2803 "sipakonadipart4.cpp"
#line 68 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 2806 "sipakonadipart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 2809 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2812 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 2815 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 2818 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 2821 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 2824 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 2827 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 2830 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 2833 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 2836 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 2839 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2842 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2845 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 2848 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 2851 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 2854 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 2857 "sipakonadipart4.cpp"


class sipAkonadi_EntityListView : public Akonadi::EntityListView
{
public:
    sipAkonadi_EntityListView(QWidget *);
    sipAkonadi_EntityListView(KXMLGUIClient *,QWidget *);
    virtual ~sipAkonadi_EntityListView();

    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.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(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_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtect_drawFrame(QPainter *);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtect_setupViewport(QWidget *);
    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 *);
    void sipProtect_setHorizontalStepsPerItem(int);
    int sipProtect_horizontalStepsPerItem() const;
    void sipProtect_setVerticalStepsPerItem(int);
    int sipProtect_verticalStepsPerItem() const;
    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_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    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);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    QRect sipProtect_rectForIndex(const QModelIndex&) const;
    void sipProtect_setPositionForIndex(const QPoint&,const QModelIndex&);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_updateGeometries(bool);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_startDrag(bool,Qt::DropActions);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[87];
};

sipAkonadi_EntityListView::sipAkonadi_EntityListView(QWidget *a0): Akonadi::EntityListView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_EntityListView::sipAkonadi_EntityListView(KXMLGUIClient *a0,QWidget *a1): Akonadi::EntityListView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_EntityListView::~sipAkonadi_EntityListView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_EntityListView::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_EntityListView);
}

int sipAkonadi_EntityListView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::EntityListView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_EntityListView,_c,_id,_a);

    return _id;
}

void *sipAkonadi_EntityListView::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_EntityListView,_clname)) ? this : Akonadi::EntityListView::qt_metacast(_clname);
}

void sipAkonadi_EntityListView::setModel(QAbstractItemModel *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setModel);

    if (!meth)
    {
        Akonadi::EntityListView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t,PyObject *,QAbstractItemModel *);

    ((sipVH_QtGui_36)(sipModuleAPI_akonadi_QtGui->em_virthandlers[36]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        Akonadi::EntityListView::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    ((sipVH_QtGui_17)(sipModuleAPI_akonadi_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        Akonadi::EntityListView::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QDropEvent *);

    ((sipVH_QtGui_15)(sipModuleAPI_akonadi_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        Akonadi::EntityListView::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    ((sipVH_QtGui_21)(sipModuleAPI_akonadi_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        Akonadi::EntityListView::startDrag(a0);
        return;
    }

    typedef void (*sipVH_QtGui_153)(sip_gilstate_t,PyObject *,Qt::DropActions);

    ((sipVH_QtGui_153)(sipModuleAPI_akonadi_QtGui->em_virthandlers[153]))(sipGILState,meth,a0);
}

QRect sipAkonadi_EntityListView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::visualRect(a0);

    typedef QRect (*sipVH_QtGui_56)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtGui_56)(sipModuleAPI_akonadi_QtGui->em_virthandlers[56]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_scrollTo);

    if (!meth)
    {
        QListView::scrollTo(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_55)(sip_gilstate_t,PyObject *,const QModelIndex&,QAbstractItemView::ScrollHint);

    ((sipVH_QtGui_55)(sipModuleAPI_akonadi_QtGui->em_virthandlers[55]))(sipGILState,meth,a0,a1);
}

QModelIndex sipAkonadi_EntityListView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::indexAt(a0);

    typedef QModelIndex (*sipVH_QtGui_54)(sip_gilstate_t,PyObject *,const QPoint&);

    return ((sipVH_QtGui_54)(sipModuleAPI_akonadi_QtGui->em_virthandlers[54]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::doItemsLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_doItemsLayout);

    if (!meth)
    {
        QListView::doItemsLayout();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_reset);

    if (!meth)
    {
        QListView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setRootIndex);

    if (!meth)
    {
        QListView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t,PyObject *,const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_akonadi_QtCore->em_virthandlers[51]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!meth)
    {
        QListView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t,PyObject *,int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_akonadi_QtGui->em_virthandlers[32]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_EntityListView::dataChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dataChanged);

    if (!meth)
    {
        QListView::dataChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_akonadi_QtGui->em_virthandlers[45]))(sipGILState,meth,a0,a1);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_rowsInserted);

    if (!meth)
    {
        QListView::rowsInserted(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t,PyObject *,const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_akonadi_QtGui->em_virthandlers[53]))(sipGILState,meth,a0,a1,a2);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!meth)
    {
        QListView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t,PyObject *,const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_akonadi_QtGui->em_virthandlers[53]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_EntityListView::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QListView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QListView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QListView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QListView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QListView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    ((sipVH_QtGui_2)(sipModuleAPI_akonadi_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QListView::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    ((sipVH_QtGui_16)(sipModuleAPI_akonadi_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

QStyleOptionViewItem sipAkonadi_EntityListView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::viewOptions();

    typedef QStyleOptionViewItem (*sipVH_QtGui_71)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_71)(sipModuleAPI_akonadi_QtGui->em_virthandlers[71]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QListView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    ((sipVH_QtGui_3)(sipModuleAPI_akonadi_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

int sipAkonadi_EntityListView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_akonadi_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

int sipAkonadi_EntityListView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_akonadi_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveCursor);

    if (!meth)
        return QListView::moveCursor(a0,a1);

    typedef QModelIndex (*sipVH_QtGui_52)(sip_gilstate_t,PyObject *,int,Qt::KeyboardModifiers);

    return ((sipVH_QtGui_52)(sipModuleAPI_akonadi_QtGui->em_virthandlers[52]))(sipGILState,meth,(int)a0,a1);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setSelection);

    if (!meth)
    {
        QListView::setSelection(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_51)(sip_gilstate_t,PyObject *,const QRect&,QItemSelectionModel::SelectionFlags);

    ((sipVH_QtGui_51)(sipModuleAPI_akonadi_QtGui->em_virthandlers[51]))(sipGILState,meth,a0,a1);
}

QRegion sipAkonadi_EntityListView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::visualRegionForSelection(a0);

    typedef QRegion (*sipVH_QtGui_50)(sip_gilstate_t,PyObject *,const QItemSelection&);

    return ((sipVH_QtGui_50)(sipModuleAPI_akonadi_QtGui->em_virthandlers[50]))(sipGILState,meth,a0);
}

QModelIndexList sipAkonadi_EntityListView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::selectedIndexes();

    typedef QList<QModelIndex> (*sipVH_QtGui_49)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_49)(sipModuleAPI_akonadi_QtGui->em_virthandlers[49]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_updateGeometries);

    if (!meth)
    {
        QListView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipAkonadi_EntityListView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QListView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_akonadi_QtCore->em_virthandlers[42]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_selectionChanged);

    if (!meth)
    {
        QListView::selectionChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_46)(sip_gilstate_t,PyObject *,const QItemSelection&,const QItemSelection&);

    ((sipVH_QtGui_46)(sipModuleAPI_akonadi_QtGui->em_virthandlers[46]))(sipGILState,meth,a0,a1);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_currentChanged);

    if (!meth)
    {
        QListView::currentChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_akonadi_QtGui->em_virthandlers[45]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_EntityListView::setSelectionModel(QItemSelectionModel *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_setSelectionModel);

    if (!meth)
    {
        QAbstractItemView::setSelectionModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_37)(sip_gilstate_t,PyObject *,QItemSelectionModel *);

    ((sipVH_QtGui_37)(sipModuleAPI_akonadi_QtGui->em_virthandlers[37]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyboardSearch);

    if (!meth)
    {
        QAbstractItemView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_akonadi_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

int sipAkonadi_EntityListView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractItemView::sizeHintForRow(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_akonadi_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

int sipAkonadi_EntityListView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractItemView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_akonadi_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_selectAll);

    if (!meth)
    {
        QAbstractItemView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_updateEditorData);

    if (!meth)
    {
        QAbstractItemView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!meth)
    {
        QAbstractItemView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!meth)
    {
        QAbstractItemView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!meth)
    {
        QAbstractItemView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!meth)
    {
        QAbstractItemView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!meth)
    {
        QAbstractItemView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_closeEditor);

    if (!meth)
    {
        QAbstractItemView::closeEditor(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_236)(sip_gilstate_t,PyObject *,QWidget *,QAbstractItemDelegate::EndEditHint);

    ((sipVH_QtGui_236)(sipModuleAPI_akonadi_QtGui->em_virthandlers[236]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_EntityListView::commitData(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_commitData);

    if (!meth)
    {
        QAbstractItemView::commitData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_akonadi_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::editorDestroyed(QObject *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_editorDestroyed);

    if (!meth)
    {
        QAbstractItemView::editorDestroyed(a0);
        return;
    }

    typedef void (*sipVH_QtGui_235)(sip_gilstate_t,PyObject *,QObject *);

    ((sipVH_QtGui_235)(sipModuleAPI_akonadi_QtGui->em_virthandlers[235]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_edit);

    if (!meth)
        return QAbstractItemView::edit(a0,a1,a2);

    typedef bool (*sipVH_QtGui_234)(sip_gilstate_t,PyObject *,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent *);

    return ((sipVH_QtGui_234)(sipModuleAPI_akonadi_QtGui->em_virthandlers[234]))(sipGILState,meth,a0,a1,a2);
}

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

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

    if (!meth)
        return QAbstractItemView::selectionCommand(a0,a1);

    typedef QItemSelectionModel::SelectionFlags (*sipVH_QtGui_233)(sip_gilstate_t,PyObject *,const QModelIndex&,const QEvent *);

    return ((sipVH_QtGui_233)(sipModuleAPI_akonadi_QtGui->em_virthandlers[233]))(sipGILState,meth,a0,a1);
}

bool sipAkonadi_EntityListView::viewportEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_viewportEvent);

    if (!meth)
        return QAbstractItemView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QAbstractItemView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QAbstractItemView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QAbstractItemView::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    ((sipVH_QtGui_18)(sipModuleAPI_akonadi_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QAbstractItemView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_akonadi_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QAbstractItemView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_akonadi_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QAbstractItemView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_akonadi_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

QVariant sipAkonadi_EntityListView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractItemView::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_akonadi_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

bool sipAkonadi_EntityListView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QAbstractItemView::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_akonadi_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QAbstractItemView::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_akonadi_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

QSize sipAkonadi_EntityListView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractScrollArea::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_akonadi_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipAkonadi_EntityListView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractScrollArea::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_akonadi_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QAbstractScrollArea::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    ((sipVH_QtGui_5)(sipModuleAPI_akonadi_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QFrame::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

int sipAkonadi_EntityListView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_akonadi_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

int sipAkonadi_EntityListView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_akonadi_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

QPaintEngine * sipAkonadi_EntityListView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    typedef QPaintEngine * (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_akonadi_QtGui->em_virthandlers[27]))(sipGILState,meth);
}

void sipAkonadi_EntityListView::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_akonadi_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QMoveEvent *);

    ((sipVH_QtGui_23)(sipModuleAPI_akonadi_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_akonadi_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QTabletEvent *);

    ((sipVH_QtGui_20)(sipModuleAPI_akonadi_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QActionEvent *);

    ((sipVH_QtGui_19)(sipModuleAPI_akonadi_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_akonadi_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_akonadi_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

int sipAkonadi_EntityListView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_akonadi_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_akonadi_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t,PyObject *,const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_akonadi_QtGui->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_EntityListView::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_EntityListView::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

void sipAkonadi_EntityListView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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

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

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

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

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

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

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

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

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

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

void sipAkonadi_EntityListView::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

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

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

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

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

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

void sipAkonadi_EntityListView::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

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

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

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

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

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

void sipAkonadi_EntityListView::sipProtect_setupViewport(QWidget *a0)
{
    QAbstractScrollArea::setupViewport(a0);
}

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

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

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

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

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

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

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

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

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

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

void sipAkonadi_EntityListView::sipProtect_setHorizontalStepsPerItem(int a0)
{
    QAbstractItemView::setHorizontalStepsPerItem(a0);
}

int sipAkonadi_EntityListView::sipProtect_horizontalStepsPerItem() const
{
    return QAbstractItemView::horizontalStepsPerItem();
}

void sipAkonadi_EntityListView::sipProtect_setVerticalStepsPerItem(int a0)
{
    QAbstractItemView::setVerticalStepsPerItem(a0);
}

int sipAkonadi_EntityListView::sipProtect_verticalStepsPerItem() const
{
    return QAbstractItemView::verticalStepsPerItem();
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipAkonadi_EntityListView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QListView::dataChanged(a0,a1) : dataChanged(a0,a1));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipAkonadi_EntityListView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QListView::updateGeometries() : updateGeometries());
}

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

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

void sipAkonadi_EntityListView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? Akonadi::EntityListView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? Akonadi::EntityListView::dropEvent(a0) : dropEvent(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? Akonadi::EntityListView::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipAkonadi_EntityListView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? Akonadi::EntityListView::startDrag(a0) : startDrag(a0));
}


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

    {
        char * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 5117 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|mbb", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawFrame(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QMargins, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setViewportMargins(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setupViewport(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        Akonadi::EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->edit(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9EJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QObject * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHorizontalStepsPerItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_horizontalStepsPerItem();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setVerticalStepsPerItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_verticalStepsPerItem();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        const QEvent * a1 = 0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags *sipRes;

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

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

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_state();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_scheduleDelayedItemsLayout();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_executeDelayedItemsLayout();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QRegion * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QRegion, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDirtyRegion(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            QPoint *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_dropIndicatorPosition();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            QStyleOptionViewItem *sipRes;

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

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

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Qt::KeyboardModifiers * a1;
        int a1State = 0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            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_EntityListView, sipName_moveCursor, NULL);

    return NULL;
}


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

    {
        const QModelIndex * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRect(sipCpp->sipProtect_rectForIndex(*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QPoint * a0;
        const QModelIndex * a1;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QPoint, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPositionForIndex(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QRect * a0;
        QItemSelectionModel::SelectionFlags * a1;
        int a1State = 0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS
            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_EntityListView, sipName_setSelection, NULL);

    return NULL;
}


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

    {
        const QItemSelection * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            QModelIndexList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QItemSelection * a0;
        const QItemSelection * a1;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KXMLGUIClient * a0;
        Akonadi::EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_KXMLGUIClient, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setXmlGuiClient(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QAbstractItemModel * a0;
        Akonadi::EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Akonadi::EntityListView::setModel(a0) : sipCpp->setModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDropEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QContextMenuEvent * a0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Qt::DropActions * a0;
        int a0State = 0;
        sipAkonadi_EntityListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityListView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            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_EntityListView, sipName_startDrag, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_EntityListView(void *, const sipTypeDef *);}
static void *cast_Akonadi_EntityListView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_EntityListView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QListView)->ctd_cast((QListView *)(Akonadi::EntityListView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_EntityListView(void *, int);}
static void release_Akonadi_EntityListView(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_EntityListView *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::EntityListView *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_EntityListView(sipSimpleWrapper *);}
static void dealloc_Akonadi_EntityListView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_EntityListView *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_EntityListView(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_EntityListView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_EntityListView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipAkonadi_EntityListView *sipCpp = 0;

    {
        QWidget * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_EntityListView(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KXMLGUIClient * a0;
        QWidget * a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KXMLGUIClient, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_EntityListView(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_EntityListView[] = {{309, 2, 1}};


static PyMethodDef methods_Akonadi_EntityListView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Akonadi_EntityListView_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Akonadi_EntityListView_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_EntityListView_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEditor), meth_Akonadi_EntityListView_closeEditor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Akonadi_EntityListView_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), meth_Akonadi_EntityListView_commitData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_EntityListView_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Akonadi_EntityListView_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Akonadi_EntityListView_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_EntityListView_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), meth_Akonadi_EntityListView_dataChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Akonadi_EntityListView_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), meth_Akonadi_EntityListView_dirtyRegionOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_EntityListView_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Akonadi_EntityListView_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Akonadi_EntityListView_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Akonadi_EntityListView_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), meth_Akonadi_EntityListView_drawFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Akonadi_EntityListView_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), meth_Akonadi_EntityListView_dropIndicatorPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), meth_Akonadi_EntityListView_edit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), meth_Akonadi_EntityListView_editorDestroyed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Akonadi_EntityListView_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Akonadi_EntityListView_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Akonadi_EntityListView_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), meth_Akonadi_EntityListView_executeDelayedItemsLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Akonadi_EntityListView_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Akonadi_EntityListView_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Akonadi_EntityListView_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Akonadi_EntityListView_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Akonadi_EntityListView_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Akonadi_EntityListView_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Akonadi_EntityListView_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), meth_Akonadi_EntityListView_horizontalOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), meth_Akonadi_EntityListView_horizontalScrollbarAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), meth_Akonadi_EntityListView_horizontalScrollbarValueChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalStepsPerItem), meth_Akonadi_EntityListView_horizontalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Akonadi_EntityListView_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), meth_Akonadi_EntityListView_isIndexHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Akonadi_EntityListView_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Akonadi_EntityListView_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Akonadi_EntityListView_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Akonadi_EntityListView_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Akonadi_EntityListView_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Akonadi_EntityListView_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Akonadi_EntityListView_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Akonadi_EntityListView_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Akonadi_EntityListView_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), meth_Akonadi_EntityListView_moveCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Akonadi_EntityListView_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Akonadi_EntityListView_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Akonadi_EntityListView_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_EntityListView_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rectForIndex), meth_Akonadi_EntityListView_rectForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Akonadi_EntityListView_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Akonadi_EntityListView_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), meth_Akonadi_EntityListView_rowsAboutToBeRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), meth_Akonadi_EntityListView_rowsInserted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), meth_Akonadi_EntityListView_scheduleDelayedItemsLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), meth_Akonadi_EntityListView_scrollContentsBy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), meth_Akonadi_EntityListView_scrollDirtyRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), meth_Akonadi_EntityListView_selectedIndexes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionChanged), meth_Akonadi_EntityListView_selectionChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), meth_Akonadi_EntityListView_selectionCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), meth_Akonadi_EntityListView_setDirtyRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalStepsPerItem), meth_Akonadi_EntityListView_setHorizontalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_Akonadi_EntityListView_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPositionForIndex), meth_Akonadi_EntityListView_setPositionForIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_Akonadi_EntityListView_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setState), meth_Akonadi_EntityListView_setState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVerticalStepsPerItem), meth_Akonadi_EntityListView_setVerticalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), meth_Akonadi_EntityListView_setViewportMargins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXmlGuiClient), meth_Akonadi_EntityListView_setXmlGuiClient, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupViewport), meth_Akonadi_EntityListView_setupViewport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Akonadi_EntityListView_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startDrag), meth_Akonadi_EntityListView_startDrag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_state), meth_Akonadi_EntityListView_state, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Akonadi_EntityListView_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_EntityListView_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), meth_Akonadi_EntityListView_updateEditorData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), meth_Akonadi_EntityListView_updateEditorGeometries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), meth_Akonadi_EntityListView_updateGeometries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Akonadi_EntityListView_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), meth_Akonadi_EntityListView_verticalOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), meth_Akonadi_EntityListView_verticalScrollbarAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), meth_Akonadi_EntityListView_verticalScrollbarValueChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalStepsPerItem), meth_Akonadi_EntityListView_verticalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), meth_Akonadi_EntityListView_viewOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), meth_Akonadi_EntityListView_viewportEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), meth_Akonadi_EntityListView_visualRegionForSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Akonadi_EntityListView_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Akonadi_EntityListView_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Akonadi_EntityListView[] = {
    {"currentChanged(const Akonadi::Collection&)", 0, 0},
    {"currentChanged(const Akonadi::Item&)", 0, 0},
    {"doubleClicked(const Akonadi::Collection&)", 0, 0},
    {"doubleClicked(const Akonadi::Item&)", 0, 0},
    {"clicked(const Akonadi::Collection&)", 0, 0},
    {"clicked(const Akonadi::Item&)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_EntityListView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__EntityListView,
        {0}
    },
    {
        sipNameNr_EntityListView,
        {0, 255, 0},
        92, methods_Akonadi_EntityListView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_EntityListView,
    0,
    init_Akonadi_EntityListView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_EntityListView,
    0,
    0,
    0,
    release_Akonadi_EntityListView,
    cast_Akonadi_EntityListView,
    0,
    0,
    0
},
    &Akonadi::EntityListView::staticMetaObject,
    0,
    pyqt4_signals_Akonadi_EntityListView
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entityhiddenattribute.sip"
#include <akonadi/entityhiddenattribute.h>
#line 7961 "sipakonadipart4.cpp"

#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 7965 "sipakonadipart4.cpp"


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

    {
        Akonadi::EntityHiddenAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityHiddenAttribute, &sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->type());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityHiddenAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityHiddenAttribute, &sipCpp))
        {
            Akonadi::EntityHiddenAttribute *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->clone();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityHiddenAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityHiddenAttribute, &sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->serialized());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        Akonadi::EntityHiddenAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityHiddenAttribute, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deserialize(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_EntityHiddenAttribute(void *, const sipTypeDef *);}
static void *cast_Akonadi_EntityHiddenAttribute(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_EntityHiddenAttribute)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Akonadi_Attribute)->ctd_cast((Akonadi::Attribute *)(Akonadi::EntityHiddenAttribute *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_EntityHiddenAttribute(void *, int);}
static void release_Akonadi_EntityHiddenAttribute(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Akonadi::EntityHiddenAttribute *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_EntityHiddenAttribute(sipSimpleWrapper *);}
static void dealloc_Akonadi_EntityHiddenAttribute(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_EntityHiddenAttribute(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Akonadi_EntityHiddenAttribute(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_EntityHiddenAttribute(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Akonadi::EntityHiddenAttribute *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Akonadi::EntityHiddenAttribute();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_EntityHiddenAttribute[] = {{19, 255, 1}};


static PyMethodDef methods_Akonadi_EntityHiddenAttribute[] = {
    {SIP_MLNAME_CAST(sipName_clone), meth_Akonadi_EntityHiddenAttribute_clone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deserialize), meth_Akonadi_EntityHiddenAttribute_deserialize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serialized), meth_Akonadi_EntityHiddenAttribute_serialized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Akonadi_EntityHiddenAttribute_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_EntityHiddenAttribute = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__EntityHiddenAttribute,
        {0}
    },
    {
        sipNameNr_EntityHiddenAttribute,
        {0, 255, 0},
        4, methods_Akonadi_EntityHiddenAttribute,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_EntityHiddenAttribute,
    0,
    init_Akonadi_EntityHiddenAttribute,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_EntityHiddenAttribute,
    0,
    0,
    0,
    release_Akonadi_EntityHiddenAttribute,
    cast_Akonadi_EntityHiddenAttribute,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entitydisplayattribute.sip"
#include <akonadi/entitydisplayattribute.h>
#line 8200 "sipakonadipart4.cpp"

#line 41 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 8204 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8207 "sipakonadipart4.cpp"
#line 33 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdeui/kicon.sip"
#include <kicon.h>
#line 8210 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8213 "sipakonadipart4.cpp"


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

    {
        const QString * a0;
        int a0State = 0;
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDisplayName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->displayName());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setIconName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            KIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIcon(sipCpp->icon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->iconName());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->type());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            Akonadi::EntityDisplayAttribute *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->clone();
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->serialized());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QByteArray * a0;
        int a0State = 0;
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deserialize(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QString * a0;
        int a0State = 0;
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActiveIconName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            KIcon *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KIcon(sipCpp->activeIcon());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->activeIconName());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp))
        {
            QColor *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(sipCpp->backgroundColor());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        const QColor * a0;
        int a0State = 0;
        Akonadi::EntityDisplayAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_EntityDisplayAttribute, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setBackgroundColor(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_EntityDisplayAttribute(void *, const sipTypeDef *);}
static void *cast_Akonadi_EntityDisplayAttribute(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_EntityDisplayAttribute)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Akonadi_Attribute)->ctd_cast((Akonadi::Attribute *)(Akonadi::EntityDisplayAttribute *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_EntityDisplayAttribute(void *, int);}
static void release_Akonadi_EntityDisplayAttribute(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Akonadi::EntityDisplayAttribute *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_EntityDisplayAttribute(sipSimpleWrapper *);}
static void dealloc_Akonadi_EntityDisplayAttribute(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_EntityDisplayAttribute(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Akonadi_EntityDisplayAttribute(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_EntityDisplayAttribute(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Akonadi::EntityDisplayAttribute *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Akonadi::EntityDisplayAttribute();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_EntityDisplayAttribute[] = {{19, 255, 1}};


static PyMethodDef methods_Akonadi_EntityDisplayAttribute[] = {
    {SIP_MLNAME_CAST(sipName_activeIcon), meth_Akonadi_EntityDisplayAttribute_activeIcon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_activeIconName), meth_Akonadi_EntityDisplayAttribute_activeIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_backgroundColor), meth_Akonadi_EntityDisplayAttribute_backgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clone), meth_Akonadi_EntityDisplayAttribute_clone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deserialize), meth_Akonadi_EntityDisplayAttribute_deserialize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_displayName), meth_Akonadi_EntityDisplayAttribute_displayName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_Akonadi_EntityDisplayAttribute_icon, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconName), meth_Akonadi_EntityDisplayAttribute_iconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serialized), meth_Akonadi_EntityDisplayAttribute_serialized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveIconName), meth_Akonadi_EntityDisplayAttribute_setActiveIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackgroundColor), meth_Akonadi_EntityDisplayAttribute_setBackgroundColor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisplayName), meth_Akonadi_EntityDisplayAttribute_setDisplayName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setIconName), meth_Akonadi_EntityDisplayAttribute_setIconName, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Akonadi_EntityDisplayAttribute_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_EntityDisplayAttribute = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__EntityDisplayAttribute,
        {0}
    },
    {
        sipNameNr_EntityDisplayAttribute,
        {0, 255, 0},
        14, methods_Akonadi_EntityDisplayAttribute,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_EntityDisplayAttribute,
    0,
    init_Akonadi_EntityDisplayAttribute,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_EntityDisplayAttribute,
    0,
    0,
    0,
    release_Akonadi_EntityDisplayAttribute,
    cast_Akonadi_EntityDisplayAttribute,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 74 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entity.sip"
#include <qlist.h>
#line 8736 "sipakonadipart4.cpp"



extern "C" {static void assign_QList_3800(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_3800(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList<Akonadi::Entity::Id> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList<Akonadi::Entity::Id> *>(sipSrc);
}


extern "C" {static void *array_QList_3800(SIP_SSIZE_T);}
static void *array_QList_3800(SIP_SSIZE_T sipNrElem)
{
    return new QList<Akonadi::Entity::Id>[sipNrElem];
}


extern "C" {static void *copy_QList_3800(const void *, SIP_SSIZE_T);}
static void *copy_QList_3800(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList<Akonadi::Entity::Id>(reinterpret_cast<const QList<Akonadi::Entity::Id> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_3800(void *, int);}
static void release_QList_3800(void *ptr, int)
{
    Py_BEGIN_ALLOW_THREADS
    delete reinterpret_cast<QList<Akonadi::Entity::Id> *>(ptr);
    Py_END_ALLOW_THREADS
}



extern "C" {static int convertTo_QList_3800(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_3800(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList<Akonadi::Entity::Id> **sipCppPtr = reinterpret_cast<QList<Akonadi::Entity::Id> **>(sipCppPtrV);

#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entity.sip"
    // Check the type if that is all that is required.
    if (sipIsErr == NULL)
        return PyList_Check(sipPy);

    QList<Akonadi::Entity::Id> *ql = new QList<Akonadi::Entity::Id>;
 
    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
        ql->append((Akonadi::Entity::Id)PyLong_AsLongLong(PyList_GET_ITEM(sipPy, i)));
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 8790 "sipakonadipart4.cpp"
}


extern "C" {static PyObject *convertFrom_QList_3800(void *, PyObject *);}
static PyObject *convertFrom_QList_3800(void *sipCppV,PyObject *)
{
   QList<Akonadi::Entity::Id> *sipCpp = reinterpret_cast<QList<Akonadi::Entity::Id> *>(sipCppV);

#line 78 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/entity.sip"
    // Create the list.
    PyObject *l;

    if ((l = PyList_New(sipCpp->size())) == NULL)
        return NULL;

    // Set the list elements.
    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *pobj;

        if ((pobj = PyLong_FromLongLong (sipCpp->value(i))) == NULL)
        {
            Py_DECREF(l);

            return NULL;
        }

        PyList_SET_ITEM(l, i, pobj);
    }

    return l;
#line 8822 "sipakonadipart4.cpp"
}


sipMappedTypeDef sipTypeDef_akonadi_QList_3800 = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2879,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_3800,
    array_QList_3800,
    copy_QList_3800,
    release_QList_3800,
    convertTo_QList_3800,
    convertFrom_QList_3800
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/control.sip"
#include <akonadi/control.h>
#line 8853 "sipakonadipart4.cpp"

#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 8857 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8860 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8863 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 8866 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 8869 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8872 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8875 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8878 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 8881 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 8884 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 8887 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8890 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 8893 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 8896 "sipakonadipart4.cpp"


class sipAkonadi_Control : public Akonadi::Control
{
public:
    sipAkonadi_Control();
    virtual ~sipAkonadi_Control();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipAkonadi_Control::sipAkonadi_Control(): Akonadi::Control(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_Control::~sipAkonadi_Control()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_Control::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_Control);
}

int sipAkonadi_Control::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::Control::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_Control,_c,_id,_a);

    return _id;
}

void *sipAkonadi_Control::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_Control,_clname)) ? this : Akonadi::Control::qt_metacast(_clname);
}

bool sipAkonadi_Control::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_Control::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_Control::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_Control::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_Control::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_Control::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

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

void sipAkonadi_Control::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_Control::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}


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

    {
        char * a0;
        sipAkonadi_Control *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_Control, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 9153 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipAkonadi_Control *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_Control, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipAkonadi_Control *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_Control, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_Control *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_Control, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_Control *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_Control, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_Control *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_Control, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Akonadi::Control::start();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QWidget * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QWidget, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Akonadi::Control::start(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Akonadi::Control::stop();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QWidget * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QWidget, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Akonadi::Control::stop(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Akonadi::Control::restart();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QWidget * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QWidget, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = Akonadi::Control::restart(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            Akonadi::Control::widgetNeedsAkonadi(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_Control(void *, const sipTypeDef *);}
static void *cast_Akonadi_Control(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_Control)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(Akonadi::Control *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_Control(void *, int);}
static void release_Akonadi_Control(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_Control *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::Control *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_Control(sipSimpleWrapper *);}
static void dealloc_Akonadi_Control(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_Control *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_Control(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_Control(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_Control(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipAkonadi_Control *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_Control();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_Control[] = {{129, 0, 1}};


static PyMethodDef methods_Akonadi_Control[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_Control_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_Control_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_Control_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_Control_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_Control_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_restart), meth_Akonadi_Control_restart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_start), meth_Akonadi_Control_start, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stop), meth_Akonadi_Control_stop, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_Control_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetNeedsAkonadi), meth_Akonadi_Control_widgetNeedsAkonadi, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_Control = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__Control,
        {0}
    },
    {
        sipNameNr_Control,
        {0, 255, 0},
        10, methods_Akonadi_Control,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_Control,
    0,
    init_Akonadi_Control,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_Control,
    0,
    0,
    0,
    release_Akonadi_Control,
    cast_Akonadi_Control,
    0,
    0,
    0
},
    &Akonadi::Control::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionview.sip"
#include <akonadi/collectionview.h>
#line 9588 "sipakonadipart4.cpp"

#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9592 "sipakonadipart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdeui/kxmlguiwindow.sip"
#include <kxmlguiwindow.h>
#line 9595 "sipakonadipart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 9598 "sipakonadipart4.cpp"
#line 490 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9601 "sipakonadipart4.cpp"
#line 565 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9604 "sipakonadipart4.cpp"
#line 619 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9607 "sipakonadipart4.cpp"
#line 590 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9610 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collection.sip"
#include <akonadi/collection.h>
#line 9613 "sipakonadipart4.cpp"
#line 128 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9616 "sipakonadipart4.cpp"
#line 155 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 9619 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 9622 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9625 "sipakonadipart4.cpp"
#line 350 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9628 "sipakonadipart4.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9631 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 9634 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 9637 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 9640 "sipakonadipart4.cpp"
#line 1029 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 9643 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9646 "sipakonadipart4.cpp"
#line 399 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9649 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9652 "sipakonadipart4.cpp"
#line 82 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 9655 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 9658 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9661 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9664 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 9667 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9670 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qheaderview.sip"
#include <qheaderview.h>
#line 9673 "sipakonadipart4.cpp"
#line 82 "/usr/local/share/py-sip/QtGui/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 9676 "sipakonadipart4.cpp"
#line 520 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 539 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9681 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 9684 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 9687 "sipakonadipart4.cpp"
#line 428 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9690 "sipakonadipart4.cpp"
#line 379 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9693 "sipakonadipart4.cpp"
#line 607 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9696 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9699 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 9702 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 9705 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 9708 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9711 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9714 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qscrollbar.sip"
#include <qscrollbar.h>
#line 9717 "sipakonadipart4.cpp"
#line 279 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9720 "sipakonadipart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 9723 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qframe.sip"
#include <qframe.h>
#line 9726 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9729 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9732 "sipakonadipart4.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 9735 "sipakonadipart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 9738 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 9741 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 9744 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 9747 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 9750 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 9753 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 9756 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 9759 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9762 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 9765 "sipakonadipart4.cpp"
#line 478 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9768 "sipakonadipart4.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9771 "sipakonadipart4.cpp"
#line 675 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9774 "sipakonadipart4.cpp"
#line 301 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9777 "sipakonadipart4.cpp"
#line 442 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9780 "sipakonadipart4.cpp"
#line 414 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 9783 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 9786 "sipakonadipart4.cpp"
#line 68 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 9789 "sipakonadipart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 9792 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9795 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 9798 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 9801 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 9804 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 9807 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 9810 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 9813 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 9816 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 9819 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 9822 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 9825 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9828 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 9831 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 9834 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 9837 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 9840 "sipakonadipart4.cpp"


class sipAkonadi_CollectionView : public Akonadi::CollectionView
{
public:
    sipAkonadi_CollectionView(QWidget *);
    sipAkonadi_CollectionView(KXmlGuiWindow *,QWidget *);
    sipAkonadi_CollectionView(KXMLGUIClient *,QWidget *);
    virtual ~sipAkonadi_CollectionView();

    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.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(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_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtect_drawFrame(QPainter *);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtect_setupViewport(QWidget *);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent *);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(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 *);
    void sipProtect_setHorizontalStepsPerItem(int);
    int sipProtect_horizontalStepsPerItem() const;
    void sipProtect_setVerticalStepsPerItem(int);
    int sipProtect_verticalStepsPerItem() const;
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent *) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) 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_event(bool,QEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_columnResized(int,int,int);
    void sipProtect_columnCountChanged(int,int);
    void sipProtect_columnMoved();
    void sipProtect_reexpand();
    void sipProtect_rowsRemoved(const QModelIndex&,int,int);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_drawRow(bool,QPainter *,const QStyleOptionViewItem&,const QModelIndex&) const;
    void sipProtectVirt_drawBranches(bool,QPainter *,const QRect&,const QModelIndex&) const;
    void sipProtect_drawTree(QPainter *,const QRegion&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_updateGeometries(bool);
    int sipProtectVirt_sizeHintForColumn(bool,int) const;
    int sipProtect_indexRowSizeHint(const QModelIndex&) const;
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    bool sipProtectVirt_viewportEvent(bool,QEvent *);
    int sipProtect_rowHeight(const QModelIndex&) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[89];
};

sipAkonadi_CollectionView::sipAkonadi_CollectionView(QWidget *a0): Akonadi::CollectionView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionView::sipAkonadi_CollectionView(KXmlGuiWindow *a0,QWidget *a1): Akonadi::CollectionView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionView::sipAkonadi_CollectionView(KXMLGUIClient *a0,QWidget *a1): Akonadi::CollectionView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionView::~sipAkonadi_CollectionView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_CollectionView::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_CollectionView);
}

int sipAkonadi_CollectionView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::CollectionView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_CollectionView,_c,_id,_a);

    return _id;
}

void *sipAkonadi_CollectionView::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_CollectionView,_clname)) ? this : Akonadi::CollectionView::qt_metacast(_clname);
}

void sipAkonadi_CollectionView::setModel(QAbstractItemModel *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_setModel);

    if (!meth)
    {
        Akonadi::CollectionView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_36)(sip_gilstate_t,PyObject *,QAbstractItemModel *);

    ((sipVH_QtGui_36)(sipModuleAPI_akonadi_QtGui->em_virthandlers[36]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        Akonadi::CollectionView::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    ((sipVH_QtGui_17)(sipModuleAPI_akonadi_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        Akonadi::CollectionView::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    ((sipVH_QtGui_16)(sipModuleAPI_akonadi_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        Akonadi::CollectionView::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QDropEvent *);

    ((sipVH_QtGui_15)(sipModuleAPI_akonadi_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        Akonadi::CollectionView::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    ((sipVH_QtGui_21)(sipModuleAPI_akonadi_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setRootIndex);

    if (!meth)
    {
        QTreeView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t,PyObject *,const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_akonadi_QtCore->em_virthandlers[51]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::setSelectionModel(QItemSelectionModel *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setSelectionModel);

    if (!meth)
    {
        QTreeView::setSelectionModel(a0);
        return;
    }

    typedef void (*sipVH_QtGui_37)(sip_gilstate_t,PyObject *,QItemSelectionModel *);

    ((sipVH_QtGui_37)(sipModuleAPI_akonadi_QtGui->em_virthandlers[37]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyboardSearch);

    if (!meth)
    {
        QTreeView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t,PyObject *,const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_akonadi_QtCore->em_virthandlers[33]))(sipGILState,meth,a0);
}

QRect sipAkonadi_CollectionView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::visualRect(a0);

    typedef QRect (*sipVH_QtGui_56)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtGui_56)(sipModuleAPI_akonadi_QtGui->em_virthandlers[56]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_scrollTo);

    if (!meth)
    {
        QTreeView::scrollTo(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_55)(sip_gilstate_t,PyObject *,const QModelIndex&,QAbstractItemView::ScrollHint);

    ((sipVH_QtGui_55)(sipModuleAPI_akonadi_QtGui->em_virthandlers[55]))(sipGILState,meth,a0,a1);
}

QModelIndex sipAkonadi_CollectionView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::indexAt(a0);

    typedef QModelIndex (*sipVH_QtGui_54)(sip_gilstate_t,PyObject *,const QPoint&);

    return ((sipVH_QtGui_54)(sipModuleAPI_akonadi_QtGui->em_virthandlers[54]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::doItemsLayout()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_doItemsLayout);

    if (!meth)
    {
        QTreeView::doItemsLayout();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_reset);

    if (!meth)
    {
        QTreeView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::dataChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dataChanged);

    if (!meth)
    {
        QTreeView::dataChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_akonadi_QtGui->em_virthandlers[45]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_selectAll);

    if (!meth)
    {
        QTreeView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!meth)
    {
        QTreeView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_32)(sip_gilstate_t,PyObject *,int,int);

    ((sipVH_QtGui_32)(sipModuleAPI_akonadi_QtGui->em_virthandlers[32]))(sipGILState,meth,a0,a1);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_rowsInserted);

    if (!meth)
    {
        QTreeView::rowsInserted(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t,PyObject *,const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_akonadi_QtGui->em_virthandlers[53]))(sipGILState,meth,a0,a1,a2);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!meth)
    {
        QTreeView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_53)(sip_gilstate_t,PyObject *,const QModelIndex&,int,int);

    ((sipVH_QtGui_53)(sipModuleAPI_akonadi_QtGui->em_virthandlers[53]))(sipGILState,meth,a0,a1,a2);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveCursor);

    if (!meth)
        return QTreeView::moveCursor(a0,a1);

    typedef QModelIndex (*sipVH_QtGui_52)(sip_gilstate_t,PyObject *,int,Qt::KeyboardModifiers);

    return ((sipVH_QtGui_52)(sipModuleAPI_akonadi_QtGui->em_virthandlers[52]))(sipGILState,meth,(int)a0,a1);
}

int sipAkonadi_CollectionView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_akonadi_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

int sipAkonadi_CollectionView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_akonadi_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setSelection);

    if (!meth)
    {
        QTreeView::setSelection(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_51)(sip_gilstate_t,PyObject *,const QRect&,QItemSelectionModel::SelectionFlags);

    ((sipVH_QtGui_51)(sipModuleAPI_akonadi_QtGui->em_virthandlers[51]))(sipGILState,meth,a0,a1);
}

QRegion sipAkonadi_CollectionView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::visualRegionForSelection(a0);

    typedef QRegion (*sipVH_QtGui_50)(sip_gilstate_t,PyObject *,const QItemSelection&);

    return ((sipVH_QtGui_50)(sipModuleAPI_akonadi_QtGui->em_virthandlers[50]))(sipGILState,meth,a0);
}

QModelIndexList sipAkonadi_CollectionView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::selectedIndexes();

    typedef QList<QModelIndex> (*sipVH_QtGui_49)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_49)(sipModuleAPI_akonadi_QtGui->em_virthandlers[49]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QTreeView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    ((sipVH_QtGui_3)(sipModuleAPI_akonadi_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QTreeView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QTreeView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::drawRow(QPainter *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_drawRow);

    if (!meth)
    {
        QTreeView::drawRow(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_48)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_48)(sipModuleAPI_akonadi_QtGui->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_CollectionView::drawBranches(QPainter *a0,const QRect& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_drawBranches);

    if (!meth)
    {
        QTreeView::drawBranches(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_47)(sip_gilstate_t,PyObject *,QPainter *,const QRect&,const QModelIndex&);

    ((sipVH_QtGui_47)(sipModuleAPI_akonadi_QtGui->em_virthandlers[47]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_CollectionView::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QTreeView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QTreeView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QTreeView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QTreeView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_akonadi_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_updateGeometries);

    if (!meth)
    {
        QTreeView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

int sipAkonadi_CollectionView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_akonadi_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!meth)
    {
        QTreeView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QTreeView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_akonadi_QtCore->em_virthandlers[42]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionView::viewportEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_viewportEvent);

    if (!meth)
        return QTreeView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_selectionChanged);

    if (!meth)
    {
        QTreeView::selectionChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_46)(sip_gilstate_t,PyObject *,const QItemSelection&,const QItemSelection&);

    ((sipVH_QtGui_46)(sipModuleAPI_akonadi_QtGui->em_virthandlers[46]))(sipGILState,meth,a0,a1);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_currentChanged);

    if (!meth)
    {
        QTreeView::currentChanged(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t,PyObject *,const QModelIndex&,const QModelIndex&);

    ((sipVH_QtGui_45)(sipModuleAPI_akonadi_QtGui->em_virthandlers[45]))(sipGILState,meth,a0,a1);
}

int sipAkonadi_CollectionView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractItemView::sizeHintForRow(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_akonadi_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_updateEditorData);

    if (!meth)
    {
        QAbstractItemView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!meth)
    {
        QAbstractItemView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!meth)
    {
        QAbstractItemView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!meth)
    {
        QAbstractItemView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!meth)
    {
        QAbstractItemView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t,PyObject *,int);

    ((sipVH_QtCore_4)(sipModuleAPI_akonadi_QtCore->em_virthandlers[4]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_closeEditor);

    if (!meth)
    {
        QAbstractItemView::closeEditor(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_236)(sip_gilstate_t,PyObject *,QWidget *,QAbstractItemDelegate::EndEditHint);

    ((sipVH_QtGui_236)(sipModuleAPI_akonadi_QtGui->em_virthandlers[236]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionView::commitData(QWidget *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_commitData);

    if (!meth)
    {
        QAbstractItemView::commitData(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t,PyObject *,QWidget *);

    ((sipVH_QtGui_7)(sipModuleAPI_akonadi_QtGui->em_virthandlers[7]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::editorDestroyed(QObject *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_editorDestroyed);

    if (!meth)
    {
        QAbstractItemView::editorDestroyed(a0);
        return;
    }

    typedef void (*sipVH_QtGui_235)(sip_gilstate_t,PyObject *,QObject *);

    ((sipVH_QtGui_235)(sipModuleAPI_akonadi_QtGui->em_virthandlers[235]))(sipGILState,meth,a0);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_edit);

    if (!meth)
        return QAbstractItemView::edit(a0,a1,a2);

    typedef bool (*sipVH_QtGui_234)(sip_gilstate_t,PyObject *,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent *);

    return ((sipVH_QtGui_234)(sipModuleAPI_akonadi_QtGui->em_virthandlers[234]))(sipGILState,meth,a0,a1,a2);
}

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

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

    if (!meth)
        return QAbstractItemView::selectionCommand(a0,a1);

    typedef QItemSelectionModel::SelectionFlags (*sipVH_QtGui_233)(sip_gilstate_t,PyObject *,const QModelIndex&,const QEvent *);

    return ((sipVH_QtGui_233)(sipModuleAPI_akonadi_QtGui->em_virthandlers[233]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_startDrag);

    if (!meth)
    {
        QAbstractItemView::startDrag(a0);
        return;
    }

    typedef void (*sipVH_QtGui_153)(sip_gilstate_t,PyObject *,Qt::DropActions);

    ((sipVH_QtGui_153)(sipModuleAPI_akonadi_QtGui->em_virthandlers[153]))(sipGILState,meth,a0);
}

QStyleOptionViewItem sipAkonadi_CollectionView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractItemView::viewOptions();

    typedef QStyleOptionViewItem (*sipVH_QtGui_71)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_71)(sipModuleAPI_akonadi_QtGui->em_virthandlers[71]))(sipGILState,meth);
}

bool sipAkonadi_CollectionView::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QAbstractItemView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QAbstractItemView::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    ((sipVH_QtGui_18)(sipModuleAPI_akonadi_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QAbstractItemView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_akonadi_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QAbstractItemView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_akonadi_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QAbstractItemView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    ((sipVH_QtGui_2)(sipModuleAPI_akonadi_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

QVariant sipAkonadi_CollectionView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractItemView::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_akonadi_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QAbstractItemView::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_akonadi_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QAbstractItemView::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_akonadi_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

QSize sipAkonadi_CollectionView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractScrollArea::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_akonadi_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipAkonadi_CollectionView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QAbstractScrollArea::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_akonadi_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QAbstractScrollArea::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    ((sipVH_QtGui_5)(sipModuleAPI_akonadi_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QFrame::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_akonadi_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_akonadi_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

QPaintEngine * sipAkonadi_CollectionView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::paintEngine();

    typedef QPaintEngine * (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_akonadi_QtGui->em_virthandlers[27]))(sipGILState,meth);
}

void sipAkonadi_CollectionView::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_akonadi_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QMoveEvent *);

    ((sipVH_QtGui_23)(sipModuleAPI_akonadi_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_akonadi_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QTabletEvent *);

    ((sipVH_QtGui_20)(sipModuleAPI_akonadi_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QActionEvent *);

    ((sipVH_QtGui_19)(sipModuleAPI_akonadi_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_akonadi_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_akonadi_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return QWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_akonadi_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_akonadi_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t,PyObject *,const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_akonadi_QtGui->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

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

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionView::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionView::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

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

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

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

void sipAkonadi_CollectionView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

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

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

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

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

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

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

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

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

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

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

void sipAkonadi_CollectionView::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

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

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

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

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

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

void sipAkonadi_CollectionView::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

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

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

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

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

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

void sipAkonadi_CollectionView::sipProtect_setupViewport(QWidget *a0)
{
    QAbstractScrollArea::setupViewport(a0);
}

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

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

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

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

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

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

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

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

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

void sipAkonadi_CollectionView::sipProtect_setHorizontalStepsPerItem(int a0)
{
    QAbstractItemView::setHorizontalStepsPerItem(a0);
}

int sipAkonadi_CollectionView::sipProtect_horizontalStepsPerItem() const
{
    return QAbstractItemView::horizontalStepsPerItem();
}

void sipAkonadi_CollectionView::sipProtect_setVerticalStepsPerItem(int a0)
{
    QAbstractItemView::setVerticalStepsPerItem(a0);
}

int sipAkonadi_CollectionView::sipProtect_verticalStepsPerItem() const
{
    return QAbstractItemView::verticalStepsPerItem();
}

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

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

QStyleOptionViewItem sipAkonadi_CollectionView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewOptions() : viewOptions());
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

void sipAkonadi_CollectionView::sipProtect_columnResized(int a0,int a1,int a2)
{
    QTreeView::columnResized(a0,a1,a2);
}

void sipAkonadi_CollectionView::sipProtect_columnCountChanged(int a0,int a1)
{
    QTreeView::columnCountChanged(a0,a1);
}

void sipAkonadi_CollectionView::sipProtect_columnMoved()
{
    QTreeView::columnMoved();
}

void sipAkonadi_CollectionView::sipProtect_reexpand()
{
    QTreeView::reexpand();
}

void sipAkonadi_CollectionView::sipProtect_rowsRemoved(const QModelIndex& a0,int a1,int a2)
{
    QTreeView::rowsRemoved(a0,a1,a2);
}

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

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

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

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

int sipAkonadi_CollectionView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::horizontalOffset() : horizontalOffset());
}

int sipAkonadi_CollectionView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::verticalOffset() : verticalOffset());
}

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

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

QModelIndexList sipAkonadi_CollectionView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::selectedIndexes() : selectedIndexes());
}

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

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

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

void sipAkonadi_CollectionView::sipProtectVirt_drawRow(bool sipSelfWasArg,QPainter *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    (sipSelfWasArg ? QTreeView::drawRow(a0,a1,a2) : drawRow(a0,a1,a2));
}

void sipAkonadi_CollectionView::sipProtectVirt_drawBranches(bool sipSelfWasArg,QPainter *a0,const QRect& a1,const QModelIndex& a2) const
{
    (sipSelfWasArg ? QTreeView::drawBranches(a0,a1,a2) : drawBranches(a0,a1,a2));
}

void sipAkonadi_CollectionView::sipProtect_drawTree(QPainter *a0,const QRegion& a1) const
{
    QTreeView::drawTree(a0,a1);
}

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

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

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

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

void sipAkonadi_CollectionView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QTreeView::updateGeometries() : updateGeometries());
}

int sipAkonadi_CollectionView::sipProtectVirt_sizeHintForColumn(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTreeView::sizeHintForColumn(a0) : sizeHintForColumn(a0));
}

int sipAkonadi_CollectionView::sipProtect_indexRowSizeHint(const QModelIndex& a0) const
{
    return QTreeView::indexRowSizeHint(a0);
}

void sipAkonadi_CollectionView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTreeView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

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

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

int sipAkonadi_CollectionView::sipProtect_rowHeight(const QModelIndex& a0) const
{
    return QTreeView::rowHeight(a0);
}

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

void sipAkonadi_CollectionView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? Akonadi::CollectionView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? Akonadi::CollectionView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? Akonadi::CollectionView::dropEvent(a0) : dropEvent(a0));
}

void sipAkonadi_CollectionView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? Akonadi::CollectionView::contextMenuEvent(a0) : contextMenuEvent(a0));
}


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

    {
        char * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 12192 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QChildEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        char * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMoveEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QCloseEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTabletEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QActionEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QShowEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QHideEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

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

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|mbb", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QPalette * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QFont * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawFrame(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QMargins, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setViewportMargins(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWheelEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setupViewport(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        Akonadi::CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->edit(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9EJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QWidget * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QWidget, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QObject * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QObject, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setHorizontalStepsPerItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_horizontalStepsPerItem();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setVerticalStepsPerItem(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_verticalStepsPerItem();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        const QEvent * a1 = 0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|J8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags *sipRes;

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

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

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

    return NULL;
}


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

    {
        Qt::DropActions * a0;
        int a0State = 0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS
            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_CollectionView, sipName_startDrag, NULL);

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            QStyleOptionViewItem *sipRes;

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

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

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_state();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setState(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_scheduleDelayedItemsLayout();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_executeDelayedItemsLayout();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QRegion * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QRegion, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setDirtyRegion(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            QPoint *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QDragEnterEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QFocusEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QResizeEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_dropIndicatorPosition();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

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

    return NULL;
}


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

    {
        bool a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QInputMethodEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        int a2;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_columnResized(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_columnCountChanged(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_columnMoved();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_reexpand();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_rowsRemoved(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        int a1;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        Qt::KeyboardModifiers * a1;
        int a1State = 0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            Py_END_ALLOW_THREADS
            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_CollectionView, sipName_moveCursor, NULL);

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QRect * a0;
        QItemSelectionModel::SelectionFlags * a1;
        int a1State = 0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS
            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_CollectionView, sipName_setSelection, NULL);

    return NULL;
}


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

    {
        const QItemSelection * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            QModelIndexList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));
            Py_END_ALLOW_THREADS

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

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

    return NULL;
}


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

    {
        QPaintEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QTimerEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        const QStyleOptionViewItem * a1;
        const QModelIndex * a2;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_drawRow(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        const QRect * a1;
        const QModelIndex * a2;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_drawBranches(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QPainter * a0;
        const QRegion * a1;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QPainter, &a0, sipType_QRegion, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawTree(a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QKeyEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_sizeHintForColumn(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_indexRowSizeHint(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        int a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        QEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

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

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QModelIndex * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_rowHeight(*a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


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

    {
        const QItemSelection * a0;
        const QItemSelection * a1;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KXmlGuiWindow * a0;
        Akonadi::CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_KXmlGuiWindow, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setXmlGuiWindow(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        KXMLGUIClient * a0;
        Akonadi::CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_KXMLGUIClient, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setXmlGuiClient(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QAbstractItemModel * a0;
        Akonadi::CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QAbstractItemModel, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Akonadi::CollectionView::setModel(a0) : sipCpp->setModel(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragMoveEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


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

    {
        QDragLeaveEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionView_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionView_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionView, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionView_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipAkonadi_CollectionView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionView, sipName_contextMenuEvent, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionView(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_CollectionView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QTreeView)->ctd_cast((QTreeView *)(Akonadi::CollectionView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionView(void *, int);}
static void release_Akonadi_CollectionView(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_CollectionView *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::CollectionView *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_CollectionView(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_CollectionView *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionView(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_CollectionView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipAkonadi_CollectionView *sipCpp = 0;

    {
        QWidget * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionView(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KXmlGuiWindow * a0;
        QWidget * a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KXmlGuiWindow, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionView(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        KXMLGUIClient * a0;
        QWidget * a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8|JH", sipType_KXMLGUIClient, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionView(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_CollectionView[] = {{709, 2, 1}};


static PyMethodDef methods_Akonadi_CollectionView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Akonadi_CollectionView_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Akonadi_CollectionView_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_CollectionView_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEditor), meth_Akonadi_CollectionView_closeEditor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Akonadi_CollectionView_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCountChanged), meth_Akonadi_CollectionView_columnCountChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnMoved), meth_Akonadi_CollectionView_columnMoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnResized), meth_Akonadi_CollectionView_columnResized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), meth_Akonadi_CollectionView_commitData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_CollectionView_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Akonadi_CollectionView_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Akonadi_CollectionView_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_CollectionView_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Akonadi_CollectionView_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), meth_Akonadi_CollectionView_dirtyRegionOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_CollectionView_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Akonadi_CollectionView_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Akonadi_CollectionView_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Akonadi_CollectionView_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawBranches), meth_Akonadi_CollectionView_drawBranches, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), meth_Akonadi_CollectionView_drawFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawRow), meth_Akonadi_CollectionView_drawRow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawTree), meth_Akonadi_CollectionView_drawTree, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Akonadi_CollectionView_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), meth_Akonadi_CollectionView_dropIndicatorPosition, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), meth_Akonadi_CollectionView_edit, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), meth_Akonadi_CollectionView_editorDestroyed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Akonadi_CollectionView_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Akonadi_CollectionView_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Akonadi_CollectionView_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), meth_Akonadi_CollectionView_executeDelayedItemsLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Akonadi_CollectionView_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Akonadi_CollectionView_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Akonadi_CollectionView_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Akonadi_CollectionView_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Akonadi_CollectionView_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Akonadi_CollectionView_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Akonadi_CollectionView_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), meth_Akonadi_CollectionView_horizontalOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), meth_Akonadi_CollectionView_horizontalScrollbarAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), meth_Akonadi_CollectionView_horizontalScrollbarValueChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalStepsPerItem), meth_Akonadi_CollectionView_horizontalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_indexRowSizeHint), meth_Akonadi_CollectionView_indexRowSizeHint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Akonadi_CollectionView_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), meth_Akonadi_CollectionView_isIndexHidden, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Akonadi_CollectionView_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Akonadi_CollectionView_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Akonadi_CollectionView_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Akonadi_CollectionView_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Akonadi_CollectionView_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Akonadi_CollectionView_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Akonadi_CollectionView_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Akonadi_CollectionView_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Akonadi_CollectionView_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), meth_Akonadi_CollectionView_moveCursor, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Akonadi_CollectionView_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Akonadi_CollectionView_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Akonadi_CollectionView_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_CollectionView_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reexpand), meth_Akonadi_CollectionView_reexpand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Akonadi_CollectionView_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Akonadi_CollectionView_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowHeight), meth_Akonadi_CollectionView_rowHeight, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), meth_Akonadi_CollectionView_rowsAboutToBeRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), meth_Akonadi_CollectionView_rowsInserted, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsRemoved), meth_Akonadi_CollectionView_rowsRemoved, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), meth_Akonadi_CollectionView_scheduleDelayedItemsLayout, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), meth_Akonadi_CollectionView_scrollContentsBy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), meth_Akonadi_CollectionView_scrollDirtyRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), meth_Akonadi_CollectionView_selectedIndexes, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionChanged), meth_Akonadi_CollectionView_selectionChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), meth_Akonadi_CollectionView_selectionCommand, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), meth_Akonadi_CollectionView_setDirtyRegion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalStepsPerItem), meth_Akonadi_CollectionView_setHorizontalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_Akonadi_CollectionView_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_Akonadi_CollectionView_setSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setState), meth_Akonadi_CollectionView_setState, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setVerticalStepsPerItem), meth_Akonadi_CollectionView_setVerticalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), meth_Akonadi_CollectionView_setViewportMargins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXmlGuiClient), meth_Akonadi_CollectionView_setXmlGuiClient, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXmlGuiWindow), meth_Akonadi_CollectionView_setXmlGuiWindow, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setupViewport), meth_Akonadi_CollectionView_setupViewport, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Akonadi_CollectionView_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForColumn), meth_Akonadi_CollectionView_sizeHintForColumn, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_startDrag), meth_Akonadi_CollectionView_startDrag, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_state), meth_Akonadi_CollectionView_state, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Akonadi_CollectionView_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_CollectionView_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), meth_Akonadi_CollectionView_updateEditorData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), meth_Akonadi_CollectionView_updateEditorGeometries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), meth_Akonadi_CollectionView_updateGeometries, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Akonadi_CollectionView_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), meth_Akonadi_CollectionView_verticalOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), meth_Akonadi_CollectionView_verticalScrollbarAction, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), meth_Akonadi_CollectionView_verticalScrollbarValueChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalStepsPerItem), meth_Akonadi_CollectionView_verticalStepsPerItem, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), meth_Akonadi_CollectionView_viewOptions, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), meth_Akonadi_CollectionView_viewportEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), meth_Akonadi_CollectionView_visualRegionForSelection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Akonadi_CollectionView_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Akonadi_CollectionView_windowActivationChange, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_Akonadi_CollectionView[] = {
    {"currentChanged(const Akonadi::Collection&)", 0, 0},
    {"clicked(const Akonadi::Collection&)", 0, 0},
    {0, 0, 0}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionView,
        {0}
    },
    {
        sipNameNr_CollectionView,
        {0, 255, 0},
        101, methods_Akonadi_CollectionView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_CollectionView,
    0,
    init_Akonadi_CollectionView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionView,
    0,
    0,
    0,
    release_Akonadi_CollectionView,
    cast_Akonadi_CollectionView,
    0,
    0,
    0
},
    &Akonadi::CollectionView::staticMetaObject,
    0,
    pyqt4_signals_Akonadi_CollectionView
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionstatisticsmodel.sip"
#include <akonadi/collectionstatisticsmodel.h>
#line 15310 "sipakonadipart4.cpp"

#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 15314 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15317 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15320 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 15323 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collection.sip"
#include <akonadi/collection.h>
#line 15326 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 15329 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 15332 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15335 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15338 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15341 "sipakonadipart4.cpp"
#line 149 "/usr/local/share/py-sip/QtCore/qhash.sip"
#include <qmap.h>
#line 15344 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15347 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 15350 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 15353 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 15356 "sipakonadipart4.cpp"
#line 149 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 15359 "sipakonadipart4.cpp"
#line 131 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 15362 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15365 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15368 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 15371 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15374 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 15377 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 15380 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15383 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 15386 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 15389 "sipakonadipart4.cpp"


class sipAkonadi_CollectionStatisticsModel : public Akonadi::CollectionStatisticsModel
{
public:
    sipAkonadi_CollectionStatisticsModel(QObject *);
    virtual ~sipAkonadi_CollectionStatisticsModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtect_encodeData(const QModelIndexList&,QDataStream&) const;
    bool sipProtect_decodeData(int,int,const QModelIndex&,QDataStream&);
    void sipProtect_beginInsertRows(const QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
    QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_reset();
    void sipProtect_changePersistentIndex(const QModelIndex&,const QModelIndex&);
    void sipProtect_changePersistentIndexList(const QModelIndexList&,const QModelIndexList&);
    QModelIndex sipProtect_createIndex(int,int,void *) const;
    bool sipProtect_beginMoveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_setRoleNames(const QHash<int,QByteArray>&);
    Akonadi::Collection sipProtect_collectionForId(Akonadi::Entity::Id) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int columnCount(const QModelIndex&) const;
    QVariant data(const QModelIndex&,int) const;
    QVariant headerData(int,Qt::Orientation,int) const;
    QModelIndex index(int,int,const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    bool setData(const QModelIndex&,const QVariant&,int);
    Qt::ItemFlags flags(const QModelIndex&) const;
    Qt::DropActions supportedDropActions() const;
    QMimeData * mimeData(const QModelIndexList&) const;
    bool dropMimeData(const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);
    QStringList mimeTypes() const;
    bool hasChildren(const QModelIndex&) const;
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    bool insertRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    void sort(int,Qt::SortOrder);
    QModelIndex buddy(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QSize span(const QModelIndex&) const;
    bool submit();
    void revert();
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipAkonadi_CollectionStatisticsModel(const sipAkonadi_CollectionStatisticsModel &);
    sipAkonadi_CollectionStatisticsModel &operator = (const sipAkonadi_CollectionStatisticsModel &);

    char sipPyMethods[35];
};

sipAkonadi_CollectionStatisticsModel::sipAkonadi_CollectionStatisticsModel(QObject *a0): Akonadi::CollectionStatisticsModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionStatisticsModel::~sipAkonadi_CollectionStatisticsModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_CollectionStatisticsModel::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_CollectionStatisticsModel);
}

int sipAkonadi_CollectionStatisticsModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::CollectionStatisticsModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_CollectionStatisticsModel,_c,_id,_a);

    return _id;
}

void *sipAkonadi_CollectionStatisticsModel::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_CollectionStatisticsModel,_clname)) ? this : Akonadi::CollectionStatisticsModel::qt_metacast(_clname);
}

int sipAkonadi_CollectionStatisticsModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_columnCount);

    if (!meth)
        return Akonadi::CollectionStatisticsModel::columnCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_akonadi_QtCore->em_virthandlers[43]))(sipGILState,meth,a0);
}

QVariant sipAkonadi_CollectionStatisticsModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_data);

    if (!meth)
        return Akonadi::CollectionStatisticsModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_60)(sip_gilstate_t,PyObject *,const QModelIndex&,int);

    return ((sipVH_QtCore_60)(sipModuleAPI_akonadi_QtCore->em_virthandlers[60]))(sipGILState,meth,a0,a1);
}

QVariant sipAkonadi_CollectionStatisticsModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_headerData);

    if (!meth)
        return Akonadi::CollectionStatisticsModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *,int,Qt::Orientation,int);

    return ((sipVH_QtCore_58)(sipModuleAPI_akonadi_QtCore->em_virthandlers[58]))(sipGILState,meth,a0,a1,a2);
}

QModelIndex sipAkonadi_CollectionStatisticsModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_index);

    if (!meth)
        return Akonadi::CollectionModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_46)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_46)(sipModuleAPI_akonadi_QtCore->em_virthandlers[46]))(sipGILState,meth,a0,a1,a2);
}

QModelIndex sipAkonadi_CollectionStatisticsModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_parent);

    if (!meth)
        return Akonadi::CollectionModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_akonadi_QtCore->em_virthandlers[44]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionStatisticsModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_rowCount);

    if (!meth)
        return Akonadi::CollectionModel::rowCount(a0);

    typedef int (*sipVH_QtCore_43)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_43)(sipModuleAPI_akonadi_QtCore->em_virthandlers[43]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setHeaderData);

    if (!meth)
        return Akonadi::CollectionModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_57)(sip_gilstate_t,PyObject *,int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_57)(sipModuleAPI_akonadi_QtCore->em_virthandlers[57]))(sipGILState,meth,a0,a1,a2,a3);
}

bool sipAkonadi_CollectionStatisticsModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setData);

    if (!meth)
        return Akonadi::CollectionModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t,PyObject *,const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_akonadi_QtCore->em_virthandlers[59]))(sipGILState,meth,a0,a1,a2);
}

Qt::ItemFlags sipAkonadi_CollectionStatisticsModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_flags);

    if (!meth)
        return Akonadi::CollectionModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_50)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_50)(sipModuleAPI_akonadi_QtCore->em_virthandlers[50]))(sipGILState,meth,a0);
}

Qt::DropActions sipAkonadi_CollectionStatisticsModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!meth)
        return Akonadi::CollectionModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_53)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_53)(sipModuleAPI_akonadi_QtCore->em_virthandlers[53]))(sipGILState,meth);
}

QMimeData * sipAkonadi_CollectionStatisticsModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_mimeData);

    if (!meth)
        return Akonadi::CollectionModel::mimeData(a0);

    typedef QMimeData * (*sipVH_QtGui_216)(sip_gilstate_t,PyObject *,const QList<QModelIndex>&);

    return ((sipVH_QtGui_216)(sipModuleAPI_akonadi_QtGui->em_virthandlers[216]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsModel::dropMimeData(const QMimeData *a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropMimeData);

    if (!meth)
        return Akonadi::CollectionModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_45)(sip_gilstate_t,PyObject *,const QMimeData *,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_45)(sipModuleAPI_akonadi_QtCore->em_virthandlers[45]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

QStringList sipAkonadi_CollectionStatisticsModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_mimeTypes);

    if (!meth)
        return Akonadi::CollectionModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_akonadi_QtCore->em_virthandlers[27]))(sipGILState,meth);
}

bool sipAkonadi_CollectionStatisticsModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_hasChildren);

    if (!meth)
        return QAbstractItemModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_akonadi_QtCore->em_virthandlers[42]))(sipGILState,meth,a0);
}

QMap<int,QVariant> sipAkonadi_CollectionStatisticsModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_itemData);

    if (!meth)
        return QAbstractItemModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_56)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_56)(sipModuleAPI_akonadi_QtCore->em_virthandlers[56]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setItemData);

    if (!meth)
        return QAbstractItemModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_55)(sip_gilstate_t,PyObject *,const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_55)(sipModuleAPI_akonadi_QtCore->em_virthandlers[55]))(sipGILState,meth,a0,a1);
}

bool sipAkonadi_CollectionStatisticsModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_insertRows);

    if (!meth)
        return QAbstractItemModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_CollectionStatisticsModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_insertColumns);

    if (!meth)
        return QAbstractItemModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_CollectionStatisticsModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_removeRows);

    if (!meth)
        return QAbstractItemModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

bool sipAkonadi_CollectionStatisticsModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_removeColumns);

    if (!meth)
        return QAbstractItemModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_52)(sip_gilstate_t,PyObject *,int,int,const QModelIndex&);

    return ((sipVH_QtCore_52)(sipModuleAPI_akonadi_QtCore->em_virthandlers[52]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_fetchMore);

    if (!meth)
    {
        QAbstractItemModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_51)(sip_gilstate_t,PyObject *,const QModelIndex&);

    ((sipVH_QtCore_51)(sipModuleAPI_akonadi_QtCore->em_virthandlers[51]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_canFetchMore);

    if (!meth)
        return QAbstractItemModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_42)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_42)(sipModuleAPI_akonadi_QtCore->em_virthandlers[42]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_sort);

    if (!meth)
    {
        QAbstractItemModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_49)(sip_gilstate_t,PyObject *,int,Qt::SortOrder);

    ((sipVH_QtCore_49)(sipModuleAPI_akonadi_QtCore->em_virthandlers[49]))(sipGILState,meth,a0,a1);
}

QModelIndex sipAkonadi_CollectionStatisticsModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_buddy);

    if (!meth)
        return QAbstractItemModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_44)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_44)(sipModuleAPI_akonadi_QtCore->em_virthandlers[44]))(sipGILState,meth,a0);
}

QModelIndexList sipAkonadi_CollectionStatisticsModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_match);

    if (!meth)
        return QAbstractItemModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_48)(sip_gilstate_t,PyObject *,const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_48)(sipModuleAPI_akonadi_QtCore->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2,a3,a4);
}

QSize sipAkonadi_CollectionStatisticsModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_span);

    if (!meth)
        return QAbstractItemModel::span(a0);

    typedef QSize (*sipVH_QtCore_47)(sip_gilstate_t,PyObject *,const QModelIndex&);

    return ((sipVH_QtCore_47)(sipModuleAPI_akonadi_QtCore->em_virthandlers[47]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_submit);

    if (!meth)
        return QAbstractItemModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_akonadi_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

void sipAkonadi_CollectionStatisticsModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_revert);

    if (!meth)
    {
        QAbstractItemModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipAkonadi_CollectionStatisticsModel::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsModel::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionStatisticsModel::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsModel::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsModel::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsModel::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsModel::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionStatisticsModel::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipAkonadi_CollectionStatisticsModel::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipAkonadi_CollectionStatisticsModel::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipAkonadi_CollectionStatisticsModel::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipAkonadi_CollectionStatisticsModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_CollectionStatisticsModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_encodeData(const QModelIndexList& a0,QDataStream& a1) const
{
    QAbstractItemModel::encodeData(a0,a1);
}

bool sipAkonadi_CollectionStatisticsModel::sipProtect_decodeData(int a0,int a1,const QModelIndex& a2,QDataStream& a3)
{
    return QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_beginInsertRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_endInsertRows()
{
    QAbstractItemModel::endInsertRows();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_beginRemoveRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_endRemoveRows()
{
    QAbstractItemModel::endRemoveRows();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_beginInsertColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_endInsertColumns()
{
    QAbstractItemModel::endInsertColumns();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_beginRemoveColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_endRemoveColumns()
{
    QAbstractItemModel::endRemoveColumns();
}

QModelIndexList sipAkonadi_CollectionStatisticsModel::sipProtect_persistentIndexList() const
{
    return QAbstractItemModel::persistentIndexList();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_reset()
{
    QAbstractItemModel::reset();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_changePersistentIndex(const QModelIndex& a0,const QModelIndex& a1)
{
    QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_changePersistentIndexList(const QModelIndexList& a0,const QModelIndexList& a1)
{
    QAbstractItemModel::changePersistentIndexList(a0,a1);
}

QModelIndex sipAkonadi_CollectionStatisticsModel::sipProtect_createIndex(int a0,int a1,void *a2) const
{
    return QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipAkonadi_CollectionStatisticsModel::sipProtect_beginMoveRows(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_endMoveRows()
{
    QAbstractItemModel::endMoveRows();
}

bool sipAkonadi_CollectionStatisticsModel::sipProtect_beginMoveColumns(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_endMoveColumns()
{
    QAbstractItemModel::endMoveColumns();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_beginResetModel()
{
    QAbstractItemModel::beginResetModel();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_endResetModel()
{
    QAbstractItemModel::endResetModel();
}

void sipAkonadi_CollectionStatisticsModel::sipProtect_setRoleNames(const QHash<int,QByteArray>& a0)
{
    QAbstractItemModel::setRoleNames(a0);
}

Akonadi::Collection sipAkonadi_CollectionStatisticsModel::sipProtect_collectionForId(Akonadi::Entity::Id a0) const
{
    return Akonadi::CollectionModel::collectionForId(a0);
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_receivers(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 16241 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_encodeData(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_encodeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        QDataStream * a1;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_encodeData(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_encodeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_decodeData(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_decodeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QModelIndex * a2;
        QDataStream * a3;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9J9", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_decodeData, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_beginInsertRows(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_beginInsertRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_endInsertRows(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_endInsertRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_beginRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_beginRemoveRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_endRemoveRows(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_endRemoveRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_beginInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_beginInsertColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_endInsertColumns(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endInsertColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_endInsertColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_beginRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ii", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_beginRemoveColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_endRemoveColumns(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endRemoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_endRemoveColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_persistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            QModelIndexList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_persistentIndexList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_reset(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_reset, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_changePersistentIndex(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex * a0;
        const QModelIndex * a1;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_changePersistentIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_changePersistentIndexList(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndexList * a0;
        int a0State = 0;
        const QModelIndexList * a1;
        int a1State = 0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast<QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_changePersistentIndexList, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_createIndex(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_createIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii|P0", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, &a0, &a1, &a2))
        {
            QModelIndex *sipRes = 0;

#line 224 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
        // The Qt API is broken (and won't be fixed as it would break binary
        // compatibility) regarding the internal id of a model index on different
        // architectures (32 vs 64 bits).  We choose to work around the breakage as it
        // is fairly subtle and continues to catch people out.  Instead of letting Qt
        // convert betweed an integer id and a pointer id (the internal format used by
        // Qt) we let Python do it.
        
        void *ptr;
        
        if (a2)
        {
            // Try and convert it to a Python long and fallback to the object's
            // address if it fails.
            ptr = PyLong_AsVoidPtr(a2);
        
            if (PyErr_Occurred())
            {
                PyErr_Clear();
                ptr = a2;
            }
        }
        else
        {
            ptr = 0;
        }
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = new QModelIndex(sipCpp->createIndex(a0, a1, ptr));
        #else
        sipRes = new QModelIndex(sipCpp->sipProtect_createIndex(a0, a1, ptr));
        #endif
#line 16835 "sipakonadipart4.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_createIndex, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_beginMoveRows(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        const QModelIndex * a3;
        int a4;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iiJ9i", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_beginMoveRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_endMoveRows(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveRows();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_endMoveRows, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_beginMoveColumns(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex * a0;
        int a1;
        int a2;
        const QModelIndex * a3;
        int a4;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iiJ9i", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_beginMoveColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_endMoveColumns(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endMoveColumns();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_endMoveColumns, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_beginResetModel(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_beginResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_beginResetModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_endResetModel(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_endResetModel();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_endResetModel, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_setRoleNames(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_setRoleNames(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHash<int,QByteArray> * a0;
        int a0State = 0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QHash_1800_0100QByteArray,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setRoleNames(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QHash<int,QByteArray> *>(a0),sipType_QHash_1800_0100QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_setRoleNames, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_collectionForId(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_collectionForId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::Entity::Id a0;
        sipAkonadi_CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, &a0))
        {
            Akonadi::Collection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Akonadi::Collection(sipCpp->sipProtect_collectionForId(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Akonadi_Collection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_collectionForId, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_columnCount(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex * a0 = &a0def;
        Akonadi::CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J9", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Akonadi::CollectionStatisticsModel::columnCount(*a0) : sipCpp->columnCount(*a0));
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_columnCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_data(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex * a0;
        int a1 = Qt::DisplayRole;
        Akonadi::CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9|i", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->Akonadi::CollectionStatisticsModel::data(*a0,a1) : sipCpp->data(*a0,a1)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_data, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsModel_headerData(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsModel_headerData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::Orientation a1;
        int a2 = Qt::DisplayRole;
        Akonadi::CollectionStatisticsModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE|i", &sipSelf, sipType_Akonadi_CollectionStatisticsModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
            QVariant *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QVariant((sipSelfWasArg ? sipCpp->Akonadi::CollectionStatisticsModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsModel, sipName_headerData, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionStatisticsModel(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionStatisticsModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_CollectionStatisticsModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Akonadi_CollectionModel)->ctd_cast((Akonadi::CollectionModel *)(Akonadi::CollectionStatisticsModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionStatisticsModel(void *, int);}
static void release_Akonadi_CollectionStatisticsModel(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_CollectionStatisticsModel *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::CollectionStatisticsModel *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_CollectionStatisticsModel(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionStatisticsModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_CollectionStatisticsModel *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionStatisticsModel(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_CollectionStatisticsModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionStatisticsModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipAkonadi_CollectionStatisticsModel *sipCpp = 0;

    {
        QObject * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionStatisticsModel(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_CollectionStatisticsModel[] = {{36, 255, 1}};


static PyMethodDef methods_Akonadi_CollectionStatisticsModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), meth_Akonadi_CollectionStatisticsModel_beginInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), meth_Akonadi_CollectionStatisticsModel_beginInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), meth_Akonadi_CollectionStatisticsModel_beginMoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), meth_Akonadi_CollectionStatisticsModel_beginMoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), meth_Akonadi_CollectionStatisticsModel_beginRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), meth_Akonadi_CollectionStatisticsModel_beginRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), meth_Akonadi_CollectionStatisticsModel_beginResetModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), meth_Akonadi_CollectionStatisticsModel_changePersistentIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), meth_Akonadi_CollectionStatisticsModel_changePersistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_CollectionStatisticsModel_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_collectionForId), meth_Akonadi_CollectionStatisticsModel_collectionForId, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_Akonadi_CollectionStatisticsModel_columnCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_CollectionStatisticsModel_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), meth_Akonadi_CollectionStatisticsModel_createIndex, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_CollectionStatisticsModel_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_Akonadi_CollectionStatisticsModel_data, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_decodeData), meth_Akonadi_CollectionStatisticsModel_decodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_CollectionStatisticsModel_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_encodeData), meth_Akonadi_CollectionStatisticsModel_encodeData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), meth_Akonadi_CollectionStatisticsModel_endInsertColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), meth_Akonadi_CollectionStatisticsModel_endInsertRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), meth_Akonadi_CollectionStatisticsModel_endMoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), meth_Akonadi_CollectionStatisticsModel_endMoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), meth_Akonadi_CollectionStatisticsModel_endRemoveColumns, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), meth_Akonadi_CollectionStatisticsModel_endRemoveRows, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), meth_Akonadi_CollectionStatisticsModel_endResetModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_headerData), meth_Akonadi_CollectionStatisticsModel_headerData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), meth_Akonadi_CollectionStatisticsModel_persistentIndexList, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_CollectionStatisticsModel_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_Akonadi_CollectionStatisticsModel_reset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRoleNames), meth_Akonadi_CollectionStatisticsModel_setRoleNames, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_CollectionStatisticsModel_timerEvent, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_Akonadi_CollectionStatisticsModel[] = {
    {sipName_RecursiveSizeRole, Akonadi::CollectionStatisticsModel::RecursiveSizeRole, 49},
    {sipName_RecursiveStatisticsRole, Akonadi::CollectionStatisticsModel::RecursiveStatisticsRole, 49},
    {sipName_RecursiveTotalRole, Akonadi::CollectionStatisticsModel::RecursiveTotalRole, 49},
    {sipName_RecursiveUnreadRole, Akonadi::CollectionStatisticsModel::RecursiveUnreadRole, 49},
    {sipName_SizeRole, Akonadi::CollectionStatisticsModel::SizeRole, 49},
    {sipName_StatisticsRole, Akonadi::CollectionStatisticsModel::StatisticsRole, 49},
    {sipName_TotalRole, Akonadi::CollectionStatisticsModel::TotalRole, 49},
    {sipName_UnreadRole, Akonadi::CollectionStatisticsModel::UnreadRole, 49},
    {sipName_UserRole, Akonadi::CollectionStatisticsModel::UserRole, 49},
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionStatisticsModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionStatisticsModel,
        {0}
    },
    {
        sipNameNr_CollectionStatisticsModel,
        {0, 255, 0},
        32, methods_Akonadi_CollectionStatisticsModel,
        9, enummembers_Akonadi_CollectionStatisticsModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_CollectionStatisticsModel,
    0,
    init_Akonadi_CollectionStatisticsModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionStatisticsModel,
    0,
    0,
    0,
    release_Akonadi_CollectionStatisticsModel,
    cast_Akonadi_CollectionStatisticsModel,
    0,
    0,
    0
},
    &Akonadi::CollectionStatisticsModel::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionstatisticsjob.sip"
#include <akonadi/collectionstatisticsjob.h>
#line 17336 "sipakonadipart4.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collection.sip"
#include <akonadi/collection.h>
#line 17340 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 17343 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17346 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionstatistics.sip"
#include <akonadi/collectionstatistics.h>
#line 17349 "sipakonadipart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 17352 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/job.sip"
#include <akonadi/job.h>
#line 17355 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17358 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 17361 "sipakonadipart4.cpp"
#line 673 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/typedefs.sip"
#include <qpair.h>
#line 17364 "sipakonadipart4.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17367 "sipakonadipart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kjob.sip"
#include <kjob.h>
#line 17370 "sipakonadipart4.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/kdecore/kjobuidelegate.sip"
#include <kjobuidelegate.h>
#line 17373 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17376 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17379 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17382 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17385 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 17388 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17391 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 17394 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 17397 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17400 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17403 "sipakonadipart4.cpp"


class sipAkonadi_CollectionStatisticsJob : public Akonadi::CollectionStatisticsJob
{
public:
    sipAkonadi_CollectionStatisticsJob(const Akonadi::Collection&,QObject *);
    virtual ~sipAkonadi_CollectionStatisticsJob();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_doSuspend(bool);
    bool sipProtectVirt_doResume(bool);
    void sipProtect_setCapabilities(KJob::Capabilities);
    void sipProtect_setError(int);
    void sipProtect_setErrorText(const QString&);
    void sipProtect_setProcessedAmount(KJob::Unit,qulonglong);
    void sipProtect_setTotalAmount(KJob::Unit,qulonglong);
    void sipProtect_setPercent(unsigned long);
    void sipProtect_emitResult();
    void sipProtect_emitPercent(qulonglong,qulonglong);
    void sipProtect_emitSpeed(unsigned long);
    bool sipProtect_hasSubjobs();
    const QList<KJob *>& sipProtect_subjobs() const;
    void sipProtect_clearSubjobs();
    void sipProtectVirt_slotInfoMessage(bool,KJob *,const QString&,const QString&);
    bool sipProtectVirt_addSubjob(bool,KJob *);
    bool sipProtectVirt_removeSubjob(bool,KJob *);
    bool sipProtectVirt_doKill(bool);
    void sipProtect_emitWriteFinished();
    void sipProtectVirt_slotResult(bool,KJob *);
    void sipProtectVirt_doStart(bool);
    void sipProtectVirt_doHandleResponse(bool,const QByteArray&,const QByteArray&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void doStart();
    void doHandleResponse(const QByteArray&,const QByteArray&);
    QString errorString() const;
    bool addSubjob(KJob *);
    bool removeSubjob(KJob *);
    bool doKill();
    void slotResult(KJob *);
    void slotInfoMessage(KJob *,const QString&,const QString&);
    void start();
    bool doSuspend();
    bool doResume();
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipAkonadi_CollectionStatisticsJob(const sipAkonadi_CollectionStatisticsJob &);
    sipAkonadi_CollectionStatisticsJob &operator = (const sipAkonadi_CollectionStatisticsJob &);

    char sipPyMethods[18];
};

sipAkonadi_CollectionStatisticsJob::sipAkonadi_CollectionStatisticsJob(const Akonadi::Collection& a0,QObject *a1): Akonadi::CollectionStatisticsJob(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionStatisticsJob::~sipAkonadi_CollectionStatisticsJob()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_CollectionStatisticsJob::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_CollectionStatisticsJob);
}

int sipAkonadi_CollectionStatisticsJob::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::CollectionStatisticsJob::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_CollectionStatisticsJob,_c,_id,_a);

    return _id;
}

void *sipAkonadi_CollectionStatisticsJob::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_CollectionStatisticsJob,_clname)) ? this : Akonadi::CollectionStatisticsJob::qt_metacast(_clname);
}

void sipAkonadi_CollectionStatisticsJob::doStart()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_doStart);

    if (!meth)
    {
        Akonadi::CollectionStatisticsJob::doStart();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

void sipAkonadi_CollectionStatisticsJob::doHandleResponse(const QByteArray& a0,const QByteArray& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_doHandleResponse);

    if (!meth)
    {
        Akonadi::CollectionStatisticsJob::doHandleResponse(a0,a1);
        return;
    }

    extern void sipVH_akonadi_5(sip_gilstate_t,PyObject *,const QByteArray&,const QByteArray&);

    sipVH_akonadi_5(sipGILState,meth,a0,a1);
}

QString sipAkonadi_CollectionStatisticsJob::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_errorString);

    if (!meth)
        return Akonadi::Job::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_akonadi_QtCore->em_virthandlers[62]))(sipGILState,meth);
}

bool sipAkonadi_CollectionStatisticsJob::addSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_addSubjob);

    if (!meth)
        return Akonadi::Job::addSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t,PyObject *,KJob *);

    return ((sipVH_kdecore_53)(sipModuleAPI_akonadi_kdecore->em_virthandlers[53]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsJob::removeSubjob(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_removeSubjob);

    if (!meth)
        return Akonadi::Job::removeSubjob(a0);

    typedef bool (*sipVH_kdecore_53)(sip_gilstate_t,PyObject *,KJob *);

    return ((sipVH_kdecore_53)(sipModuleAPI_akonadi_kdecore->em_virthandlers[53]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsJob::doKill()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_doKill);

    if (!meth)
        return Akonadi::Job::doKill();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_akonadi_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

void sipAkonadi_CollectionStatisticsJob::slotResult(KJob *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_slotResult);

    if (!meth)
    {
        Akonadi::Job::slotResult(a0);
        return;
    }

    typedef void (*sipVH_kdecore_27)(sip_gilstate_t,PyObject *,KJob *);

    ((sipVH_kdecore_27)(sipModuleAPI_akonadi_kdecore->em_virthandlers[27]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsJob::slotInfoMessage(KJob *a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_slotInfoMessage);

    if (!meth)
    {
        KCompositeJob::slotInfoMessage(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_kdecore_23)(sip_gilstate_t,PyObject *,KJob *,const QString&,const QString&);

    ((sipVH_kdecore_23)(sipModuleAPI_akonadi_kdecore->em_virthandlers[23]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsJob::start()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_start);

    if (!meth)
    {
        Akonadi::Job::start();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipAkonadi_CollectionStatisticsJob::doSuspend()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_doSuspend);

    if (!meth)
        return KJob::doSuspend();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_akonadi_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipAkonadi_CollectionStatisticsJob::doResume()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_doResume);

    if (!meth)
        return KJob::doResume();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_akonadi_QtCore->em_virthandlers[7]))(sipGILState,meth);
}

bool sipAkonadi_CollectionStatisticsJob::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionStatisticsJob::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionStatisticsJob::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsJob::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsJob::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsJob::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsJob::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionStatisticsJob::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipAkonadi_CollectionStatisticsJob::sipProtectVirt_doSuspend(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doSuspend() : doSuspend());
}

bool sipAkonadi_CollectionStatisticsJob::sipProtectVirt_doResume(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? KJob::doResume() : doResume());
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_setCapabilities(KJob::Capabilities a0)
{
    KJob::setCapabilities(a0);
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_setError(int a0)
{
    KJob::setError(a0);
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_setErrorText(const QString& a0)
{
    KJob::setErrorText(a0);
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_setProcessedAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setProcessedAmount(a0,a1);
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_setTotalAmount(KJob::Unit a0,qulonglong a1)
{
    KJob::setTotalAmount(a0,a1);
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_setPercent(unsigned long a0)
{
    KJob::setPercent(a0);
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_emitResult()
{
    KJob::emitResult();
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_emitPercent(qulonglong a0,qulonglong a1)
{
    KJob::emitPercent(a0,a1);
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_emitSpeed(unsigned long a0)
{
    KJob::emitSpeed(a0);
}

bool sipAkonadi_CollectionStatisticsJob::sipProtect_hasSubjobs()
{
    return KCompositeJob::hasSubjobs();
}

const QList<KJob *>& sipAkonadi_CollectionStatisticsJob::sipProtect_subjobs() const
{
    return KCompositeJob::subjobs();
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_clearSubjobs()
{
    KCompositeJob::clearSubjobs();
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_slotInfoMessage(bool sipSelfWasArg,KJob *a0,const QString& a1,const QString& a2)
{
    (sipSelfWasArg ? KCompositeJob::slotInfoMessage(a0,a1,a2) : slotInfoMessage(a0,a1,a2));
}

bool sipAkonadi_CollectionStatisticsJob::sipProtectVirt_addSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? Akonadi::Job::addSubjob(a0) : addSubjob(a0));
}

bool sipAkonadi_CollectionStatisticsJob::sipProtectVirt_removeSubjob(bool sipSelfWasArg,KJob *a0)
{
    return (sipSelfWasArg ? Akonadi::Job::removeSubjob(a0) : removeSubjob(a0));
}

bool sipAkonadi_CollectionStatisticsJob::sipProtectVirt_doKill(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? Akonadi::Job::doKill() : doKill());
}

void sipAkonadi_CollectionStatisticsJob::sipProtect_emitWriteFinished()
{
    Akonadi::Job::emitWriteFinished();
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_slotResult(bool sipSelfWasArg,KJob *a0)
{
    (sipSelfWasArg ? Akonadi::Job::slotResult(a0) : slotResult(a0));
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_doStart(bool sipSelfWasArg)
{
    (sipSelfWasArg ? Akonadi::CollectionStatisticsJob::doStart() : doStart());
}

void sipAkonadi_CollectionStatisticsJob::sipProtectVirt_doHandleResponse(bool sipSelfWasArg,const QByteArray& a0,const QByteArray& a1)
{
    (sipSelfWasArg ? Akonadi::CollectionStatisticsJob::doHandleResponse(a0,a1) : doHandleResponse(a0,a1));
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_receivers(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 17983 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_doSuspend(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_doSuspend(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doSuspend(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_doSuspend, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_doResume(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_doResume(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doResume(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_doResume, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_setCapabilities(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_setCapabilities(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Capabilities * a0;
        int a0State = 0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_KJob_Capabilities, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setCapabilities(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_KJob_Capabilities,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_setCapabilities, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_setError(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_setError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setError(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_setError, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_setErrorText(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_setErrorText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString * a0;
        int a0State = 0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setErrorText(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_setErrorText, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_setProcessedAmount(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_setProcessedAmount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setProcessedAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_setProcessedAmount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_setTotalAmount(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_setTotalAmount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        KJob::Unit a0;
        qulonglong a1;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEo", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_KJob_Unit, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setTotalAmount(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_setTotalAmount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_setPercent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_setPercent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPercent(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_setPercent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_emitResult(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_emitResult(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitResult();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_emitResult, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_emitPercent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_emitPercent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qulonglong a0;
        qulonglong a1;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Boo", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitPercent(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_emitPercent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_emitSpeed(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_emitSpeed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        unsigned long a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bm", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitSpeed(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_emitSpeed, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_hasSubjobs(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_hasSubjobs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hasSubjobs();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_hasSubjobs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_subjobs(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_subjobs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            QList<KJob *> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QList<KJob *>(sipCpp->sipProtect_subjobs());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QList_0101KJob,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_subjobs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_clearSubjobs(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_clearSubjobs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_clearSubjobs();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_clearSubjobs, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_slotInfoMessage(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_slotInfoMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        const QString * a1;
        int a1State = 0;
        const QString * a2;
        int a2State = 0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1J1", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_KJob, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotInfoMessage(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_slotInfoMessage, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_addSubjob(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_addSubjob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_addSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_addSubjob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_removeSubjob(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_removeSubjob(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_KJob, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_removeSubjob(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_removeSubjob, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_doKill(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_doKill(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_doKill(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_doKill, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_emitWriteFinished(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_emitWriteFinished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_emitWriteFinished();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_emitWriteFinished, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_slotResult(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_slotResult(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KJob * a0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_KJob, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_slotResult(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_slotResult, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_statistics(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_statistics(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            Akonadi::CollectionStatistics *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Akonadi::CollectionStatistics(sipCpp->statistics());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Akonadi_CollectionStatistics,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_statistics, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_collection(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_collection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            Akonadi::Collection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Akonadi::Collection(sipCpp->collection());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Akonadi_Collection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_collection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_doStart(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_doStart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_doStart(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_doStart, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsJob_doHandleResponse(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsJob_doHandleResponse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        const QByteArray * a1;
        int a1State = 0;
        sipAkonadi_CollectionStatisticsJob *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_Akonadi_CollectionStatisticsJob, &sipCpp, sipType_QByteArray, &a0, &a0State, sipType_QByteArray, &a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_doHandleResponse(sipSelfWasArg,*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);
            sipReleaseType(const_cast<QByteArray *>(a1),sipType_QByteArray,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsJob, sipName_doHandleResponse, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionStatisticsJob(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionStatisticsJob(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_CollectionStatisticsJob)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Akonadi_Job)->ctd_cast((Akonadi::Job *)(Akonadi::CollectionStatisticsJob *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionStatisticsJob(void *, int);}
static void release_Akonadi_CollectionStatisticsJob(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_CollectionStatisticsJob *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::CollectionStatisticsJob *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_CollectionStatisticsJob(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionStatisticsJob(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_CollectionStatisticsJob *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionStatisticsJob(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_CollectionStatisticsJob(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionStatisticsJob(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipAkonadi_CollectionStatisticsJob *sipCpp = 0;

    {
        const Akonadi::Collection * a0;
        QObject * a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_Akonadi_Collection, &a0, sipType_QObject, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionStatisticsJob(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_CollectionStatisticsJob[] = {{85, 255, 1}};


static PyMethodDef methods_Akonadi_CollectionStatisticsJob[] = {
    {SIP_MLNAME_CAST(sipName_addSubjob), meth_Akonadi_CollectionStatisticsJob_addSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_CollectionStatisticsJob_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSubjobs), meth_Akonadi_CollectionStatisticsJob_clearSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_collection), meth_Akonadi_CollectionStatisticsJob_collection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_CollectionStatisticsJob_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_CollectionStatisticsJob_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_CollectionStatisticsJob_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doHandleResponse), meth_Akonadi_CollectionStatisticsJob_doHandleResponse, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doKill), meth_Akonadi_CollectionStatisticsJob_doKill, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doResume), meth_Akonadi_CollectionStatisticsJob_doResume, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doStart), meth_Akonadi_CollectionStatisticsJob_doStart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_doSuspend), meth_Akonadi_CollectionStatisticsJob_doSuspend, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitPercent), meth_Akonadi_CollectionStatisticsJob_emitPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitResult), meth_Akonadi_CollectionStatisticsJob_emitResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitSpeed), meth_Akonadi_CollectionStatisticsJob_emitSpeed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_emitWriteFinished), meth_Akonadi_CollectionStatisticsJob_emitWriteFinished, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hasSubjobs), meth_Akonadi_CollectionStatisticsJob_hasSubjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_CollectionStatisticsJob_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubjob), meth_Akonadi_CollectionStatisticsJob_removeSubjob, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCapabilities), meth_Akonadi_CollectionStatisticsJob_setCapabilities, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setError), meth_Akonadi_CollectionStatisticsJob_setError, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setErrorText), meth_Akonadi_CollectionStatisticsJob_setErrorText, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPercent), meth_Akonadi_CollectionStatisticsJob_setPercent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProcessedAmount), meth_Akonadi_CollectionStatisticsJob_setProcessedAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setTotalAmount), meth_Akonadi_CollectionStatisticsJob_setTotalAmount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotInfoMessage), meth_Akonadi_CollectionStatisticsJob_slotInfoMessage, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotResult), meth_Akonadi_CollectionStatisticsJob_slotResult, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_statistics), meth_Akonadi_CollectionStatisticsJob_statistics, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_subjobs), meth_Akonadi_CollectionStatisticsJob_subjobs, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_CollectionStatisticsJob_timerEvent, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionStatisticsJob = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionStatisticsJob,
        {0}
    },
    {
        sipNameNr_CollectionStatisticsJob,
        {0, 255, 0},
        30, methods_Akonadi_CollectionStatisticsJob,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_CollectionStatisticsJob,
    0,
    init_Akonadi_CollectionStatisticsJob,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionStatisticsJob,
    0,
    0,
    0,
    release_Akonadi_CollectionStatisticsJob,
    cast_Akonadi_CollectionStatisticsJob,
    0,
    0,
    0
},
    &Akonadi::CollectionStatisticsJob::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionstatisticsdelegate.sip"
#include <akonadi/collectionstatisticsdelegate.h>
#line 18968 "sipakonadipart4.cpp"

#line 37 "/usr/local/share/py-sip/QtGui/qtreeview.sip"
#include <qtreeview.h>
#line 18972 "sipakonadipart4.cpp"
#line 1029 "/usr/local/share/py-sip/QtGui/qstyleoption.sip"
#include <qstyleoption.h>
#line 18975 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 18978 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 18981 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 18984 "sipakonadipart4.cpp"
#line 128 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 18987 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 18990 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 18993 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 18996 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 18999 "sipakonadipart4.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 19002 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 19005 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 19008 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 19011 "sipakonadipart4.cpp"
#line 631 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 19014 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 19017 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 19020 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 19023 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19026 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 19029 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19032 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 19035 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 19038 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 19041 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 19044 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 19047 "sipakonadipart4.cpp"


class sipAkonadi_CollectionStatisticsDelegate : public Akonadi::CollectionStatisticsDelegate
{
public:
    sipAkonadi_CollectionStatisticsDelegate(QTreeView *);
    virtual ~sipAkonadi_CollectionStatisticsDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    bool sipProtectVirt_eventFilter(bool,QObject *,QEvent *);
    bool sipProtectVirt_editorEvent(bool,QEvent *,QAbstractItemModel *,const QStyleOptionViewItem&,const QModelIndex&);
    void sipProtectVirt_paint(bool,QPainter *,const QStyleOptionViewItem&,const QModelIndex&) const;
    void sipProtectVirt_initStyleOption(bool,QStyleOptionViewItem *,const QModelIndex&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void paint(QPainter *,const QStyleOptionViewItem&,const QModelIndex&) const;
    void initStyleOption(QStyleOptionViewItem *,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;
    QWidget * createEditor(QWidget *,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setEditorData(QWidget *,const QModelIndex&) const;
    void setModelData(QWidget *,QAbstractItemModel *,const QModelIndex&) const;
    void updateEditorGeometry(QWidget *,const QStyleOptionViewItem&,const QModelIndex&) const;
    QString displayText(const QVariant&,const QLocale&) const;
    bool eventFilter(QObject *,QEvent *);
    bool editorEvent(QEvent *,QAbstractItemModel *,const QStyleOptionViewItem&,const QModelIndex&);
    bool event(QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipAkonadi_CollectionStatisticsDelegate(const sipAkonadi_CollectionStatisticsDelegate &);
    sipAkonadi_CollectionStatisticsDelegate &operator = (const sipAkonadi_CollectionStatisticsDelegate &);

    char sipPyMethods[16];
};

sipAkonadi_CollectionStatisticsDelegate::sipAkonadi_CollectionStatisticsDelegate(QTreeView *a0): Akonadi::CollectionStatisticsDelegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionStatisticsDelegate::~sipAkonadi_CollectionStatisticsDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_CollectionStatisticsDelegate::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_CollectionStatisticsDelegate);
}

int sipAkonadi_CollectionStatisticsDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::CollectionStatisticsDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_CollectionStatisticsDelegate,_c,_id,_a);

    return _id;
}

void *sipAkonadi_CollectionStatisticsDelegate::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_CollectionStatisticsDelegate,_clname)) ? this : Akonadi::CollectionStatisticsDelegate::qt_metacast(_clname);
}

void sipAkonadi_CollectionStatisticsDelegate::paint(QPainter *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_paint);

    if (!meth)
    {
        Akonadi::CollectionStatisticsDelegate::paint(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_48)(sip_gilstate_t,PyObject *,QPainter *,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_48)(sipModuleAPI_akonadi_QtGui->em_virthandlers[48]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsDelegate::initStyleOption(QStyleOptionViewItem *a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_initStyleOption);

    if (!meth)
    {
        Akonadi::CollectionStatisticsDelegate::initStyleOption(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_74)(sip_gilstate_t,PyObject *,QStyleOptionViewItem *,const QModelIndex&);

    ((sipVH_QtGui_74)(sipModuleAPI_akonadi_QtGui->em_virthandlers[74]))(sipGILState,meth,a0,a1);
}

QSize sipAkonadi_CollectionStatisticsDelegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return QStyledItemDelegate::sizeHint(a0,a1);

    typedef QSize (*sipVH_QtGui_80)(sip_gilstate_t,PyObject *,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_80)(sipModuleAPI_akonadi_QtGui->em_virthandlers[80]))(sipGILState,meth,a0,a1);
}

QWidget * sipAkonadi_CollectionStatisticsDelegate::createEditor(QWidget *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_createEditor);

    if (!meth)
        return QStyledItemDelegate::createEditor(a0,a1,a2);

    typedef QWidget * (*sipVH_QtGui_79)(sip_gilstate_t,PyObject *,QWidget *,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_79)(sipModuleAPI_akonadi_QtGui->em_virthandlers[79]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsDelegate::setEditorData(QWidget *a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_setEditorData);

    if (!meth)
    {
        QStyledItemDelegate::setEditorData(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_78)(sip_gilstate_t,PyObject *,QWidget *,const QModelIndex&);

    ((sipVH_QtGui_78)(sipModuleAPI_akonadi_QtGui->em_virthandlers[78]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionStatisticsDelegate::setModelData(QWidget *a0,QAbstractItemModel *a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_setModelData);

    if (!meth)
    {
        QStyledItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_77)(sip_gilstate_t,PyObject *,QWidget *,QAbstractItemModel *,const QModelIndex&);

    ((sipVH_QtGui_77)(sipModuleAPI_akonadi_QtGui->em_virthandlers[77]))(sipGILState,meth,a0,a1,a2);
}

void sipAkonadi_CollectionStatisticsDelegate::updateEditorGeometry(QWidget *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!meth)
    {
        QStyledItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_76)(sip_gilstate_t,PyObject *,QWidget *,const QStyleOptionViewItem&,const QModelIndex&);

    ((sipVH_QtGui_76)(sipModuleAPI_akonadi_QtGui->em_virthandlers[76]))(sipGILState,meth,a0,a1,a2);
}

QString sipAkonadi_CollectionStatisticsDelegate::displayText(const QVariant& a0,const QLocale& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_displayText);

    if (!meth)
        return QStyledItemDelegate::displayText(a0,a1);

    typedef QString (*sipVH_QtGui_75)(sip_gilstate_t,PyObject *,const QVariant&,const QLocale&);

    return ((sipVH_QtGui_75)(sipModuleAPI_akonadi_QtGui->em_virthandlers[75]))(sipGILState,meth,a0,a1);
}

bool sipAkonadi_CollectionStatisticsDelegate::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QStyledItemDelegate::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

bool sipAkonadi_CollectionStatisticsDelegate::editorEvent(QEvent *a0,QAbstractItemModel *a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_editorEvent);

    if (!meth)
        return QStyledItemDelegate::editorEvent(a0,a1,a2,a3);

    typedef bool (*sipVH_QtGui_73)(sip_gilstate_t,PyObject *,QEvent *,QAbstractItemModel *,const QStyleOptionViewItem&,const QModelIndex&);

    return ((sipVH_QtGui_73)(sipModuleAPI_akonadi_QtGui->em_virthandlers[73]))(sipGILState,meth,a0,a1,a2,a3);
}

bool sipAkonadi_CollectionStatisticsDelegate::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsDelegate::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsDelegate::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        QObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsDelegate::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsDelegate::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionStatisticsDelegate::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionStatisticsDelegate::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

bool sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject *a0,QEvent *a1)
{
    return (sipSelfWasArg ? QStyledItemDelegate::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_editorEvent(bool sipSelfWasArg,QEvent *a0,QAbstractItemModel *a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    return (sipSelfWasArg ? QStyledItemDelegate::editorEvent(a0,a1,a2,a3) : editorEvent(a0,a1,a2,a3));
}

void sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_paint(bool sipSelfWasArg,QPainter *a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    (sipSelfWasArg ? Akonadi::CollectionStatisticsDelegate::paint(a0,a1,a2) : paint(a0,a1,a2));
}

void sipAkonadi_CollectionStatisticsDelegate::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOptionViewItem *a0,const QModelIndex& a1) const
{
    (sipSelfWasArg ? Akonadi::CollectionStatisticsDelegate::initStyleOption(a0,a1) : initStyleOption(a0,a1));
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_receivers(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 19487 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_eventFilter(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_eventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject * a0;
        QEvent * a1;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_eventFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_editorEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_editorEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        QAbstractItemModel * a1;
        const QStyleOptionViewItem * a2;
        const QModelIndex * a3;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9J9", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, sipType_QEvent, &a0, sipType_QAbstractItemModel, &a1, sipType_QStyleOptionViewItem, &a2, sipType_QModelIndex, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_editorEvent(sipSelfWasArg,a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_editorEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_setUnreadCountShown(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_setUnreadCountShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        Akonadi::CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUnreadCountShown(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_setUnreadCountShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_unreadCountShown(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_unreadCountShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unreadCountShown();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_unreadCountShown, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_paint(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter * a0;
        const QStyleOptionViewItem * a1;
        const QModelIndex * a2;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paint(sipSelfWasArg,a0,*a1,*a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_paint, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatisticsDelegate_initStyleOption(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatisticsDelegate_initStyleOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOptionViewItem * a0;
        const QModelIndex * a1;
        sipAkonadi_CollectionStatisticsDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_Akonadi_CollectionStatisticsDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0,*a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatisticsDelegate, sipName_initStyleOption, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionStatisticsDelegate(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionStatisticsDelegate(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_CollectionStatisticsDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyledItemDelegate)->ctd_cast((QStyledItemDelegate *)(Akonadi::CollectionStatisticsDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionStatisticsDelegate(void *, int);}
static void release_Akonadi_CollectionStatisticsDelegate(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_CollectionStatisticsDelegate *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::CollectionStatisticsDelegate *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_CollectionStatisticsDelegate(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionStatisticsDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_CollectionStatisticsDelegate *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionStatisticsDelegate(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_CollectionStatisticsDelegate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionStatisticsDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipAkonadi_CollectionStatisticsDelegate *sipCpp = 0;

    {
        QTreeView * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QTreeView, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionStatisticsDelegate(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_CollectionStatisticsDelegate[] = {{609, 2, 1}};


static PyMethodDef methods_Akonadi_CollectionStatisticsDelegate[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_CollectionStatisticsDelegate_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_CollectionStatisticsDelegate_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_CollectionStatisticsDelegate_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_CollectionStatisticsDelegate_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_editorEvent), meth_Akonadi_CollectionStatisticsDelegate_editorEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), meth_Akonadi_CollectionStatisticsDelegate_eventFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), meth_Akonadi_CollectionStatisticsDelegate_initStyleOption, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_Akonadi_CollectionStatisticsDelegate_paint, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_CollectionStatisticsDelegate_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUnreadCountShown), meth_Akonadi_CollectionStatisticsDelegate_setUnreadCountShown, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_CollectionStatisticsDelegate_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unreadCountShown), meth_Akonadi_CollectionStatisticsDelegate_unreadCountShown, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionStatisticsDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionStatisticsDelegate,
        {0}
    },
    {
        sipNameNr_CollectionStatisticsDelegate,
        {0, 255, 0},
        12, methods_Akonadi_CollectionStatisticsDelegate,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_CollectionStatisticsDelegate,
    0,
    init_Akonadi_CollectionStatisticsDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionStatisticsDelegate,
    0,
    0,
    0,
    release_Akonadi_CollectionStatisticsDelegate,
    cast_Akonadi_CollectionStatisticsDelegate,
    0,
    0,
    0
},
    &Akonadi::CollectionStatisticsDelegate::staticMetaObject,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionstatistics.sip"
#include <akonadi/collectionstatistics.h>
#line 19955 "sipakonadipart4.cpp"



extern "C" {static PyObject *meth_Akonadi_CollectionStatistics_count(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatistics_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionStatistics *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatistics, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatistics, sipName_count, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatistics_setCount(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatistics_setCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        Akonadi::CollectionStatistics *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Akonadi_CollectionStatistics, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCount(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatistics, sipName_setCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatistics_unreadCount(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatistics_unreadCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionStatistics *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatistics, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unreadCount();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatistics, sipName_unreadCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatistics_setUnreadCount(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatistics_setUnreadCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        Akonadi::CollectionStatistics *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Akonadi_CollectionStatistics, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setUnreadCount(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatistics, sipName_setUnreadCount, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatistics_size(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatistics_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionStatistics *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionStatistics, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatistics, sipName_size, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionStatistics_setSize(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionStatistics_setSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        Akonadi::CollectionStatistics *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Akonadi_CollectionStatistics, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setSize(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionStatistics, sipName_setSize, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionStatistics(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionStatistics(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Akonadi_CollectionStatistics)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionStatistics(void *, int);}
static void release_Akonadi_CollectionStatistics(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<Akonadi::CollectionStatistics *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_Akonadi_CollectionStatistics(void *, SIP_SSIZE_T, const void *);}
static void assign_Akonadi_CollectionStatistics(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<Akonadi::CollectionStatistics *>(sipDst)[sipDstIdx] = *reinterpret_cast<const Akonadi::CollectionStatistics *>(sipSrc);
}


extern "C" {static void *array_Akonadi_CollectionStatistics(SIP_SSIZE_T);}
static void *array_Akonadi_CollectionStatistics(SIP_SSIZE_T sipNrElem)
{
    return new Akonadi::CollectionStatistics[sipNrElem];
}


extern "C" {static void *copy_Akonadi_CollectionStatistics(const void *, SIP_SSIZE_T);}
static void *copy_Akonadi_CollectionStatistics(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new Akonadi::CollectionStatistics(reinterpret_cast<const Akonadi::CollectionStatistics *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_Akonadi_CollectionStatistics(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionStatistics(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionStatistics(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_Akonadi_CollectionStatistics(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionStatistics(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    Akonadi::CollectionStatistics *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Akonadi::CollectionStatistics();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const Akonadi::CollectionStatistics * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Akonadi_CollectionStatistics, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new Akonadi::CollectionStatistics(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Akonadi_CollectionStatistics[] = {
    {SIP_MLNAME_CAST(sipName_count), meth_Akonadi_CollectionStatistics_count, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCount), meth_Akonadi_CollectionStatistics_setCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSize), meth_Akonadi_CollectionStatistics_setSize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUnreadCount), meth_Akonadi_CollectionStatistics_setUnreadCount, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_size), meth_Akonadi_CollectionStatistics_size, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_unreadCount), meth_Akonadi_CollectionStatistics_unreadCount, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionStatistics = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionStatistics,
        {0}
    },
    {
        sipNameNr_CollectionStatistics,
        {0, 255, 0},
        6, methods_Akonadi_CollectionStatistics,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Akonadi_CollectionStatistics,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionStatistics,
    assign_Akonadi_CollectionStatistics,
    array_Akonadi_CollectionStatistics,
    copy_Akonadi_CollectionStatistics,
    release_Akonadi_CollectionStatistics,
    cast_Akonadi_CollectionStatistics,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionrequester.sip"
#include <akonadi/collectionrequester.h>
#line 20270 "sipakonadipart4.cpp"

#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20274 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collection.sip"
#include <akonadi/collection.h>
#line 20277 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collection.sip"
#include <akonadi/collection.h>
#line 20280 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 20283 "sipakonadipart4.cpp"
#line 318 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20286 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 20289 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 20292 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20295 "sipakonadipart4.cpp"
#line 399 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20298 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 20301 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qframe.sip"
#include <qframe.h>
#line 20304 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20307 "sipakonadipart4.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 20310 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20313 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20316 "sipakonadipart4.cpp"
#line 45 "/usr/local/share/py-sip/QtGui/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 20319 "sipakonadipart4.cpp"
#line 39 "/usr/local/share/py-sip/QtGui/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 20322 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 20325 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 20328 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 20331 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 20334 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qregion.sip"
#include <qregion.h>
#line 20337 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 20340 "sipakonadipart4.cpp"
#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 20343 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 20346 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 20349 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qfont.sip"
#include <qfont.h>
#line 20352 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20355 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 20358 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 20361 "sipakonadipart4.cpp"
#line 520 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 539 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20366 "sipakonadipart4.cpp"
#line 478 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20369 "sipakonadipart4.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20372 "sipakonadipart4.cpp"
#line 565 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20375 "sipakonadipart4.cpp"
#line 619 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20378 "sipakonadipart4.cpp"
#line 590 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20381 "sipakonadipart4.cpp"
#line 607 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20384 "sipakonadipart4.cpp"
#line 675 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20387 "sipakonadipart4.cpp"
#line 301 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20390 "sipakonadipart4.cpp"
#line 490 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20393 "sipakonadipart4.cpp"
#line 442 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20396 "sipakonadipart4.cpp"
#line 428 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20399 "sipakonadipart4.cpp"
#line 414 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20402 "sipakonadipart4.cpp"
#line 379 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20405 "sipakonadipart4.cpp"
#line 350 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20408 "sipakonadipart4.cpp"
#line 279 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20411 "sipakonadipart4.cpp"
#line 238 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 20414 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qinputcontext.sip"
#include <qinputcontext.h>
#line 20417 "sipakonadipart4.cpp"
#line 68 "/usr/local/share/py-sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 20420 "sipakonadipart4.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qx11info_x11.sip"
#include <qx11info_x11.h>
#line 20423 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20426 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 20429 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtGui/qlayout.sip"
#include <qlayout.h>
#line 20432 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 20435 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 20438 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 20441 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 20444 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qicon.sip"
#include <qicon.h>
#line 20447 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 20450 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qstyle.sip"
#include <qstyle.h>
#line 20453 "sipakonadipart4.cpp"
#line 305 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 20456 "sipakonadipart4.cpp"
#line 40 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 20459 "sipakonadipart4.cpp"
#line 38 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20462 "sipakonadipart4.cpp"
#line 125 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 20465 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 20468 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 20471 "sipakonadipart4.cpp"
#line 37 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 20474 "sipakonadipart4.cpp"


class sipAkonadi_CollectionRequester : public Akonadi::CollectionRequester
{
public:
    sipAkonadi_CollectionRequester(QWidget *);
    sipAkonadi_CollectionRequester(const Akonadi::Collection&,QWidget *);
    virtual ~sipAkonadi_CollectionRequester();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent *);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent *);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent *);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent *);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent *);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent *);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent *);
    void sipProtectVirt_enterEvent(bool,QEvent *);
    void sipProtectVirt_leaveEvent(bool,QEvent *);
    void sipProtectVirt_moveEvent(bool,QMoveEvent *);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent *);
    void sipProtectVirt_closeEvent(bool,QCloseEvent *);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent *);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent *);
    void sipProtectVirt_actionEvent(bool,QActionEvent *);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent *);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent *);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent *);
    void sipProtectVirt_dropEvent(bool,QDropEvent *);
    void sipProtectVirt_showEvent(bool,QShowEvent *);
    void sipProtectVirt_hideEvent(bool,QHideEvent *);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent *);
    void sipProtect_resetInputContext();
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    void sipProtectVirt_enabledChange(bool,bool);
    void sipProtectVirt_paletteChange(bool,const QPalette&);
    void sipProtectVirt_fontChange(bool,const QFont&);
    void sipProtectVirt_windowActivationChange(bool,bool);
    void sipProtectVirt_languageChange(bool);
    bool sipProtectVirt_event(bool,QEvent *);
    void sipProtectVirt_paintEvent(bool,QPaintEvent *);
    void sipProtectVirt_changeEvent(bool,QEvent *);
    void sipProtect_drawFrame(QPainter *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void childEvent(QChildEvent *);
    bool event(QEvent *);
    void paintEvent(QPaintEvent *);
    void changeEvent(QEvent *);
    int devType() const;
    void setVisible(bool);
    int heightForWidth(int) const;
    QPaintEngine * paintEngine() 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 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 *);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void inputMethodEvent(QInputMethodEvent *);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    bool focusNextPrevChild(bool);
    void enabledChange(bool);
    void paletteChange(const QPalette&);
    void fontChange(const QFont&);
    void windowActivationChange(bool);
    void languageChange();
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void customEvent(QEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipAkonadi_CollectionRequester(const sipAkonadi_CollectionRequester &);
    sipAkonadi_CollectionRequester &operator = (const sipAkonadi_CollectionRequester &);

    char sipPyMethods[47];
};

sipAkonadi_CollectionRequester::sipAkonadi_CollectionRequester(QWidget *a0): Akonadi::CollectionRequester(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionRequester::sipAkonadi_CollectionRequester(const Akonadi::Collection& a0,QWidget *a1): Akonadi::CollectionRequester(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionRequester::~sipAkonadi_CollectionRequester()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipAkonadi_CollectionRequester::metaObject() const
{
    return sip_akonadi_qt_metaobject(sipPySelf,sipType_Akonadi_CollectionRequester);
}

int sipAkonadi_CollectionRequester::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = Akonadi::CollectionRequester::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_akonadi_qt_metacall(sipPySelf,sipType_Akonadi_CollectionRequester,_c,_id,_a);

    return _id;
}

void *sipAkonadi_CollectionRequester::qt_metacast(const char *_clname)
{
    return (sip_akonadi_qt_metacast && sip_akonadi_qt_metacast(sipPySelf,sipType_Akonadi_CollectionRequester,_clname)) ? this : Akonadi::CollectionRequester::qt_metacast(_clname);
}

QSize sipAkonadi_CollectionRequester::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_sizeHint);

    if (!meth)
        return KHBox::sizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_akonadi_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

QSize sipAkonadi_CollectionRequester::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!meth)
        return KHBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_4)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_4)(sipModuleAPI_akonadi_QtGui->em_virthandlers[4]))(sipGILState,meth);
}

void sipAkonadi_CollectionRequester::childEvent(QChildEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_childEvent);

    if (!meth)
    {
        KHBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t,PyObject *,QChildEvent *);

    ((sipVH_QtCore_25)(sipModuleAPI_akonadi_QtCore->em_virthandlers[25]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionRequester::event(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_event);

    if (!meth)
        return QFrame::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t,PyObject *,QEvent *);

    return ((sipVH_QtCore_5)(sipModuleAPI_akonadi_QtCore->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::paintEvent(QPaintEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_paintEvent);

    if (!meth)
    {
        QFrame::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t,PyObject *,QPaintEvent *);

    ((sipVH_QtGui_3)(sipModuleAPI_akonadi_QtGui->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::changeEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_changeEvent);

    if (!meth)
    {
        QFrame::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionRequester::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_devType);

    if (!meth)
        return QWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_akonadi_QtCore->em_virthandlers[6]))(sipGILState,meth);
}

void sipAkonadi_CollectionRequester::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setVisible);

    if (!meth)
    {
        QWidget::setVisible(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionRequester::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_heightForWidth);

    if (!meth)
        return QWidget::heightForWidth(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t,PyObject *,int);

    return ((sipVH_QtGui_28)(sipModuleAPI_akonadi_QtGui->em_virthandlers[28]))(sipGILState,meth,a0);
}

QPaintEngine * sipAkonadi_CollectionRequester::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_paintEngine);

    if (!meth)
        return QWidget::paintEngine();

    typedef QPaintEngine * (*sipVH_QtGui_27)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtGui_27)(sipModuleAPI_akonadi_QtGui->em_virthandlers[27]))(sipGILState,meth);
}

void sipAkonadi_CollectionRequester::mousePressEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mousePressEvent);

    if (!meth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::mouseReleaseEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!meth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::mouseDoubleClickEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!meth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::mouseMoveEvent(QMouseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!meth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_26)(sip_gilstate_t,PyObject *,QMouseEvent *);

    ((sipVH_QtGui_26)(sipModuleAPI_akonadi_QtGui->em_virthandlers[26]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::wheelEvent(QWheelEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_wheelEvent);

    if (!meth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t,PyObject *,QWheelEvent *);

    ((sipVH_QtGui_5)(sipModuleAPI_akonadi_QtGui->em_virthandlers[5]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::keyPressEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyPressEvent);

    if (!meth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_akonadi_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::keyReleaseEvent(QKeyEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!meth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_25)(sip_gilstate_t,PyObject *,QKeyEvent *);

    ((sipVH_QtGui_25)(sipModuleAPI_akonadi_QtGui->em_virthandlers[25]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::focusInEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_focusInEvent);

    if (!meth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_akonadi_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::focusOutEvent(QFocusEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusOutEvent);

    if (!meth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t,PyObject *,QFocusEvent *);

    ((sipVH_QtGui_24)(sipModuleAPI_akonadi_QtGui->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::enterEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_enterEvent);

    if (!meth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::leaveEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_leaveEvent);

    if (!meth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::moveEvent(QMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!meth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_23)(sip_gilstate_t,PyObject *,QMoveEvent *);

    ((sipVH_QtGui_23)(sipModuleAPI_akonadi_QtGui->em_virthandlers[23]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::resizeEvent(QResizeEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!meth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t,PyObject *,QResizeEvent *);

    ((sipVH_QtGui_2)(sipModuleAPI_akonadi_QtGui->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::closeEvent(QCloseEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!meth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t,PyObject *,QCloseEvent *);

    ((sipVH_QtGui_22)(sipModuleAPI_akonadi_QtGui->em_virthandlers[22]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::contextMenuEvent(QContextMenuEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!meth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_21)(sip_gilstate_t,PyObject *,QContextMenuEvent *);

    ((sipVH_QtGui_21)(sipModuleAPI_akonadi_QtGui->em_virthandlers[21]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::tabletEvent(QTabletEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_tabletEvent);

    if (!meth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_20)(sip_gilstate_t,PyObject *,QTabletEvent *);

    ((sipVH_QtGui_20)(sipModuleAPI_akonadi_QtGui->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::actionEvent(QActionEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_actionEvent);

    if (!meth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_19)(sip_gilstate_t,PyObject *,QActionEvent *);

    ((sipVH_QtGui_19)(sipModuleAPI_akonadi_QtGui->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::dragEnterEvent(QDragEnterEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!meth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t,PyObject *,QDragEnterEvent *);

    ((sipVH_QtGui_18)(sipModuleAPI_akonadi_QtGui->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::dragMoveEvent(QDragMoveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!meth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t,PyObject *,QDragMoveEvent *);

    ((sipVH_QtGui_17)(sipModuleAPI_akonadi_QtGui->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::dragLeaveEvent(QDragLeaveEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!meth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_16)(sip_gilstate_t,PyObject *,QDragLeaveEvent *);

    ((sipVH_QtGui_16)(sipModuleAPI_akonadi_QtGui->em_virthandlers[16]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::dropEvent(QDropEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dropEvent);

    if (!meth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_15)(sip_gilstate_t,PyObject *,QDropEvent *);

    ((sipVH_QtGui_15)(sipModuleAPI_akonadi_QtGui->em_virthandlers[15]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::showEvent(QShowEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_showEvent);

    if (!meth)
    {
        QWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_1)(sip_gilstate_t,PyObject *,QShowEvent *);

    ((sipVH_QtGui_1)(sipModuleAPI_akonadi_QtGui->em_virthandlers[1]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::hideEvent(QHideEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_hideEvent);

    if (!meth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t,PyObject *,QHideEvent *);

    ((sipVH_QtGui_0)(sipModuleAPI_akonadi_QtGui->em_virthandlers[0]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionRequester::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_metric);

    if (!meth)
        return QWidget::metric(a0);

    typedef int (*sipVH_QtGui_14)(sip_gilstate_t,PyObject *,QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_14)(sipModuleAPI_akonadi_QtGui->em_virthandlers[14]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::inputMethodEvent(QInputMethodEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!meth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_13)(sip_gilstate_t,PyObject *,QInputMethodEvent *);

    ((sipVH_QtGui_13)(sipModuleAPI_akonadi_QtGui->em_virthandlers[13]))(sipGILState,meth,a0);
}

QVariant sipAkonadi_CollectionRequester::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!meth)
        return QWidget::inputMethodQuery(a0);

    typedef QVariant (*sipVH_QtGui_12)(sip_gilstate_t,PyObject *,Qt::InputMethodQuery);

    return ((sipVH_QtGui_12)(sipModuleAPI_akonadi_QtGui->em_virthandlers[12]))(sipGILState,meth,a0);
}

bool sipAkonadi_CollectionRequester::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!meth)
        return QWidget::focusNextPrevChild(a0);

    typedef bool (*sipVH_QtGui_11)(sip_gilstate_t,PyObject *,bool);

    return ((sipVH_QtGui_11)(sipModuleAPI_akonadi_QtGui->em_virthandlers[11]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::enabledChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_enabledChange);

    if (!meth)
    {
        QWidget::enabledChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::paletteChange(const QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_paletteChange);

    if (!meth)
    {
        QWidget::paletteChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_10)(sip_gilstate_t,PyObject *,const QPalette&);

    ((sipVH_QtGui_10)(sipModuleAPI_akonadi_QtGui->em_virthandlers[10]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::fontChange(const QFont& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_fontChange);

    if (!meth)
    {
        QWidget::fontChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t,PyObject *,const QFont&);

    ((sipVH_QtGui_9)(sipModuleAPI_akonadi_QtGui->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::windowActivationChange(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_windowActivationChange);

    if (!meth)
    {
        QWidget::windowActivationChange(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t,PyObject *,bool);

    ((sipVH_QtGui_6)(sipModuleAPI_akonadi_QtGui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::languageChange()
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_languageChange);

    if (!meth)
    {
        QWidget::languageChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t,PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_akonadi_QtCore->em_virthandlers[11]))(sipGILState,meth);
}

bool sipAkonadi_CollectionRequester::eventFilter(QObject *a0,QEvent *a1)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_eventFilter);

    if (!meth)
        return QObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    return ((sipVH_QtCore_18)(sipModuleAPI_akonadi_QtCore->em_virthandlers[18]))(sipGILState,meth,a0,a1);
}

void sipAkonadi_CollectionRequester::timerEvent(QTimerEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!meth)
    {
        QObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t,PyObject *,QTimerEvent *);

    ((sipVH_QtCore_9)(sipModuleAPI_akonadi_QtCore->em_virthandlers[9]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::customEvent(QEvent *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_customEvent);

    if (!meth)
    {
        QObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *);

    ((sipVH_QtCore_17)(sipModuleAPI_akonadi_QtCore->em_virthandlers[17]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::connectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_connectNotify);

    if (!meth)
    {
        QObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

void sipAkonadi_CollectionRequester::disconnectNotify(const char *a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_disconnectNotify);

    if (!meth)
    {
        QObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_24)(sip_gilstate_t,PyObject *,const char *);

    ((sipVH_QtCore_24)(sipModuleAPI_akonadi_QtCore->em_virthandlers[24]))(sipGILState,meth,a0);
}

int sipAkonadi_CollectionRequester::sipProtect_receivers(const char *a0) const
{
    return QObject::receivers(a0);
}

void sipAkonadi_CollectionRequester::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent *a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_connectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const char *a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent *a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent *a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent *a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent *a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent *a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent *a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent *a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent *a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent *a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent *a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent *a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent *a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent *a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipAkonadi_CollectionRequester::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent *a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtect_resetInputContext()
{
    QWidget::resetInputContext();
}

void sipAkonadi_CollectionRequester::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipAkonadi_CollectionRequester::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipAkonadi_CollectionRequester::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipAkonadi_CollectionRequester::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipAkonadi_CollectionRequester::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipAkonadi_CollectionRequester::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

void sipAkonadi_CollectionRequester::sipProtectVirt_enabledChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::enabledChange(a0) : enabledChange(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_paletteChange(bool sipSelfWasArg,const QPalette& a0)
{
    (sipSelfWasArg ? QWidget::paletteChange(a0) : paletteChange(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_fontChange(bool sipSelfWasArg,const QFont& a0)
{
    (sipSelfWasArg ? QWidget::fontChange(a0) : fontChange(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_windowActivationChange(bool sipSelfWasArg,bool a0)
{
    (sipSelfWasArg ? QWidget::windowActivationChange(a0) : windowActivationChange(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_languageChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QWidget::languageChange() : languageChange());
}

bool sipAkonadi_CollectionRequester::sipProtectVirt_event(bool sipSelfWasArg,QEvent *a0)
{
    return (sipSelfWasArg ? QFrame::event(a0) : event(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent *a0)
{
    (sipSelfWasArg ? QFrame::paintEvent(a0) : paintEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipAkonadi_CollectionRequester::sipProtect_drawFrame(QPainter *a0)
{
    QFrame::drawFrame(a0);
}

void sipAkonadi_CollectionRequester::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent *a0)
{
    (sipSelfWasArg ? KHBox::childEvent(a0) : childEvent(a0));
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_receivers(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_receivers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        char * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0))
        {
            int sipRes = 0;

#line 538 "/usr/local/share/py-sip/QtCore/qobject.sip"
        // We need to take into account any proxies for Python signals. Import the
        // helper if it hasn't already been done.
        typedef int (*helper_func)(QObject *, const char *, int);
        
        static helper_func helper = 0;
        
        if (!helper)
            helper = (helper_func)sipImportSymbol("qpycore_qobject_receivers");
        
        if (helper)
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipRes = helper(sipCpp, a0, sipCpp->receivers(a0));
        #else
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
        #endif
#line 21719 "sipakonadipart4.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_receivers, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_timerEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QTimerEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_timerEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_customEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_customEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_customEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_connectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_connectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BG", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_disconnectNotify, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_mousePressEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_mousePressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_mouseReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_mouseReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_mouseDoubleClickEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_mouseDoubleClickEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_mouseMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QMouseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_mouseMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_wheelEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_wheelEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QWheelEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_wheelEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_keyPressEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_keyPressEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_keyReleaseEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QKeyEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_keyReleaseEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_focusInEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_focusInEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_focusInEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_focusOutEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QFocusEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_focusOutEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_enterEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_enterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_enterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_leaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_leaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_leaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_moveEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_moveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_moveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_resizeEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_resizeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QResizeEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_resizeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_closeEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_closeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QCloseEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_closeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_contextMenuEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_contextMenuEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_tabletEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_tabletEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QTabletEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_tabletEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_actionEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_actionEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QActionEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_actionEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_dragEnterEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_dragEnterEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_dragMoveEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_dragMoveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_dragLeaveEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_dragLeaveEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QDropEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_dropEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_showEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_showEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QShowEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_showEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_hideEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_hideEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QHideEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_hideEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_metric(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_metric(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_metric, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_inputMethodEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_inputMethodEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_resetInputContext(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_resetInputContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_resetInputContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_resetInputContext, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_updateMicroFocus(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_updateMicroFocus();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_updateMicroFocus, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_create(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_create(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0 = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|mbb", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0, &a1, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_create(a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_create, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_destroy(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_destroy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|bb", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_destroy(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_destroy, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_focusNextPrevChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_focusNextChild(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_focusNextChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusNextChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_focusNextChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_focusPreviousChild(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_focusPreviousChild();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_focusPreviousChild, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_enabledChange(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_enabledChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_enabledChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_enabledChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_paletteChange(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_paletteChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPalette * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QPalette, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paletteChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_paletteChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_fontChange(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_fontChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFont * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QFont, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_fontChange(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_fontChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_windowActivationChange(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_windowActivationChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_windowActivationChange(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_windowActivationChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_languageChange(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_languageChange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_languageChange(sipSelfWasArg);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_languageChange, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_event(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_event, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_paintEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QPaintEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_paintEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_changeEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_changeEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_changeEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_drawFrame(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_drawFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QPainter, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_drawFrame(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_drawFrame, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_childEvent(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_childEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipAkonadi_CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QChildEvent, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_childEvent, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_collection(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_collection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            Akonadi::Collection *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Akonadi::Collection(sipCpp->collection());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Akonadi_Collection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_collection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_setMimeTypeFilter(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_setMimeTypeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList * a0;
        int a0State = 0;
        Akonadi::CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeTypeFilter(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_setMimeTypeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_mimeTypeFilter(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_mimeTypeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            QStringList *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->mimeTypeFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_mimeTypeFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_setCollection(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_setCollection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const Akonadi::Collection * a0;
        Akonadi::CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_Akonadi_Collection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCollection(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_setCollection, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_setAccessRightsFilter(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_setAccessRightsFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::Collection::Rights * a0;
        int a0State = 0;
        Akonadi::CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp, sipType_Akonadi_Collection_Rights, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAccessRightsFilter(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_Akonadi_Collection_Rights,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_setAccessRightsFilter, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionRequester_accessRightsFilter(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionRequester_accessRightsFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionRequester *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionRequester, &sipCpp))
        {
            Akonadi::Collection::Rights *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new Akonadi::Collection::Rights(sipCpp->accessRightsFilter());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_Akonadi_Collection_Rights,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionRequester, sipName_accessRightsFilter, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionRequester(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionRequester(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_CollectionRequester)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KHBox)->ctd_cast((KHBox *)(Akonadi::CollectionRequester *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionRequester(void *, int);}
static void release_Akonadi_CollectionRequester(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_CollectionRequester *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::CollectionRequester *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_CollectionRequester(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionRequester(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_CollectionRequester *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionRequester(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_CollectionRequester(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionRequester(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipAkonadi_CollectionRequester *sipCpp = 0;

    {
        QWidget * a0 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionRequester(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Akonadi::Collection * a0;
        QWidget * a1 = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9|JH", sipType_Akonadi_Collection, &a0, sipType_QWidget, &a1, sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionRequester(*a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_CollectionRequester[] = {{125, 7, 1}};


static PyMethodDef methods_Akonadi_CollectionRequester[] = {
    {SIP_MLNAME_CAST(sipName_accessRightsFilter), meth_Akonadi_CollectionRequester_accessRightsFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_actionEvent), meth_Akonadi_CollectionRequester_actionEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), meth_Akonadi_CollectionRequester_changeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_Akonadi_CollectionRequester_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), meth_Akonadi_CollectionRequester_closeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_collection), meth_Akonadi_CollectionRequester_collection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_Akonadi_CollectionRequester_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), meth_Akonadi_CollectionRequester_contextMenuEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_Akonadi_CollectionRequester_create, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_Akonadi_CollectionRequester_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), meth_Akonadi_CollectionRequester_destroy, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_Akonadi_CollectionRequester_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), meth_Akonadi_CollectionRequester_dragEnterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), meth_Akonadi_CollectionRequester_dragLeaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), meth_Akonadi_CollectionRequester_dragMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), meth_Akonadi_CollectionRequester_drawFrame, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_Akonadi_CollectionRequester_dropEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enabledChange), meth_Akonadi_CollectionRequester_enabledChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), meth_Akonadi_CollectionRequester_enterEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_Akonadi_CollectionRequester_event, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), meth_Akonadi_CollectionRequester_focusInEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), meth_Akonadi_CollectionRequester_focusNextChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_Akonadi_CollectionRequester_focusNextPrevChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), meth_Akonadi_CollectionRequester_focusOutEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), meth_Akonadi_CollectionRequester_focusPreviousChild, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_fontChange), meth_Akonadi_CollectionRequester_fontChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), meth_Akonadi_CollectionRequester_hideEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), meth_Akonadi_CollectionRequester_inputMethodEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), meth_Akonadi_CollectionRequester_keyPressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), meth_Akonadi_CollectionRequester_keyReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_languageChange), meth_Akonadi_CollectionRequester_languageChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), meth_Akonadi_CollectionRequester_leaveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), meth_Akonadi_CollectionRequester_metric, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypeFilter), meth_Akonadi_CollectionRequester_mimeTypeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), meth_Akonadi_CollectionRequester_mouseDoubleClickEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), meth_Akonadi_CollectionRequester_mouseMoveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), meth_Akonadi_CollectionRequester_mousePressEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), meth_Akonadi_CollectionRequester_mouseReleaseEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), meth_Akonadi_CollectionRequester_moveEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), meth_Akonadi_CollectionRequester_paintEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_paletteChange), meth_Akonadi_CollectionRequester_paletteChange, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_Akonadi_CollectionRequester_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resetInputContext), meth_Akonadi_CollectionRequester_resetInputContext, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), meth_Akonadi_CollectionRequester_resizeEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccessRightsFilter), meth_Akonadi_CollectionRequester_setAccessRightsFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCollection), meth_Akonadi_CollectionRequester_setCollection, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeTypeFilter), meth_Akonadi_CollectionRequester_setMimeTypeFilter, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), meth_Akonadi_CollectionRequester_showEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), meth_Akonadi_CollectionRequester_tabletEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_Akonadi_CollectionRequester_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), meth_Akonadi_CollectionRequester_updateMicroFocus, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), meth_Akonadi_CollectionRequester_wheelEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_windowActivationChange), meth_Akonadi_CollectionRequester_windowActivationChange, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionRequester = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionRequester,
        {0}
    },
    {
        sipNameNr_CollectionRequester,
        {0, 255, 0},
        53, methods_Akonadi_CollectionRequester,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_CollectionRequester,
    0,
    init_Akonadi_CollectionRequester,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionRequester,
    0,
    0,
    0,
    release_Akonadi_CollectionRequester,
    cast_Akonadi_CollectionRequester,
    0,
    0,
    0
},
    &Akonadi::CollectionRequester::staticMetaObject,
    0,
    0
};

#line 25 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionquotaattribute.sip"
#include <akonadi/collectionquotaattribute.h>
#line 23379 "sipakonadipart4.cpp"

#line 43 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23383 "sipakonadipart4.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/attribute.sip"
#include <akonadi/attribute.h>
#line 23386 "sipakonadipart4.cpp"


class sipAkonadi_CollectionQuotaAttribute : public Akonadi::CollectionQuotaAttribute
{
public:
    sipAkonadi_CollectionQuotaAttribute();
    sipAkonadi_CollectionQuotaAttribute(qint64,qint64);
    virtual ~sipAkonadi_CollectionQuotaAttribute();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QByteArray type() const;
    Akonadi::Attribute * clone() const;
    QByteArray serialized() const;
    void deserialize(const QByteArray&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipAkonadi_CollectionQuotaAttribute(const sipAkonadi_CollectionQuotaAttribute &);
    sipAkonadi_CollectionQuotaAttribute &operator = (const sipAkonadi_CollectionQuotaAttribute &);

    char sipPyMethods[4];
};

sipAkonadi_CollectionQuotaAttribute::sipAkonadi_CollectionQuotaAttribute(): Akonadi::CollectionQuotaAttribute(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionQuotaAttribute::sipAkonadi_CollectionQuotaAttribute(qint64 a0,qint64 a1): Akonadi::CollectionQuotaAttribute(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionQuotaAttribute::~sipAkonadi_CollectionQuotaAttribute()
{
    sipCommonDtor(sipPySelf);
}

QByteArray sipAkonadi_CollectionQuotaAttribute::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_type);

    if (!meth)
        return Akonadi::CollectionQuotaAttribute::type();

    typedef QByteArray (*sipVH_QtCore_14)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_14)(sipModuleAPI_akonadi_QtCore->em_virthandlers[14]))(sipGILState,meth);
}

Akonadi::Attribute * sipAkonadi_CollectionQuotaAttribute::clone() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_clone);

    if (!meth)
        return Akonadi::CollectionQuotaAttribute::clone();

    extern Akonadi::Attribute * sipVH_akonadi_17(sip_gilstate_t,PyObject *);

    return sipVH_akonadi_17(sipGILState,meth);
}

QByteArray sipAkonadi_CollectionQuotaAttribute::serialized() const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_serialized);

    if (!meth)
        return Akonadi::CollectionQuotaAttribute::serialized();

    typedef QByteArray (*sipVH_QtCore_14)(sip_gilstate_t,PyObject *);

    return ((sipVH_QtCore_14)(sipModuleAPI_akonadi_QtCore->em_virthandlers[14]))(sipGILState,meth);
}

void sipAkonadi_CollectionQuotaAttribute::deserialize(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_deserialize);

    if (!meth)
    {
        Akonadi::CollectionQuotaAttribute::deserialize(a0);
        return;
    }

    typedef void (*sipVH_QtXml_29)(sip_gilstate_t,PyObject *,const QByteArray&);

    ((sipVH_QtXml_29)(sipModuleAPI_akonadi_QtXml->em_virthandlers[29]))(sipGILState,meth,a0);
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_setCurrentValue(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_setCurrentValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setCurrentValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_setCurrentValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_setMaximumValue(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_setMaximumValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qint64 a0;
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMaximumValue(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_setMaximumValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_currentValue(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_currentValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->currentValue();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_currentValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_maximumValue(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_maximumValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp))
        {
            qint64 sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->maximumValue();
            Py_END_ALLOW_THREADS

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_maximumValue, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_type(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray((sipSelfWasArg ? sipCpp->Akonadi::CollectionQuotaAttribute::type() : sipCpp->type()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_type, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_clone(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_clone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp))
        {
            Akonadi::Attribute *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->Akonadi::CollectionQuotaAttribute::clone() : sipCpp->clone());
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Akonadi_Attribute,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_clone, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_serialized(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_serialized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp))
        {
            QByteArray *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray((sipSelfWasArg ? sipCpp->Akonadi::CollectionQuotaAttribute::serialized() : sipCpp->serialized()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_serialized, NULL);

    return NULL;
}


extern "C" {static PyObject *meth_Akonadi_CollectionQuotaAttribute_deserialize(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionQuotaAttribute_deserialize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray * a0;
        int a0State = 0;
        Akonadi::CollectionQuotaAttribute *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Akonadi_CollectionQuotaAttribute, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->Akonadi::CollectionQuotaAttribute::deserialize(*a0) : sipCpp->deserialize(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionQuotaAttribute, sipName_deserialize, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionQuotaAttribute(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionQuotaAttribute(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_Akonadi_CollectionQuotaAttribute)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_Akonadi_Attribute)->ctd_cast((Akonadi::Attribute *)(Akonadi::CollectionQuotaAttribute *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionQuotaAttribute(void *, int);}
static void release_Akonadi_CollectionQuotaAttribute(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_CollectionQuotaAttribute *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::CollectionQuotaAttribute *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_CollectionQuotaAttribute(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionQuotaAttribute(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_CollectionQuotaAttribute *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionQuotaAttribute(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_CollectionQuotaAttribute(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionQuotaAttribute(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipAkonadi_CollectionQuotaAttribute *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionQuotaAttribute();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        qint64 a0;
        qint64 a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "nn", &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionQuotaAttribute(a0,a1);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_Akonadi_CollectionQuotaAttribute[] = {{19, 255, 1}};


static PyMethodDef methods_Akonadi_CollectionQuotaAttribute[] = {
    {SIP_MLNAME_CAST(sipName_clone), meth_Akonadi_CollectionQuotaAttribute_clone, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_currentValue), meth_Akonadi_CollectionQuotaAttribute_currentValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_deserialize), meth_Akonadi_CollectionQuotaAttribute_deserialize, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumValue), meth_Akonadi_CollectionQuotaAttribute_maximumValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_serialized), meth_Akonadi_CollectionQuotaAttribute_serialized, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentValue), meth_Akonadi_CollectionQuotaAttribute_setCurrentValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumValue), meth_Akonadi_CollectionQuotaAttribute_setMaximumValue, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_Akonadi_CollectionQuotaAttribute_type, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionQuotaAttribute = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionQuotaAttribute,
        {0}
    },
    {
        sipNameNr_CollectionQuotaAttribute,
        {0, 255, 0},
        8, methods_Akonadi_CollectionQuotaAttribute,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_Akonadi_CollectionQuotaAttribute,
    0,
    init_Akonadi_CollectionQuotaAttribute,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionQuotaAttribute,
    0,
    0,
    0,
    release_Akonadi_CollectionQuotaAttribute,
    cast_Akonadi_CollectionQuotaAttribute,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 45 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionpropertiespage.sip"
#include <akonadi/collectionpropertiespage.h>
#line 23867 "sipakonadipart4.cpp"

#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/sip/akonadi/collectionpropertiespage.sip"
#include <akonadi/collectionpropertiespage.h>
#line 23871 "sipakonadipart4.cpp"
#line 41 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 23874 "sipakonadipart4.cpp"


class sipAkonadi_CollectionPropertiesPageFactory : public Akonadi::CollectionPropertiesPageFactory
{
public:
    sipAkonadi_CollectionPropertiesPageFactory();
    sipAkonadi_CollectionPropertiesPageFactory(const Akonadi::CollectionPropertiesPageFactory&);
    virtual ~sipAkonadi_CollectionPropertiesPageFactory();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    Akonadi::CollectionPropertiesPage * createWidget(QWidget *) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipAkonadi_CollectionPropertiesPageFactory(const sipAkonadi_CollectionPropertiesPageFactory &);
    sipAkonadi_CollectionPropertiesPageFactory &operator = (const sipAkonadi_CollectionPropertiesPageFactory &);

    char sipPyMethods[1];
};

sipAkonadi_CollectionPropertiesPageFactory::sipAkonadi_CollectionPropertiesPageFactory(): Akonadi::CollectionPropertiesPageFactory(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionPropertiesPageFactory::sipAkonadi_CollectionPropertiesPageFactory(const Akonadi::CollectionPropertiesPageFactory& a0): Akonadi::CollectionPropertiesPageFactory(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipAkonadi_CollectionPropertiesPageFactory::~sipAkonadi_CollectionPropertiesPageFactory()
{
    sipCommonDtor(sipPySelf);
}

Akonadi::CollectionPropertiesPage * sipAkonadi_CollectionPropertiesPageFactory::createWidget(QWidget *a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_CollectionPropertiesPageFactory,sipName_createWidget);

    if (!meth)
        return 0;

    extern Akonadi::CollectionPropertiesPage * sipVH_akonadi_18(sip_gilstate_t,PyObject *,QWidget *);

    return sipVH_akonadi_18(sipGILState,meth,a0);
}


extern "C" {static PyObject *meth_Akonadi_CollectionPropertiesPageFactory_createWidget(PyObject *, PyObject *);}
static PyObject *meth_Akonadi_CollectionPropertiesPageFactory_createWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QWidget * a0 = 0;
        Akonadi::CollectionPropertiesPageFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B|J:", &sipSelf, sipType_Akonadi_CollectionPropertiesPageFactory, &sipCpp, sipType_QWidget, &a0))
        {
            Akonadi::CollectionPropertiesPage *sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_CollectionPropertiesPageFactory, sipName_createWidget);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->createWidget(a0);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_Akonadi_CollectionPropertiesPage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_CollectionPropertiesPageFactory, sipName_createWidget, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_Akonadi_CollectionPropertiesPageFactory(void *, const sipTypeDef *);}
static void *cast_Akonadi_CollectionPropertiesPageFactory(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_Akonadi_CollectionPropertiesPageFactory)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_Akonadi_CollectionPropertiesPageFactory(void *, int);}
static void release_Akonadi_CollectionPropertiesPageFactory(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipAkonadi_CollectionPropertiesPageFactory *>(sipCppV);
    else
        delete reinterpret_cast<Akonadi::CollectionPropertiesPageFactory *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_Akonadi_CollectionPropertiesPageFactory(sipSimpleWrapper *);}
static void dealloc_Akonadi_CollectionPropertiesPageFactory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipAkonadi_CollectionPropertiesPageFactory *>(sipSelf->u.cppPtr)->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_Akonadi_CollectionPropertiesPageFactory(sipSelf->u.cppPtr,sipSelf->flags);
    }
}


extern "C" {static void *init_Akonadi_CollectionPropertiesPageFactory(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_Akonadi_CollectionPropertiesPageFactory(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipAkonadi_CollectionPropertiesPageFactory *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionPropertiesPageFactory();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const Akonadi::CollectionPropertiesPageFactory * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_Akonadi_CollectionPropertiesPageFactory, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipAkonadi_CollectionPropertiesPageFactory(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_Akonadi_CollectionPropertiesPageFactory[] = {
    {SIP_MLNAME_CAST(sipName_createWidget), meth_Akonadi_CollectionPropertiesPageFactory_createWidget, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef sipTypeDef_akonadi_Akonadi_CollectionPropertiesPageFactory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_Akonadi__CollectionPropertiesPageFactory,
        {0}
    },
    {
        sipNameNr_CollectionPropertiesPageFactory,
        {0, 255, 0},
        1, methods_Akonadi_CollectionPropertiesPageFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_Akonadi_CollectionPropertiesPageFactory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_Akonadi_CollectionPropertiesPageFactory,
    0,
    0,
    0,
    release_Akonadi_CollectionPropertiesPageFactory,
    cast_Akonadi_CollectionPropertiesPageFactory,
    0,
    0,
    0
},
    0,
    0,
    0
};
