/*
 * Module code.
 *
 * Generated by SIP 4.8.2 on Sun Oct 11 20:18:42 2009
 */

#include "sipAPIkparts.h"

#line 130 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/part.sip"
#include <kparts/part.h>
#line 12 "sipkpartspart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 16 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19 "sipkpartspart2.cpp"
#line 32 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kurl.sip"
#include <kurl.h>
#line 22 "sipkpartspart2.cpp"
#line 76 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/event.sip"
#include <kparts/event.h>
#line 25 "sipkpartspart2.cpp"
#line 43 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kio/jobclasses.sip"
#include <jobclasses.h>
#line 28 "sipkpartspart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31 "sipkpartspart2.cpp"
#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/part.sip"
#include <kparts/part.h>
#line 34 "sipkpartspart2.cpp"
#line 126 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/browserextension.sip"
#include <kparts/browserextension.h>
#line 37 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 40 "sipkpartspart2.cpp"
#line 112 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/event.sip"
#include <kparts/event.h>
#line 43 "sipkpartspart2.cpp"
#line 93 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/event.sip"
#include <kparts/event.h>
#line 46 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 49 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 52 "sipkpartspart2.cpp"
#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/part.sip"
#include <kparts/part.h>
#line 55 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 58 "sipkpartspart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/partmanager.sip"
#include <kparts/partmanager.h>
#line 61 "sipkpartspart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 64 "sipkpartspart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 67 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 70 "sipkpartspart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 101 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 104 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 107 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 110 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 113 "sipkpartspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 119 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 122 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 125 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 128 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 131 "sipkpartspart2.cpp"
#line 221 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 134 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 137 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 140 "sipkpartspart2.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 201 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 204 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 207 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 210 "sipkpartspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 213 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 216 "sipkpartspart2.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 221 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 224 "sipkpartspart2.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 227 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 230 "sipkpartspart2.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 233 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 236 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 239 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 242 "sipkpartspart2.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 245 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 250 "sipkpartspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 253 "sipkpartspart2.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 256 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 259 "sipkpartspart2.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 262 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 267 "sipkpartspart2.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 272 "sipkpartspart2.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 277 "sipkpartspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 282 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 285 "sipkpartspart2.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 288 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 291 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 294 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 297 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguibuilder.sip"
#include <kxmlguibuilder.h>
#line 300 "sipkpartspart2.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwidgetitemdelegate.sip"
#include <qlist.h>
#line 114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwindowsystem.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 337 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 340 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 343 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 346 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicontheme.sip"
#include <kicontheme.h>
#line 349 "sipkpartspart2.cpp"
#line 212 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 352 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ksessionmanager.sip"
#include <ksessionmanager.h>
#line 355 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotpoint.sip"
#include <kplotpoint.h>
#line 358 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 361 "sipkpartspart2.cpp"
#line 24 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 364 "sipkpartspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qchar.sip"
#include <qchar.h>
#line 367 "sipkpartspart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kconfigdialogmanager.sip"
#include <kconfigdialogmanager.h>
#line 370 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmainwindow.sip"
#include <kmainwindow.h>
#line 373 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 376 "sipkpartspart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguifactory.sip"
#include <kxmlguifactory.h>
#line 379 "sipkpartspart2.cpp"
#line 345 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 382 "sipkpartspart2.cpp"


class sipKParts_ReadOnlyPart : public KParts::ReadOnlyPart
{
public:
    sipKParts_ReadOnlyPart(QObject *);
    virtual ~sipKParts_ReadOnlyPart();

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

    /* Expose this protected enum. */
    enum sipPluginLoadingMode {
        DoNotLoadPlugins = KParts::PartBase::DoNotLoadPlugins,
        LoadPlugins = KParts::PartBase::LoadPlugins,
        LoadPluginsIfEnabled = KParts::PartBase::LoadPluginsIfEnabled
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_setXMLFile(bool,const QString&,bool,bool);
    void sipProtectVirt_setLocalXMLFile(bool,const QString&);
    void sipProtectVirt_setXML(bool,const QString&,bool);
    void sipProtectVirt_setDOMDocument(bool,const QDomDocument&,bool);
    void sipProtectVirt_stateChanged(bool,const QString&,KXMLGUIClient::ReverseStateChange);
    void sipProtectVirt_setComponentData(bool,const KComponentData&);
    void sipProtectVirt_setComponentData(bool,const KComponentData&,bool);
    void sipProtect_setPluginInterfaceVersion(int);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_setWidget(bool,QWidget *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_partActivateEvent(bool,KParts::PartActivateEvent *);
    void sipProtectVirt_partSelectEvent(bool,KParts::PartSelectEvent *);
    QWidget * sipProtect_hostContainer(const QString&);
    void sipProtect_loadPlugins();
    void sipProtect_slotWidgetDestroyed();
    bool sipProtect_openFile();
    void sipProtect_abortLoad();
    void sipProtectVirt_guiActivateEvent(bool,KParts::GUIActivateEvent *);
    bool sipProtect_isLocalFileTemporary() const;
    void sipProtect_setLocalFileTemporary(bool);
    void sipProtect_setUrl(const KUrl&);
    QString sipProtect_localFilePath() const;
    void sipProtect_setLocalFilePath(const QString&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool openUrl(const KUrl&);
    bool closeUrl();
    bool openFile();
    void guiActivateEvent(KParts::GUIActivateEvent *);
    void embed(QWidget *);
    QWidget * widget();
    void setManager(KParts::PartManager *);
    KParts::Part * hitTest(QWidget *,const QPoint&);
    void setSelectable(bool);
    void setWidget(QWidget *);
    void customEvent(QEvent *);
    void partActivateEvent(KParts::PartActivateEvent *);
    void partSelectEvent(KParts::PartSelectEvent *);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void setComponentData(const KComponentData&);
    void setComponentData(const KComponentData&,bool);
    QAction * action(const QDomElement&) const;
    KActionCollection * actionCollection() const;
    KComponentData componentData() const;
    QDomDocument domDocument() const;
    QString xmlFile() const;
    QString localXMLFile() const;
    void setXMLFile(const QString&,bool,bool);
    void setLocalXMLFile(const QString&);
    void setXML(const QString&,bool);
    void setDOMDocument(const QDomDocument&,bool);
    void stateChanged(const QString&,KXMLGUIClient::ReverseStateChange);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[32];
};

sipKParts_ReadOnlyPart::sipKParts_ReadOnlyPart(QObject *a0): KParts::ReadOnlyPart(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKParts_ReadOnlyPart::metaObject() const
{
    return sip_kparts_qt_metaobject(sipPySelf,sipType_KParts_ReadOnlyPart);
}

int sipKParts_ReadOnlyPart::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KParts::ReadOnlyPart::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kparts_qt_metacall(sipPySelf,sipType_KParts_ReadOnlyPart,_c,_id,_a);

    return _id;
}

void *sipKParts_ReadOnlyPart::qt_metacast(const char *_clname)
{
    return (sip_kparts_qt_metacast && sip_kparts_qt_metacast(sipPySelf,sipType_KParts_ReadOnlyPart,_clname)) ? this : KParts::ReadOnlyPart::qt_metacast(_clname);
}

bool sipKParts_ReadOnlyPart::openUrl(const KUrl& a0)
{
    extern bool sipVH_kparts_5(sip_gilstate_t,PyObject *,const KUrl&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KParts::ReadOnlyPart::openUrl(a0);

    return sipVH_kparts_5(sipGILState,meth,a0);
}

bool sipKParts_ReadOnlyPart::closeUrl()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KParts::ReadOnlyPart::closeUrl();

    return ((sipVH_QtCore_1)(sipModuleAPI_kparts_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

bool sipKParts_ReadOnlyPart::openFile()
{
    typedef bool (*sipVH_QtCore_1)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_ReadOnlyPart,sipName_openFile);

    if (!meth)
        return 0;

    return ((sipVH_QtCore_1)(sipModuleAPI_kparts_QtCore->em_virthandlers[1]))(sipGILState,meth);
}

void sipKParts_ReadOnlyPart::guiActivateEvent(KParts::GUIActivateEvent *a0)
{
    extern void sipVH_kparts_6(sip_gilstate_t,PyObject *,KParts::GUIActivateEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::ReadOnlyPart::guiActivateEvent(a0);
        return;
    }

    sipVH_kparts_6(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::embed(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::embed(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kparts_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

QWidget * sipKParts_ReadOnlyPart::widget()
{
    typedef QWidget * (*sipVH_QtGui_105)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_widget);

    if (!meth)
        return KParts::Part::widget();

    return ((sipVH_QtGui_105)(sipModuleAPI_kparts_QtGui->em_virthandlers[105]))(sipGILState,meth);
}

void sipKParts_ReadOnlyPart::setManager(KParts::PartManager *a0)
{
    extern void sipVH_kparts_10(sip_gilstate_t,PyObject *,KParts::PartManager *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::setManager(a0);
        return;
    }

    sipVH_kparts_10(sipGILState,meth,a0);
}

KParts::Part * sipKParts_ReadOnlyPart::hitTest(QWidget *a0,const QPoint& a1)
{
    extern KParts::Part * sipVH_kparts_9(sip_gilstate_t,PyObject *,QWidget *,const QPoint&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_hitTest);

    if (!meth)
        return KParts::Part::hitTest(a0,a1);

    return sipVH_kparts_9(sipGILState,meth,a0,a1);
}

void sipKParts_ReadOnlyPart::setSelectable(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::setSelectable(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kparts_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::setWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::setWidget(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kparts_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kparts_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::partActivateEvent(KParts::PartActivateEvent *a0)
{
    extern void sipVH_kparts_8(sip_gilstate_t,PyObject *,KParts::PartActivateEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::partActivateEvent(a0);
        return;
    }

    sipVH_kparts_8(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::partSelectEvent(KParts::PartSelectEvent *a0)
{
    extern void sipVH_kparts_7(sip_gilstate_t,PyObject *,KParts::PartSelectEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::partSelectEvent(a0);
        return;
    }

    sipVH_kparts_7(sipGILState,meth,a0);
}

bool sipKParts_ReadOnlyPart::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_13)(sipModuleAPI_kparts_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKParts_ReadOnlyPart::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kparts_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKParts_ReadOnlyPart::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kparts_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kparts_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kparts_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kparts_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::setComponentData(const KComponentData& a0)
{
    typedef void (*sipVH_kdeui_6)(sip_gilstate_t,PyObject *,const KComponentData&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::PartBase::setComponentData(a0);
        return;
    }

    ((sipVH_kdeui_6)(sipModuleAPI_kparts_kdeui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::setComponentData(const KComponentData& a0,bool a1)
{
    extern void sipVH_kparts_11(sip_gilstate_t,PyObject *,const KComponentData&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::PartBase::setComponentData(a0,a1);
        return;
    }

    sipVH_kparts_11(sipGILState,meth,a0,a1);
}

QAction * sipKParts_ReadOnlyPart::action(const QDomElement& a0) const
{
    typedef QAction * (*sipVH_kdeui_10)(sip_gilstate_t,PyObject *,const QDomElement&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::action(a0);

    return ((sipVH_kdeui_10)(sipModuleAPI_kparts_kdeui->em_virthandlers[10]))(sipGILState,meth,a0);
}

KActionCollection * sipKParts_ReadOnlyPart::actionCollection() const
{
    typedef KActionCollection * (*sipVH_kdeui_9)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::actionCollection();

    return ((sipVH_kdeui_9)(sipModuleAPI_kparts_kdeui->em_virthandlers[9]))(sipGILState,meth);
}

KComponentData sipKParts_ReadOnlyPart::componentData() const
{
    typedef KComponentData (*sipVH_kdeui_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::componentData();

    return ((sipVH_kdeui_8)(sipModuleAPI_kparts_kdeui->em_virthandlers[8]))(sipGILState,meth);
}

QDomDocument sipKParts_ReadOnlyPart::domDocument() const
{
    typedef QDomDocument (*sipVH_kdeui_7)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::domDocument();

    return ((sipVH_kdeui_7)(sipModuleAPI_kparts_kdeui->em_virthandlers[7]))(sipGILState,meth);
}

QString sipKParts_ReadOnlyPart::xmlFile() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::xmlFile();

    return ((sipVH_QtCore_58)(sipModuleAPI_kparts_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

QString sipKParts_ReadOnlyPart::localXMLFile() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::localXMLFile();

    return ((sipVH_QtCore_58)(sipModuleAPI_kparts_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

void sipKParts_ReadOnlyPart::setXMLFile(const QString& a0,bool a1,bool a2)
{
    typedef void (*sipVH_kdeui_5)(sip_gilstate_t,PyObject *,const QString&,bool,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setXMLFile);

    if (!meth)
    {
        KXMLGUIClient::setXMLFile(a0,a1,a2);
        return;
    }

    ((sipVH_kdeui_5)(sipModuleAPI_kparts_kdeui->em_virthandlers[5]))(sipGILState,meth,a0,a1,a2);
}

void sipKParts_ReadOnlyPart::setLocalXMLFile(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setLocalXMLFile(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kparts_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKParts_ReadOnlyPart::setXML(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setXML(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kparts_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipKParts_ReadOnlyPart::setDOMDocument(const QDomDocument& a0,bool a1)
{
    typedef void (*sipVH_kdeui_4)(sip_gilstate_t,PyObject *,const QDomDocument&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_setDOMDocument);

    if (!meth)
    {
        KXMLGUIClient::setDOMDocument(a0,a1);
        return;
    }

    ((sipVH_kdeui_4)(sipModuleAPI_kparts_kdeui->em_virthandlers[4]))(sipGILState,meth,a0,a1);
}

void sipKParts_ReadOnlyPart::stateChanged(const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    typedef void (*sipVH_kdeui_3)(sip_gilstate_t,PyObject *,const QString&,KXMLGUIClient::ReverseStateChange);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::stateChanged(a0,a1);
        return;
    }

    ((sipVH_kdeui_3)(sipModuleAPI_kparts_kdeui->em_virthandlers[3]))(sipGILState,meth,a0,a1);
}

void sipKParts_ReadOnlyPart::sipProtectVirt_setXMLFile(bool sipSelfWasArg,const QString& a0,bool a1,bool a2)
{
    (sipSelfWasArg ? KXMLGUIClient::setXMLFile(a0,a1,a2) : setXMLFile(a0,a1,a2));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_setLocalXMLFile(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KXMLGUIClient::setLocalXMLFile(a0) : setLocalXMLFile(a0));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_setXML(bool sipSelfWasArg,const QString& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setXML(a0,a1) : setXML(a0,a1));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_setDOMDocument(bool sipSelfWasArg,const QDomDocument& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setDOMDocument(a0,a1) : setDOMDocument(a0,a1));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_stateChanged(bool sipSelfWasArg,const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    (sipSelfWasArg ? KXMLGUIClient::stateChanged(a0,a1) : stateChanged(a0,a1));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_setComponentData(bool sipSelfWasArg,const KComponentData& a0)
{
    (sipSelfWasArg ? KParts::PartBase::setComponentData(a0) : setComponentData(a0));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_setComponentData(bool sipSelfWasArg,const KComponentData& a0,bool a1)
{
    (sipSelfWasArg ? KParts::PartBase::setComponentData(a0,a1) : setComponentData(a0,a1));
}

void sipKParts_ReadOnlyPart::sipProtect_setPluginInterfaceVersion(int a0)
{
    KParts::PartBase::setPluginInterfaceVersion(a0);
}

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

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

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

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

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

void sipKParts_ReadOnlyPart::sipProtectVirt_setWidget(bool sipSelfWasArg,QWidget *a0)
{
    (sipSelfWasArg ? KParts::Part::setWidget(a0) : setWidget(a0));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? KParts::Part::customEvent(a0) : customEvent(a0));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_partActivateEvent(bool sipSelfWasArg,KParts::PartActivateEvent *a0)
{
    (sipSelfWasArg ? KParts::Part::partActivateEvent(a0) : partActivateEvent(a0));
}

void sipKParts_ReadOnlyPart::sipProtectVirt_partSelectEvent(bool sipSelfWasArg,KParts::PartSelectEvent *a0)
{
    (sipSelfWasArg ? KParts::Part::partSelectEvent(a0) : partSelectEvent(a0));
}

QWidget * sipKParts_ReadOnlyPart::sipProtect_hostContainer(const QString& a0)
{
    return KParts::Part::hostContainer(a0);
}

void sipKParts_ReadOnlyPart::sipProtect_loadPlugins()
{
    KParts::Part::loadPlugins();
}

void sipKParts_ReadOnlyPart::sipProtect_slotWidgetDestroyed()
{
    KParts::Part::slotWidgetDestroyed();
}

bool sipKParts_ReadOnlyPart::sipProtect_openFile()
{
    return openFile();
}

void sipKParts_ReadOnlyPart::sipProtect_abortLoad()
{
    KParts::ReadOnlyPart::abortLoad();
}

void sipKParts_ReadOnlyPart::sipProtectVirt_guiActivateEvent(bool sipSelfWasArg,KParts::GUIActivateEvent *a0)
{
    (sipSelfWasArg ? KParts::ReadOnlyPart::guiActivateEvent(a0) : guiActivateEvent(a0));
}

bool sipKParts_ReadOnlyPart::sipProtect_isLocalFileTemporary() const
{
    return KParts::ReadOnlyPart::isLocalFileTemporary();
}

void sipKParts_ReadOnlyPart::sipProtect_setLocalFileTemporary(bool a0)
{
    KParts::ReadOnlyPart::setLocalFileTemporary(a0);
}

void sipKParts_ReadOnlyPart::sipProtect_setUrl(const KUrl& a0)
{
    KParts::ReadOnlyPart::setUrl(a0);
}

QString sipKParts_ReadOnlyPart::sipProtect_localFilePath() const
{
    return KParts::ReadOnlyPart::localFilePath();
}

void sipKParts_ReadOnlyPart::sipProtect_setLocalFilePath(const QString& a0)
{
    KParts::ReadOnlyPart::setLocalFilePath(a0);
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setXMLFile(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setXMLFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        bool a2 = 1;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|bb",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXMLFile(sipSelfWasArg,*a0,a1,a2);
            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(sipArgsParsed,sipName_ReadOnlyPart,sipName_setXMLFile);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setLocalXMLFile(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setLocalXMLFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setLocalXMLFile(sipSelfWasArg,*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(sipArgsParsed,sipName_ReadOnlyPart,sipName_setLocalXMLFile);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setXML(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setXML(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|b",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXML(sipSelfWasArg,*a0,a1);
            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(sipArgsParsed,sipName_ReadOnlyPart,sipName_setXML);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setDOMDocument(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setDOMDocument(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDomDocument * a0;
        bool a1 = 0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9|b",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QDomDocument,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setDOMDocument(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(sipArgsParsed,sipName_ReadOnlyPart,sipName_setDOMDocument);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_stateChanged(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_stateChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KXMLGUIClient::ReverseStateChange a1 = KXMLGUIClient::StateNoReverse;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|E",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QString,&a0,&a0State,sipType_KXMLGUIClient_ReverseStateChange,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_stateChanged(sipSelfWasArg,*a0,a1);
            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(sipArgsParsed,sipName_ReadOnlyPart,sipName_stateChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setComponentData(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setComponentData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KComponentData * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KComponentData,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setComponentData(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KComponentData * a0;
        bool a1;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9b",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KComponentData,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setComponentData(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(sipArgsParsed,sipName_ReadOnlyPart,sipName_setComponentData);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setPluginInterfaceVersion(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setPluginInterfaceVersion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPluginInterfaceVersion(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_setPluginInterfaceVersion);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_receivers(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 1444 "sipkpartspart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_ReadOnlyPart,&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(sipArgsParsed,sipName_ReadOnlyPart,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_ReadOnlyPart,&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(sipArgsParsed,sipName_ReadOnlyPart,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KParts_ReadOnlyPart,&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(sipArgsParsed,sipName_ReadOnlyPart,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KParts_ReadOnlyPart,&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(sipArgsParsed,sipName_ReadOnlyPart,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setWidget(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setWidget(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_setWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_ReadOnlyPart,&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(sipArgsParsed,sipName_ReadOnlyPart,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_partActivateEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_partActivateEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::PartActivateEvent * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KParts_PartActivateEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_partActivateEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_partActivateEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_partSelectEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_partSelectEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::PartSelectEvent * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KParts_PartSelectEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_partSelectEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_partSelectEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_hostContainer(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_hostContainer(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hostContainer(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_hostContainer);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_loadPlugins(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_loadPlugins(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_loadPlugins();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_loadPlugins);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_slotWidgetDestroyed(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_slotWidgetDestroyed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotWidgetDestroyed();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_slotWidgetDestroyed);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setProgressInfoEnabled(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setProgressInfoEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setProgressInfoEnabled(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_setProgressInfoEnabled);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_isProgressInfoEnabled(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_isProgressInfoEnabled(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isProgressInfoEnabled();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_isProgressInfoEnabled);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_showProgressInfo(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_showProgressInfo(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->showProgressInfo(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_showProgressInfo);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_openUrl(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_openUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KUrl * a0;
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KUrl,&a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KParts::ReadOnlyPart::openUrl(*a0) : sipCpp->openUrl(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_openUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_url(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_url(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            KUrl *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KUrl(sipCpp->url());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_url);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_closeUrl(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_closeUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KParts::ReadOnlyPart::closeUrl() : sipCpp->closeUrl());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_closeUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_browserExtension(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_browserExtension(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            KParts::BrowserExtension *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->browserExtension();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_browserExtension);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setArguments(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setArguments(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KParts::OpenUrlArguments * a0;
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ9",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KParts_OpenUrlArguments,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setArguments(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_setArguments);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_arguments(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_arguments(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            KParts::OpenUrlArguments *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new KParts::OpenUrlArguments(sipCpp->arguments());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_arguments);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_openStream(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_openStream(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        const KUrl * a1;
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1J9",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QString,&a0,&a0State,sipType_KUrl,&a1))
        {
            bool sipRes;

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

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_openStream);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_writeStream(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_writeStream(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QByteArray * a0;
        int a0State = 0;
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QByteArray,&a0,&a0State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->writeStream(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_writeStream);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_closeStream(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_closeStream(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->closeStream();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_closeStream);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_openFile(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_openFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            bool sipRes;

            if (sipSelfWasArg)
            {
                sipAbstractMethod(sipName_ReadOnlyPart, sipName_openFile);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_openFile();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_openFile);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_abortLoad(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_abortLoad(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_abortLoad();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_abortLoad);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_guiActivateEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_guiActivateEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::GUIActivateEvent * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KParts_GUIActivateEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_guiActivateEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_guiActivateEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_isLocalFileTemporary(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_isLocalFileTemporary(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_isLocalFileTemporary();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_isLocalFileTemporary);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setLocalFileTemporary(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setLocalFileTemporary(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pb",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setLocalFileTemporary(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_setLocalFileTemporary);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setUrl(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setUrl(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const KUrl * a0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_KUrl,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setUrl(*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_setUrl);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_localFilePath(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_localFilePath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sipProtect_localFilePath());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_ReadOnlyPart,sipName_localFilePath);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_ReadOnlyPart_setLocalFilePath(PyObject *, PyObject *);}
static PyObject *meth_KParts_ReadOnlyPart_setLocalFilePath(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKParts_ReadOnlyPart *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KParts_ReadOnlyPart,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setLocalFilePath(*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(sipArgsParsed,sipName_ReadOnlyPart,sipName_setLocalFilePath);

    return NULL;
}


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

    if (targetType == sipType_KParts_ReadOnlyPart)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KParts_Part)->ctd_cast((KParts::Part *)(KParts::ReadOnlyPart *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKParts_ReadOnlyPart *>(sipCppV);
    else
        delete reinterpret_cast<KParts::ReadOnlyPart *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


extern "C" {static void *init_KParts_ReadOnlyPart(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KParts_ReadOnlyPart(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKParts_ReadOnlyPart *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKParts_ReadOnlyPart(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KParts_ReadOnlyPart[] = {{20, 255, 1}};


static PyMethodDef methods_KParts_ReadOnlyPart[] = {
    {SIP_MLNAME_CAST(sipName_abortLoad), meth_KParts_ReadOnlyPart_abortLoad, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_arguments), meth_KParts_ReadOnlyPart_arguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_browserExtension), meth_KParts_ReadOnlyPart_browserExtension, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KParts_ReadOnlyPart_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeStream), meth_KParts_ReadOnlyPart_closeStream, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_closeUrl), meth_KParts_ReadOnlyPart_closeUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KParts_ReadOnlyPart_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KParts_ReadOnlyPart_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KParts_ReadOnlyPart_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_guiActivateEvent), meth_KParts_ReadOnlyPart_guiActivateEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hostContainer), meth_KParts_ReadOnlyPart_hostContainer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isLocalFileTemporary), meth_KParts_ReadOnlyPart_isLocalFileTemporary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isProgressInfoEnabled), meth_KParts_ReadOnlyPart_isProgressInfoEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadPlugins), meth_KParts_ReadOnlyPart_loadPlugins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_localFilePath), meth_KParts_ReadOnlyPart_localFilePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openFile), meth_KParts_ReadOnlyPart_openFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openStream), meth_KParts_ReadOnlyPart_openStream, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_openUrl), meth_KParts_ReadOnlyPart_openUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_partActivateEvent), meth_KParts_ReadOnlyPart_partActivateEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_partSelectEvent), meth_KParts_ReadOnlyPart_partSelectEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KParts_ReadOnlyPart_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setArguments), meth_KParts_ReadOnlyPart_setArguments, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KParts_ReadOnlyPart_setComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDOMDocument), meth_KParts_ReadOnlyPart_setDOMDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocalFilePath), meth_KParts_ReadOnlyPart_setLocalFilePath, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocalFileTemporary), meth_KParts_ReadOnlyPart_setLocalFileTemporary, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocalXMLFile), meth_KParts_ReadOnlyPart_setLocalXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPluginInterfaceVersion), meth_KParts_ReadOnlyPart_setPluginInterfaceVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setProgressInfoEnabled), meth_KParts_ReadOnlyPart_setProgressInfoEnabled, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setUrl), meth_KParts_ReadOnlyPart_setUrl, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_KParts_ReadOnlyPart_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXML), meth_KParts_ReadOnlyPart_setXML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXMLFile), meth_KParts_ReadOnlyPart_setXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_showProgressInfo), meth_KParts_ReadOnlyPart_showProgressInfo, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWidgetDestroyed), meth_KParts_ReadOnlyPart_slotWidgetDestroyed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stateChanged), meth_KParts_ReadOnlyPart_stateChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KParts_ReadOnlyPart_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_url), meth_KParts_ReadOnlyPart_url, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_writeStream), meth_KParts_ReadOnlyPart_writeStream, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KParts_ReadOnlyPart[] = {
    {"canceled(const QString&)", 0},
    {"completed()", 0},
    {"completed(bool)", 0},
    {"started(KIO::Job *)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kparts_KParts_ReadOnlyPart = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KParts__ReadOnlyPart,
        {0}
    },
    sipNameNr_ReadOnlyPart,
    -1,
    -1,
    {0, 255, 0},
    supers_KParts_ReadOnlyPart,
    0,
    39, methods_KParts_ReadOnlyPart,
    0, 0,
    0, 0,
    init_KParts_ReadOnlyPart,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_ReadOnlyPart,
    release_KParts_ReadOnlyPart,
    cast_KParts_ReadOnlyPart,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KParts::ReadOnlyPart::staticMetaObject,
    0,
    pyqt4_signals_KParts_ReadOnlyPart
};

#line 103 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/part.sip"
#include <kparts/part.h>
#line 2498 "sipkpartspart2.cpp"

#line 137 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kservicetype.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 43 "/usr/local/share/py-sip/QtCore/qmap.sip"
#include <qmap.h>
#line 2506 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2509 "sipkpartspart2.cpp"
#line 49 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/ktimezone.sip"
#include <ktimezone.h>
#line 2512 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2515 "sipkpartspart2.cpp"


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_reload(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_reload(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->reload();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_reload);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_setReload(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_setReload(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setReload(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_setReload);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_xOffset(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_xOffset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->xOffset();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_xOffset);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_setXOffset(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_setXOffset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setXOffset(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_setXOffset);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_yOffset(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_yOffset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp))
        {
            int sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->yOffset();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_yOffset);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_setYOffset(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_setYOffset(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bi",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setYOffset(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_setYOffset);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_mimeType(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_mimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp))
        {
            QString *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->mimeType());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_mimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_setMimeType(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_setMimeType(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ1",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setMimeType(*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(sipArgsParsed,sipName_OpenUrlArguments,sipName_setMimeType);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_actionRequestedByUser(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_actionRequestedByUser(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->actionRequestedByUser();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_actionRequestedByUser);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_setActionRequestedByUser(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_setActionRequestedByUser(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setActionRequestedByUser(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_setActionRequestedByUser);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_OpenUrlArguments_metaData(PyObject *, PyObject *);}
static PyObject *meth_KParts_OpenUrlArguments_metaData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::OpenUrlArguments *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_OpenUrlArguments,&sipCpp))
        {
            QMap<QString,QString> *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &sipCpp->metaData();
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromType(sipRes,sipType_QMap_0200QString_0200QString,NULL);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_OpenUrlArguments,sipName_metaData);

    return NULL;
}


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

    return NULL;
}


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

    delete reinterpret_cast<KParts::OpenUrlArguments *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_KParts_OpenUrlArguments(void *, const void*);}
static void assign_KParts_OpenUrlArguments(void *sipDst, const void *sipSrc)
{
    *reinterpret_cast<KParts::OpenUrlArguments *>(sipDst) = *reinterpret_cast<const KParts::OpenUrlArguments *>(sipSrc);
}


extern "C" {static void dealloc_KParts_OpenUrlArguments(sipSimpleWrapper *);}
static void dealloc_KParts_OpenUrlArguments(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_KParts_OpenUrlArguments(sipSelf->u.cppPtr,0);
    }
}


extern "C" {static void *init_KParts_OpenUrlArguments(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KParts_OpenUrlArguments(sipSimpleWrapper *, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    KParts::OpenUrlArguments *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KParts::OpenUrlArguments();
            Py_END_ALLOW_THREADS
        }
    }

    if (!sipCpp)
    {
        const KParts::OpenUrlArguments * a0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"J9",sipType_KParts_OpenUrlArguments,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new KParts::OpenUrlArguments(*a0);
            Py_END_ALLOW_THREADS
        }
    }

    return sipCpp;
}


static PyMethodDef methods_KParts_OpenUrlArguments[] = {
    {SIP_MLNAME_CAST(sipName_actionRequestedByUser), meth_KParts_OpenUrlArguments_actionRequestedByUser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_metaData), meth_KParts_OpenUrlArguments_metaData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeType), meth_KParts_OpenUrlArguments_mimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_reload), meth_KParts_OpenUrlArguments_reload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setActionRequestedByUser), meth_KParts_OpenUrlArguments_setActionRequestedByUser, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setMimeType), meth_KParts_OpenUrlArguments_setMimeType, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setReload), meth_KParts_OpenUrlArguments_setReload, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXOffset), meth_KParts_OpenUrlArguments_setXOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setYOffset), meth_KParts_OpenUrlArguments_setYOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_xOffset), meth_KParts_OpenUrlArguments_xOffset, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_yOffset), meth_KParts_OpenUrlArguments_yOffset, METH_VARARGS, NULL}
};


pyqt4ClassTypeDef pyqt4Type_kparts_KParts_OpenUrlArguments = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KParts__OpenUrlArguments,
        {0}
    },
    sipNameNr_OpenUrlArguments,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    -1,
    {0, 255, 0},
    0,
    0,
    11, methods_KParts_OpenUrlArguments,
    0, 0,
    0, 0,
    init_KParts_OpenUrlArguments,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_OpenUrlArguments,
    release_KParts_OpenUrlArguments,
    cast_KParts_OpenUrlArguments,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    assign_KParts_OpenUrlArguments,
    0,
    0,
    0
};

#line 61 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/part.sip"
#include <kparts/part.h>
#line 2953 "sipkpartspart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 2957 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 2960 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2963 "sipkpartspart2.cpp"
#line 76 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/event.sip"
#include <kparts/event.h>
#line 2966 "sipkpartspart2.cpp"
#line 112 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/event.sip"
#include <kparts/event.h>
#line 2969 "sipkpartspart2.cpp"
#line 93 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/event.sip"
#include <kparts/event.h>
#line 2972 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2975 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kiconloader.sip"
#include <kiconloader.h>
#line 2978 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 2981 "sipkpartspart2.cpp"
#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/partmanager.sip"
#include <kparts/partmanager.h>
#line 2984 "sipkpartspart2.cpp"
#line 297 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2987 "sipkpartspart2.cpp"
#line 284 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 2990 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 2993 "sipkpartspart2.cpp"
#line 328 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 424 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 637 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 699 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 721 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 210 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 3024 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 3027 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 3030 "sipkpartspart2.cpp"
#line 48 "/usr/local/share/py-sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 3033 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3036 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 3039 "sipkpartspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 3042 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qthread.sip"
#include <qthread.h>
#line 3045 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 3048 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 3051 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 3054 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 3057 "sipkpartspart2.cpp"
#line 221 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 3060 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 3063 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3066 "sipkpartspart2.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3127 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 3130 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 3133 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 3136 "sipkpartspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 3139 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 3142 "sipkpartspart2.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 3147 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 3150 "sipkpartspart2.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 3153 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 3156 "sipkpartspart2.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 3159 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 3162 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 3165 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 3168 "sipkpartspart2.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 3171 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 3176 "sipkpartspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 3179 "sipkpartspart2.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 3182 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 3185 "sipkpartspart2.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 3188 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 3193 "sipkpartspart2.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 3198 "sipkpartspart2.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 3203 "sipkpartspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 3208 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 3211 "sipkpartspart2.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 3214 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 3217 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 3220 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 3223 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguibuilder.sip"
#include <kxmlguibuilder.h>
#line 3226 "sipkpartspart2.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwidgetitemdelegate.sip"
#include <qlist.h>
#line 114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwindowsystem.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 3263 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 3266 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 3269 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 3272 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicontheme.sip"
#include <kicontheme.h>
#line 3275 "sipkpartspart2.cpp"
#line 212 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 3278 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ksessionmanager.sip"
#include <ksessionmanager.h>
#line 3281 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotpoint.sip"
#include <kplotpoint.h>
#line 3284 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 3287 "sipkpartspart2.cpp"
#line 24 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 3290 "sipkpartspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qchar.sip"
#include <qchar.h>
#line 3293 "sipkpartspart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kconfigdialogmanager.sip"
#include <kconfigdialogmanager.h>
#line 3296 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmainwindow.sip"
#include <kmainwindow.h>
#line 3299 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 3302 "sipkpartspart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguifactory.sip"
#include <kxmlguifactory.h>
#line 3305 "sipkpartspart2.cpp"
#line 345 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 3308 "sipkpartspart2.cpp"


class sipKParts_Part : public KParts::Part
{
public:
    sipKParts_Part(QObject *);
    virtual ~sipKParts_Part();

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

    /* Expose this protected enum. */
    enum sipPluginLoadingMode {
        DoNotLoadPlugins = KParts::PartBase::DoNotLoadPlugins,
        LoadPlugins = KParts::PartBase::LoadPlugins,
        LoadPluginsIfEnabled = KParts::PartBase::LoadPluginsIfEnabled
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_setXMLFile(bool,const QString&,bool,bool);
    void sipProtectVirt_setLocalXMLFile(bool,const QString&);
    void sipProtectVirt_setXML(bool,const QString&,bool);
    void sipProtectVirt_setDOMDocument(bool,const QDomDocument&,bool);
    void sipProtectVirt_stateChanged(bool,const QString&,KXMLGUIClient::ReverseStateChange);
    void sipProtectVirt_setComponentData(bool,const KComponentData&);
    void sipProtectVirt_setComponentData(bool,const KComponentData&,bool);
    void sipProtect_setPluginInterfaceVersion(int);
    int sipProtect_receivers(const char *) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent *);
    void sipProtectVirt_childEvent(bool,QChildEvent *);
    void sipProtectVirt_connectNotify(bool,const char *);
    void sipProtectVirt_disconnectNotify(bool,const char *);
    void sipProtectVirt_setWidget(bool,QWidget *);
    void sipProtectVirt_customEvent(bool,QEvent *);
    void sipProtectVirt_partActivateEvent(bool,KParts::PartActivateEvent *);
    void sipProtectVirt_partSelectEvent(bool,KParts::PartSelectEvent *);
    void sipProtectVirt_guiActivateEvent(bool,KParts::GUIActivateEvent *);
    QWidget * sipProtect_hostContainer(const QString&);
    void sipProtect_loadPlugins();
    void sipProtect_slotWidgetDestroyed();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void embed(QWidget *);
    QWidget * widget();
    void setManager(KParts::PartManager *);
    KParts::Part * hitTest(QWidget *,const QPoint&);
    void setSelectable(bool);
    void setWidget(QWidget *);
    void customEvent(QEvent *);
    void partActivateEvent(KParts::PartActivateEvent *);
    void partSelectEvent(KParts::PartSelectEvent *);
    void guiActivateEvent(KParts::GUIActivateEvent *);
    bool event(QEvent *);
    bool eventFilter(QObject *,QEvent *);
    void timerEvent(QTimerEvent *);
    void childEvent(QChildEvent *);
    void connectNotify(const char *);
    void disconnectNotify(const char *);
    void setComponentData(const KComponentData&);
    void setComponentData(const KComponentData&,bool);
    QAction * action(const QDomElement&) const;
    KActionCollection * actionCollection() const;
    KComponentData componentData() const;
    QDomDocument domDocument() const;
    QString xmlFile() const;
    QString localXMLFile() const;
    void setXMLFile(const QString&,bool,bool);
    void setLocalXMLFile(const QString&);
    void setXML(const QString&,bool);
    void setDOMDocument(const QDomDocument&,bool);
    void stateChanged(const QString&,KXMLGUIClient::ReverseStateChange);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[29];
};

sipKParts_Part::sipKParts_Part(QObject *a0): KParts::Part(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipKParts_Part::metaObject() const
{
    return sip_kparts_qt_metaobject(sipPySelf,sipType_KParts_Part);
}

int sipKParts_Part::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = KParts::Part::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_kparts_qt_metacall(sipPySelf,sipType_KParts_Part,_c,_id,_a);

    return _id;
}

void *sipKParts_Part::qt_metacast(const char *_clname)
{
    return (sip_kparts_qt_metacast && sip_kparts_qt_metacast(sipPySelf,sipType_KParts_Part,_clname)) ? this : KParts::Part::qt_metacast(_clname);
}

void sipKParts_Part::embed(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::embed(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kparts_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

QWidget * sipKParts_Part::widget()
{
    typedef QWidget * (*sipVH_QtGui_105)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KParts::Part::widget();

    return ((sipVH_QtGui_105)(sipModuleAPI_kparts_QtGui->em_virthandlers[105]))(sipGILState,meth);
}

void sipKParts_Part::setManager(KParts::PartManager *a0)
{
    extern void sipVH_kparts_10(sip_gilstate_t,PyObject *,KParts::PartManager *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::setManager(a0);
        return;
    }

    sipVH_kparts_10(sipGILState,meth,a0);
}

KParts::Part * sipKParts_Part::hitTest(QWidget *a0,const QPoint& a1)
{
    extern KParts::Part * sipVH_kparts_9(sip_gilstate_t,PyObject *,QWidget *,const QPoint&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KParts::Part::hitTest(a0,a1);

    return sipVH_kparts_9(sipGILState,meth,a0,a1);
}

void sipKParts_Part::setSelectable(bool a0)
{
    typedef void (*sipVH_QtNetwork_2)(sip_gilstate_t,PyObject *,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::setSelectable(a0);
        return;
    }

    ((sipVH_QtNetwork_2)(sipModuleAPI_kparts_QtNetwork->em_virthandlers[2]))(sipGILState,meth,a0);
}

void sipKParts_Part::setWidget(QWidget *a0)
{
    typedef void (*sipVH_QtGui_8)(sip_gilstate_t,PyObject *,QWidget *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setWidget);

    if (!meth)
    {
        KParts::Part::setWidget(a0);
        return;
    }

    ((sipVH_QtGui_8)(sipModuleAPI_kparts_QtGui->em_virthandlers[8]))(sipGILState,meth,a0);
}

void sipKParts_Part::customEvent(QEvent *a0)
{
    typedef void (*sipVH_QtCore_19)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_19)(sipModuleAPI_kparts_QtCore->em_virthandlers[19]))(sipGILState,meth,a0);
}

void sipKParts_Part::partActivateEvent(KParts::PartActivateEvent *a0)
{
    extern void sipVH_kparts_8(sip_gilstate_t,PyObject *,KParts::PartActivateEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_partActivateEvent);

    if (!meth)
    {
        KParts::Part::partActivateEvent(a0);
        return;
    }

    sipVH_kparts_8(sipGILState,meth,a0);
}

void sipKParts_Part::partSelectEvent(KParts::PartSelectEvent *a0)
{
    extern void sipVH_kparts_7(sip_gilstate_t,PyObject *,KParts::PartSelectEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::partSelectEvent(a0);
        return;
    }

    sipVH_kparts_7(sipGILState,meth,a0);
}

void sipKParts_Part::guiActivateEvent(KParts::GUIActivateEvent *a0)
{
    extern void sipVH_kparts_6(sip_gilstate_t,PyObject *,KParts::GUIActivateEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::Part::guiActivateEvent(a0);
        return;
    }

    sipVH_kparts_6(sipGILState,meth,a0);
}

bool sipKParts_Part::event(QEvent *a0)
{
    typedef bool (*sipVH_QtCore_13)(sip_gilstate_t,PyObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_13)(sipModuleAPI_kparts_QtCore->em_virthandlers[13]))(sipGILState,meth,a0);
}

bool sipKParts_Part::eventFilter(QObject *a0,QEvent *a1)
{
    typedef bool (*sipVH_QtCore_21)(sip_gilstate_t,PyObject *,QObject *,QEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    return ((sipVH_QtCore_21)(sipModuleAPI_kparts_QtCore->em_virthandlers[21]))(sipGILState,meth,a0,a1);
}

void sipKParts_Part::timerEvent(QTimerEvent *a0)
{
    typedef void (*sipVH_QtCore_3)(sip_gilstate_t,PyObject *,QTimerEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_3)(sipModuleAPI_kparts_QtCore->em_virthandlers[3]))(sipGILState,meth,a0);
}

void sipKParts_Part::childEvent(QChildEvent *a0)
{
    typedef void (*sipVH_QtCore_20)(sip_gilstate_t,PyObject *,QChildEvent *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_20)(sipModuleAPI_kparts_QtCore->em_virthandlers[20]))(sipGILState,meth,a0);
}

void sipKParts_Part::connectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kparts_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKParts_Part::disconnectNotify(const char *a0)
{
    typedef void (*sipVH_QtCore_18)(sip_gilstate_t,PyObject *,const char *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

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

    ((sipVH_QtCore_18)(sipModuleAPI_kparts_QtCore->em_virthandlers[18]))(sipGILState,meth,a0);
}

void sipKParts_Part::setComponentData(const KComponentData& a0)
{
    typedef void (*sipVH_kdeui_6)(sip_gilstate_t,PyObject *,const KComponentData&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::PartBase::setComponentData(a0);
        return;
    }

    ((sipVH_kdeui_6)(sipModuleAPI_kparts_kdeui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKParts_Part::setComponentData(const KComponentData& a0,bool a1)
{
    extern void sipVH_kparts_11(sip_gilstate_t,PyObject *,const KComponentData&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::PartBase::setComponentData(a0,a1);
        return;
    }

    sipVH_kparts_11(sipGILState,meth,a0,a1);
}

QAction * sipKParts_Part::action(const QDomElement& a0) const
{
    typedef QAction * (*sipVH_kdeui_10)(sip_gilstate_t,PyObject *,const QDomElement&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::action(a0);

    return ((sipVH_kdeui_10)(sipModuleAPI_kparts_kdeui->em_virthandlers[10]))(sipGILState,meth,a0);
}

KActionCollection * sipKParts_Part::actionCollection() const
{
    typedef KActionCollection * (*sipVH_kdeui_9)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::actionCollection();

    return ((sipVH_kdeui_9)(sipModuleAPI_kparts_kdeui->em_virthandlers[9]))(sipGILState,meth);
}

KComponentData sipKParts_Part::componentData() const
{
    typedef KComponentData (*sipVH_kdeui_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::componentData();

    return ((sipVH_kdeui_8)(sipModuleAPI_kparts_kdeui->em_virthandlers[8]))(sipGILState,meth);
}

QDomDocument sipKParts_Part::domDocument() const
{
    typedef QDomDocument (*sipVH_kdeui_7)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::domDocument();

    return ((sipVH_kdeui_7)(sipModuleAPI_kparts_kdeui->em_virthandlers[7]))(sipGILState,meth);
}

QString sipKParts_Part::xmlFile() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::xmlFile();

    return ((sipVH_QtCore_58)(sipModuleAPI_kparts_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

QString sipKParts_Part::localXMLFile() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::localXMLFile();

    return ((sipVH_QtCore_58)(sipModuleAPI_kparts_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

void sipKParts_Part::setXMLFile(const QString& a0,bool a1,bool a2)
{
    typedef void (*sipVH_kdeui_5)(sip_gilstate_t,PyObject *,const QString&,bool,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setXMLFile(a0,a1,a2);
        return;
    }

    ((sipVH_kdeui_5)(sipModuleAPI_kparts_kdeui->em_virthandlers[5]))(sipGILState,meth,a0,a1,a2);
}

void sipKParts_Part::setLocalXMLFile(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setLocalXMLFile(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kparts_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKParts_Part::setXML(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setXML(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kparts_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipKParts_Part::setDOMDocument(const QDomDocument& a0,bool a1)
{
    typedef void (*sipVH_kdeui_4)(sip_gilstate_t,PyObject *,const QDomDocument&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

    meth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setDOMDocument);

    if (!meth)
    {
        KXMLGUIClient::setDOMDocument(a0,a1);
        return;
    }

    ((sipVH_kdeui_4)(sipModuleAPI_kparts_kdeui->em_virthandlers[4]))(sipGILState,meth,a0,a1);
}

void sipKParts_Part::stateChanged(const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    typedef void (*sipVH_kdeui_3)(sip_gilstate_t,PyObject *,const QString&,KXMLGUIClient::ReverseStateChange);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::stateChanged(a0,a1);
        return;
    }

    ((sipVH_kdeui_3)(sipModuleAPI_kparts_kdeui->em_virthandlers[3]))(sipGILState,meth,a0,a1);
}

void sipKParts_Part::sipProtectVirt_setXMLFile(bool sipSelfWasArg,const QString& a0,bool a1,bool a2)
{
    (sipSelfWasArg ? KXMLGUIClient::setXMLFile(a0,a1,a2) : setXMLFile(a0,a1,a2));
}

void sipKParts_Part::sipProtectVirt_setLocalXMLFile(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KXMLGUIClient::setLocalXMLFile(a0) : setLocalXMLFile(a0));
}

void sipKParts_Part::sipProtectVirt_setXML(bool sipSelfWasArg,const QString& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setXML(a0,a1) : setXML(a0,a1));
}

void sipKParts_Part::sipProtectVirt_setDOMDocument(bool sipSelfWasArg,const QDomDocument& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setDOMDocument(a0,a1) : setDOMDocument(a0,a1));
}

void sipKParts_Part::sipProtectVirt_stateChanged(bool sipSelfWasArg,const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    (sipSelfWasArg ? KXMLGUIClient::stateChanged(a0,a1) : stateChanged(a0,a1));
}

void sipKParts_Part::sipProtectVirt_setComponentData(bool sipSelfWasArg,const KComponentData& a0)
{
    (sipSelfWasArg ? KParts::PartBase::setComponentData(a0) : setComponentData(a0));
}

void sipKParts_Part::sipProtectVirt_setComponentData(bool sipSelfWasArg,const KComponentData& a0,bool a1)
{
    (sipSelfWasArg ? KParts::PartBase::setComponentData(a0,a1) : setComponentData(a0,a1));
}

void sipKParts_Part::sipProtect_setPluginInterfaceVersion(int a0)
{
    KParts::PartBase::setPluginInterfaceVersion(a0);
}

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

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

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

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

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

void sipKParts_Part::sipProtectVirt_setWidget(bool sipSelfWasArg,QWidget *a0)
{
    (sipSelfWasArg ? KParts::Part::setWidget(a0) : setWidget(a0));
}

void sipKParts_Part::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent *a0)
{
    (sipSelfWasArg ? KParts::Part::customEvent(a0) : customEvent(a0));
}

void sipKParts_Part::sipProtectVirt_partActivateEvent(bool sipSelfWasArg,KParts::PartActivateEvent *a0)
{
    (sipSelfWasArg ? KParts::Part::partActivateEvent(a0) : partActivateEvent(a0));
}

void sipKParts_Part::sipProtectVirt_partSelectEvent(bool sipSelfWasArg,KParts::PartSelectEvent *a0)
{
    (sipSelfWasArg ? KParts::Part::partSelectEvent(a0) : partSelectEvent(a0));
}

void sipKParts_Part::sipProtectVirt_guiActivateEvent(bool sipSelfWasArg,KParts::GUIActivateEvent *a0)
{
    (sipSelfWasArg ? KParts::Part::guiActivateEvent(a0) : guiActivateEvent(a0));
}

QWidget * sipKParts_Part::sipProtect_hostContainer(const QString& a0)
{
    return KParts::Part::hostContainer(a0);
}

void sipKParts_Part::sipProtect_loadPlugins()
{
    KParts::Part::loadPlugins();
}

void sipKParts_Part::sipProtect_slotWidgetDestroyed()
{
    KParts::Part::slotWidgetDestroyed();
}


extern "C" {static PyObject *meth_KParts_Part_setXMLFile(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setXMLFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        bool a2 = 1;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|bb",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXMLFile(sipSelfWasArg,*a0,a1,a2);
            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(sipArgsParsed,sipName_Part,sipName_setXMLFile);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setLocalXMLFile(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setLocalXMLFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setLocalXMLFile(sipSelfWasArg,*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(sipArgsParsed,sipName_Part,sipName_setLocalXMLFile);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setXML(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setXML(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|b",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXML(sipSelfWasArg,*a0,a1);
            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(sipArgsParsed,sipName_Part,sipName_setXML);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setDOMDocument(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setDOMDocument(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDomDocument * a0;
        bool a1 = 0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9|b",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QDomDocument,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setDOMDocument(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(sipArgsParsed,sipName_Part,sipName_setDOMDocument);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_stateChanged(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_stateChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KXMLGUIClient::ReverseStateChange a1 = KXMLGUIClient::StateNoReverse;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|E",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QString,&a0,&a0State,sipType_KXMLGUIClient_ReverseStateChange,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_stateChanged(sipSelfWasArg,*a0,a1);
            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(sipArgsParsed,sipName_Part,sipName_stateChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setComponentData(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setComponentData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KComponentData * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_KComponentData,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setComponentData(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KComponentData * a0;
        bool a1;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9b",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_KComponentData,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setComponentData(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(sipArgsParsed,sipName_Part,sipName_setComponentData);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setPluginInterfaceVersion(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setPluginInterfaceVersion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KParts_Part,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPluginInterfaceVersion(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_setPluginInterfaceVersion);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_receivers(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_receivers(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        char * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KParts_Part,&sipCpp,&a0))
        {
            int sipRes = 0;

#line 462 "/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)
            sipRes = helper(sipCpp, a0, sipCpp->sipProtect_receivers(a0));
#line 4280 "sipkpartspart2.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_timerEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_timerEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_Part,&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(sipArgsParsed,sipName_Part,sipName_timerEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_childEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_childEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_Part,&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(sipArgsParsed,sipName_Part,sipName_childEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_connectNotify(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_connectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KParts_Part,&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(sipArgsParsed,sipName_Part,sipName_connectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_disconnectNotify(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_disconnectNotify(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        char * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pG",&sipSelf,sipType_KParts_Part,&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(sipArgsParsed,sipName_Part,sipName_disconnectNotify);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_embed(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_embed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KParts::Part::embed(a0) : sipCpp->embed(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_embed);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_widget(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_widget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_Part,&sipCpp))
        {
            QWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KParts::Part::widget() : sipCpp->widget());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_widget);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setManager(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setManager(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::PartManager * a0;
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_KParts_PartManager,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KParts::Part::setManager(a0) : sipCpp->setManager(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_setManager);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_manager(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_manager(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_Part,&sipCpp))
        {
            KParts::PartManager *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->manager();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_manager);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setAutoDeleteWidget(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setAutoDeleteWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KParts_Part,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDeleteWidget(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_setAutoDeleteWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setAutoDeletePart(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setAutoDeletePart(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        bool a0;
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KParts_Part,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAutoDeletePart(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_setAutoDeletePart);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_hitTest(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_hitTest(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        const QPoint * a1;
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8J9",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QWidget,&a0,sipType_QPoint,&a1))
        {
            KParts::Part *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->KParts::Part::hitTest(a0,*a1) : sipCpp->hitTest(a0,*a1));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_hitTest);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setSelectable(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setSelectable(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"Bb",&sipSelf,sipType_KParts_Part,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->KParts::Part::setSelectable(a0) : sipCpp->setSelectable(a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_setSelectable);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_isSelectable(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_isSelectable(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_Part,&sipCpp))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSelectable();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_isSelectable);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_iconLoader(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_iconLoader(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_Part,&sipCpp))
        {
            KIconLoader *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->iconLoader();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_iconLoader);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_setWidget(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_setWidget(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QWidget,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setWidget(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_setWidget);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_customEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_customEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_Part,&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(sipArgsParsed,sipName_Part,sipName_customEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_partActivateEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_partActivateEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::PartActivateEvent * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_KParts_PartActivateEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_partActivateEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_partActivateEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_partSelectEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_partSelectEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::PartSelectEvent * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_KParts_PartSelectEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_partSelectEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_partSelectEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_guiActivateEvent(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_guiActivateEvent(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        KParts::GUIActivateEvent * a0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ8",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_KParts_GUIActivateEvent,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_guiActivateEvent(sipSelfWasArg,a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_guiActivateEvent);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_hostContainer(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_hostContainer(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        const QString * a0;
        int a0State = 0;
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KParts_Part,&sipCpp,sipType_QString,&a0,&a0State))
        {
            QWidget *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->sipProtect_hostContainer(*a0);
            Py_END_ALLOW_THREADS

            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_hostContainer);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_loadPlugins(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_loadPlugins(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_Part,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_loadPlugins();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_loadPlugins);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_Part_slotWidgetDestroyed(PyObject *, PyObject *);}
static PyObject *meth_KParts_Part_slotWidgetDestroyed(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        sipKParts_Part *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"p",&sipSelf,sipType_KParts_Part,&sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_slotWidgetDestroyed();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_Part,sipName_slotWidgetDestroyed);

    return NULL;
}


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

    if (targetType == sipType_KParts_Part)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(KParts::Part *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_KParts_PartBase)->ctd_cast((KParts::PartBase *)(KParts::Part *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKParts_Part *>(sipCppV);
    else
        delete reinterpret_cast<KParts::Part *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


extern "C" {static void *init_KParts_Part(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KParts_Part(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **sipOwner, int *sipArgsParsed)
{
    sipKParts_Part *sipCpp = 0;

    if (!sipCpp)
    {
        QObject * a0 = 0;

        if (sipParseArgs(sipArgsParsed,sipArgs,"|JH",sipType_QObject,&a0,sipOwner))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKParts_Part(a0);
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KParts_Part[] = {{111, 0, 0}, {22, 255, 1}};


static PyMethodDef methods_KParts_Part[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), meth_KParts_Part_childEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), meth_KParts_Part_connectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), meth_KParts_Part_customEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), meth_KParts_Part_disconnectNotify, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_embed), meth_KParts_Part_embed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_guiActivateEvent), meth_KParts_Part_guiActivateEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hitTest), meth_KParts_Part_hitTest, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_hostContainer), meth_KParts_Part_hostContainer, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_iconLoader), meth_KParts_Part_iconLoader, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_isSelectable), meth_KParts_Part_isSelectable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_loadPlugins), meth_KParts_Part_loadPlugins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_manager), meth_KParts_Part_manager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_partActivateEvent), meth_KParts_Part_partActivateEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_partSelectEvent), meth_KParts_Part_partSelectEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), meth_KParts_Part_receivers, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDeletePart), meth_KParts_Part_setAutoDeletePart, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDeleteWidget), meth_KParts_Part_setAutoDeleteWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KParts_Part_setComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDOMDocument), meth_KParts_Part_setDOMDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocalXMLFile), meth_KParts_Part_setLocalXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setManager), meth_KParts_Part_setManager, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPluginInterfaceVersion), meth_KParts_Part_setPluginInterfaceVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectable), meth_KParts_Part_setSelectable, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_KParts_Part_setWidget, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXML), meth_KParts_Part_setXML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXMLFile), meth_KParts_Part_setXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_slotWidgetDestroyed), meth_KParts_Part_slotWidgetDestroyed, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stateChanged), meth_KParts_Part_stateChanged, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), meth_KParts_Part_timerEvent, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_KParts_Part_widget, METH_VARARGS, NULL}
};


/* Define this type's PyQt4 signals. */
static const pyqt4QtSignal pyqt4_signals_KParts_Part[] = {
    {"setStatusBarText(const QString&)", 0},
    {"setWindowCaption(const QString&)", 0},
    {0, 0}
};


pyqt4ClassTypeDef pyqt4Type_kparts_KParts_Part = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_CLASS,
        sipNameNr_KParts__Part,
        {0}
    },
    sipNameNr_Part,
    -1,
    -1,
    {0, 255, 0},
    supers_KParts_Part,
    0,
    30, methods_KParts_Part,
    0, 0,
    0, 0,
    init_KParts_Part,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_Part,
    release_KParts_Part,
    cast_KParts_Part,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    &KParts::Part::staticMetaObject,
    0,
    pyqt4_signals_KParts_Part
};

#line 28 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kparts/part.sip"
#include <kparts/part.h>
#line 5069 "sipkpartspart2.cpp"

#line 45 "/usr/local/share/py-sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5073 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 5076 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdecore/kcomponentdata.sip"
#include <kcomponentdata.h>
#line 5079 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5082 "sipkpartspart2.cpp"
#line 221 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 5085 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qwidget.sip"
#include <qwidget.h>
#line 5088 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguiclient.sip"
#include <kxmlguiclient.h>
#line 5091 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 5094 "sipkpartspart2.cpp"
#line 136 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#include <qlist.h>
#line 66 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qlist.h>
#line 229 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 520 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#include <qpair.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5155 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtCore/qsize.sip"
#include <qsize.h>
#line 5158 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qaction.sip"
#include <qaction.h>
#line 5161 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 5164 "sipkpartspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 5167 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 5170 "sipkpartspart2.cpp"
#line 466 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482 "/usr/local/share/py-sip/QtGui/qevent.sip"
#include <qevent.h>
#line 5175 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 5178 "sipkpartspart2.cpp"
#line 99 "/usr/local/share/py-sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 5181 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 5184 "sipkpartspart2.cpp"
#line 165 "/usr/local/share/py-sip/QtCore/qrect.sip"
#include <qrect.h>
#line 5187 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qlistwidget.sip"
#include <qlistwidget.h>
#line 5190 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qdockwidget.sip"
#include <qdockwidget.h>
#line 5193 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 5196 "sipkpartspart2.cpp"
#line 334 "/usr/local/share/py-sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 5199 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 56 "/usr/local/share/py-sip/QtGui/qtextedit.sip"
#include <qtextedit.h>
#line 5204 "sipkpartspart2.cpp"
#line 44 "/usr/local/share/py-sip/QtGui/qprinterinfo.sip"
#include <qprinterinfo.h>
#line 5207 "sipkpartspart2.cpp"
#line 202 "/usr/local/share/py-sip/QtGui/qstandarditemmodel.sip"
#include <qstandarditemmodel.h>
#line 5210 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 5213 "sipkpartspart2.cpp"
#line 66 "/usr/local/share/py-sip/QtGui/qtablewidget.sip"
#include <qtablewidget.h>
#line 5216 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 114 "/usr/local/share/py-sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 5221 "sipkpartspart2.cpp"
#line 65 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 88 "/usr/local/share/py-sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 5226 "sipkpartspart2.cpp"
#line 149 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 5231 "sipkpartspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 101 "/usr/local/share/py-sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 5236 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 5239 "sipkpartspart2.cpp"
#line 75 "/usr/local/share/py-sip/QtGui/qundostack.sip"
#include <qundostack.h>
#line 5242 "sipkpartspart2.cpp"
#line 50 "/usr/local/share/py-sip/QtGui/qwizard.sip"
#include <qwizard.h>
#line 5245 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qprinter.sip"
#include <qprinter.h>
#line 5248 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 5251 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguibuilder.sip"
#include <kxmlguibuilder.h>
#line 5254 "sipkpartspart2.cpp"
#line 184 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kstandardaction.sip"
#include <qlist.h>
#line 44 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwidgetitemdelegate.sip"
#include <qlist.h>
#line 114 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kwindowsystem.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 43 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 130 "/usr/local/share/py-sip/QtCore/qlist.sip"
#include <qlist.h>
#line 5291 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kactioncollection.sip"
#include <kactioncollection.h>
#line 5294 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtGui/qactiongroup.sip"
#include <qactiongroup.h>
#line 5297 "sipkpartspart2.cpp"
#line 46 "/usr/local/share/py-sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 5300 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kicontheme.sip"
#include <kicontheme.h>
#line 5303 "sipkpartspart2.cpp"
#line 212 "/usr/local/share/py-sip/QtGui/qtreewidget.sip"
#include <qtreewidget.h>
#line 5306 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ksessionmanager.sip"
#include <ksessionmanager.h>
#line 5309 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotpoint.sip"
#include <kplotpoint.h>
#line 5312 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kplotobject.sip"
#include <kplotobject.h>
#line 5315 "sipkpartspart2.cpp"
#line 24 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kglobalshortcutinfo.sip"
#include <kglobalshortcutinfo.h>
#line 5318 "sipkpartspart2.cpp"
#line 45 "/usr/local/share/py-sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5321 "sipkpartspart2.cpp"
#line 83 "/usr/local/share/py-sip/QtCore/qchar.sip"
#include <qchar.h>
#line 5324 "sipkpartspart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kconfigdialogmanager.sip"
#include <kconfigdialogmanager.h>
#line 5327 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kmainwindow.sip"
#include <kmainwindow.h>
#line 5330 "sipkpartspart2.cpp"
#line 26 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/ktoolbar.sip"
#include <ktoolbar.h>
#line 5333 "sipkpartspart2.cpp"
#line 42 "/usr/local/share/py-sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5336 "sipkpartspart2.cpp"
#line 27 "/work/a/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.1/python/pykde4/sip/kdeui/kxmlguifactory.sip"
#include <kxmlguifactory.h>
#line 5339 "sipkpartspart2.cpp"
#line 345 "/usr/local/share/py-sip/QtXml/qdom.sip"
#include <qdom.h>
#line 5342 "sipkpartspart2.cpp"


class sipKParts_PartBase : public KParts::PartBase
{
public:
    sipKParts_PartBase();
    virtual ~sipKParts_PartBase();

    /* Expose this protected enum. */
    enum sipPluginLoadingMode {
        DoNotLoadPlugins = KParts::PartBase::DoNotLoadPlugins,
        LoadPlugins = KParts::PartBase::LoadPlugins,
        LoadPluginsIfEnabled = KParts::PartBase::LoadPluginsIfEnabled
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_setXMLFile(bool,const QString&,bool,bool);
    void sipProtectVirt_setLocalXMLFile(bool,const QString&);
    void sipProtectVirt_setXML(bool,const QString&,bool);
    void sipProtectVirt_setDOMDocument(bool,const QDomDocument&,bool);
    void sipProtectVirt_stateChanged(bool,const QString&,KXMLGUIClient::ReverseStateChange);
    void sipProtectVirt_setComponentData(bool,const KComponentData&);
    void sipProtectVirt_setComponentData(bool,const KComponentData&,bool);
    void sipProtect_loadPlugins(QObject *,KXMLGUIClient *,const KComponentData&);
    void sipProtect_setPluginInterfaceVersion(int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setComponentData(const KComponentData&);
    void setComponentData(const KComponentData&,bool);
    QAction * action(const QDomElement&) const;
    KActionCollection * actionCollection() const;
    KComponentData componentData() const;
    QDomDocument domDocument() const;
    QString xmlFile() const;
    QString localXMLFile() const;
    void setXMLFile(const QString&,bool,bool);
    void setLocalXMLFile(const QString&);
    void setXML(const QString&,bool);
    void setDOMDocument(const QDomDocument&,bool);
    void stateChanged(const QString&,KXMLGUIClient::ReverseStateChange);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[13];
};

sipKParts_PartBase::sipKParts_PartBase(): KParts::PartBase(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

void sipKParts_PartBase::setComponentData(const KComponentData& a0)
{
    typedef void (*sipVH_kdeui_6)(sip_gilstate_t,PyObject *,const KComponentData&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::PartBase::setComponentData(a0);
        return;
    }

    ((sipVH_kdeui_6)(sipModuleAPI_kparts_kdeui->em_virthandlers[6]))(sipGILState,meth,a0);
}

void sipKParts_PartBase::setComponentData(const KComponentData& a0,bool a1)
{
    extern void sipVH_kparts_11(sip_gilstate_t,PyObject *,const KComponentData&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KParts::PartBase::setComponentData(a0,a1);
        return;
    }

    sipVH_kparts_11(sipGILState,meth,a0,a1);
}

QAction * sipKParts_PartBase::action(const QDomElement& a0) const
{
    typedef QAction * (*sipVH_kdeui_10)(sip_gilstate_t,PyObject *,const QDomElement&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::action(a0);

    return ((sipVH_kdeui_10)(sipModuleAPI_kparts_kdeui->em_virthandlers[10]))(sipGILState,meth,a0);
}

KActionCollection * sipKParts_PartBase::actionCollection() const
{
    typedef KActionCollection * (*sipVH_kdeui_9)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::actionCollection();

    return ((sipVH_kdeui_9)(sipModuleAPI_kparts_kdeui->em_virthandlers[9]))(sipGILState,meth);
}

KComponentData sipKParts_PartBase::componentData() const
{
    typedef KComponentData (*sipVH_kdeui_8)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::componentData();

    return ((sipVH_kdeui_8)(sipModuleAPI_kparts_kdeui->em_virthandlers[8]))(sipGILState,meth);
}

QDomDocument sipKParts_PartBase::domDocument() const
{
    typedef QDomDocument (*sipVH_kdeui_7)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::domDocument();

    return ((sipVH_kdeui_7)(sipModuleAPI_kparts_kdeui->em_virthandlers[7]))(sipGILState,meth);
}

QString sipKParts_PartBase::xmlFile() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::xmlFile();

    return ((sipVH_QtCore_58)(sipModuleAPI_kparts_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

QString sipKParts_PartBase::localXMLFile() const
{
    typedef QString (*sipVH_QtCore_58)(sip_gilstate_t,PyObject *);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
        return KXMLGUIClient::localXMLFile();

    return ((sipVH_QtCore_58)(sipModuleAPI_kparts_QtCore->em_virthandlers[58]))(sipGILState,meth);
}

void sipKParts_PartBase::setXMLFile(const QString& a0,bool a1,bool a2)
{
    typedef void (*sipVH_kdeui_5)(sip_gilstate_t,PyObject *,const QString&,bool,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setXMLFile(a0,a1,a2);
        return;
    }

    ((sipVH_kdeui_5)(sipModuleAPI_kparts_kdeui->em_virthandlers[5]))(sipGILState,meth,a0,a1,a2);
}

void sipKParts_PartBase::setLocalXMLFile(const QString& a0)
{
    typedef void (*sipVH_QtCore_29)(sip_gilstate_t,PyObject *,const QString&);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setLocalXMLFile(a0);
        return;
    }

    ((sipVH_QtCore_29)(sipModuleAPI_kparts_QtCore->em_virthandlers[29]))(sipGILState,meth,a0);
}

void sipKParts_PartBase::setXML(const QString& a0,bool a1)
{
    typedef void (*sipVH_QtXml_24)(sip_gilstate_t,PyObject *,const QString&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setXML(a0,a1);
        return;
    }

    ((sipVH_QtXml_24)(sipModuleAPI_kparts_QtXml->em_virthandlers[24]))(sipGILState,meth,a0,a1);
}

void sipKParts_PartBase::setDOMDocument(const QDomDocument& a0,bool a1)
{
    typedef void (*sipVH_kdeui_4)(sip_gilstate_t,PyObject *,const QDomDocument&,bool);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::setDOMDocument(a0,a1);
        return;
    }

    ((sipVH_kdeui_4)(sipModuleAPI_kparts_kdeui->em_virthandlers[4]))(sipGILState,meth,a0,a1);
}

void sipKParts_PartBase::stateChanged(const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    typedef void (*sipVH_kdeui_3)(sip_gilstate_t,PyObject *,const QString&,KXMLGUIClient::ReverseStateChange);

    sip_gilstate_t sipGILState;
    PyObject *meth;

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

    if (!meth)
    {
        KXMLGUIClient::stateChanged(a0,a1);
        return;
    }

    ((sipVH_kdeui_3)(sipModuleAPI_kparts_kdeui->em_virthandlers[3]))(sipGILState,meth,a0,a1);
}

void sipKParts_PartBase::sipProtectVirt_setXMLFile(bool sipSelfWasArg,const QString& a0,bool a1,bool a2)
{
    (sipSelfWasArg ? KXMLGUIClient::setXMLFile(a0,a1,a2) : setXMLFile(a0,a1,a2));
}

void sipKParts_PartBase::sipProtectVirt_setLocalXMLFile(bool sipSelfWasArg,const QString& a0)
{
    (sipSelfWasArg ? KXMLGUIClient::setLocalXMLFile(a0) : setLocalXMLFile(a0));
}

void sipKParts_PartBase::sipProtectVirt_setXML(bool sipSelfWasArg,const QString& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setXML(a0,a1) : setXML(a0,a1));
}

void sipKParts_PartBase::sipProtectVirt_setDOMDocument(bool sipSelfWasArg,const QDomDocument& a0,bool a1)
{
    (sipSelfWasArg ? KXMLGUIClient::setDOMDocument(a0,a1) : setDOMDocument(a0,a1));
}

void sipKParts_PartBase::sipProtectVirt_stateChanged(bool sipSelfWasArg,const QString& a0,KXMLGUIClient::ReverseStateChange a1)
{
    (sipSelfWasArg ? KXMLGUIClient::stateChanged(a0,a1) : stateChanged(a0,a1));
}

void sipKParts_PartBase::sipProtectVirt_setComponentData(bool sipSelfWasArg,const KComponentData& a0)
{
    (sipSelfWasArg ? KParts::PartBase::setComponentData(a0) : setComponentData(a0));
}

void sipKParts_PartBase::sipProtectVirt_setComponentData(bool sipSelfWasArg,const KComponentData& a0,bool a1)
{
    (sipSelfWasArg ? KParts::PartBase::setComponentData(a0,a1) : setComponentData(a0,a1));
}

void sipKParts_PartBase::sipProtect_loadPlugins(QObject *a0,KXMLGUIClient *a1,const KComponentData& a2)
{
    KParts::PartBase::loadPlugins(a0,a1,a2);
}

void sipKParts_PartBase::sipProtect_setPluginInterfaceVersion(int a0)
{
    KParts::PartBase::setPluginInterfaceVersion(a0);
}


extern "C" {static PyObject *meth_KParts_PartBase_setXMLFile(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_setXMLFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        bool a2 = 1;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|bb",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_QString,&a0,&a0State,&a1,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXMLFile(sipSelfWasArg,*a0,a1,a2);
            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(sipArgsParsed,sipName_PartBase,sipName_setXMLFile);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_setLocalXMLFile(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_setLocalXMLFile(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_QString,&a0,&a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setLocalXMLFile(sipSelfWasArg,*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(sipArgsParsed,sipName_PartBase,sipName_setLocalXMLFile);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_setXML(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_setXML(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        bool a1 = 0;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|b",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_QString,&a0,&a0State,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setXML(sipSelfWasArg,*a0,a1);
            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(sipArgsParsed,sipName_PartBase,sipName_setXML);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_setDOMDocument(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_setDOMDocument(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDomDocument * a0;
        bool a1 = 0;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9|b",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_QDomDocument,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setDOMDocument(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(sipArgsParsed,sipName_PartBase,sipName_setDOMDocument);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_stateChanged(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_stateChanged(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString * a0;
        int a0State = 0;
        KXMLGUIClient::ReverseStateChange a1 = KXMLGUIClient::StateNoReverse;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ1|E",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_QString,&a0,&a0State,sipType_KXMLGUIClient_ReverseStateChange,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_stateChanged(sipSelfWasArg,*a0,a1);
            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(sipArgsParsed,sipName_PartBase,sipName_stateChanged);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_setPartObject(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_setPartObject(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QObject * a0;
        KParts::PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"BJ8",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_QObject,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPartObject(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PartBase,sipName_setPartObject);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_partObject(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_partObject(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        KParts::PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipType_KParts_PartBase,&sipCpp))
        {
            QObject *sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->partObject();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PartBase,sipName_partObject);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_setComponentData(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_setComponentData(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const KComponentData * a0;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_KComponentData,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setComponentData(sipSelfWasArg,*a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const KComponentData * a0;
        bool a1;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ9b",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_KComponentData,&a0,&a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtectVirt_setComponentData(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(sipArgsParsed,sipName_PartBase,sipName_setComponentData);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_loadPlugins(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_loadPlugins(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        QObject * a0;
        KXMLGUIClient * a1;
        const KComponentData * a2;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pJ:J8J9",&sipSelf,sipType_KParts_PartBase,&sipCpp,sipType_QObject,&a0,sipType_KXMLGUIClient,&a1,sipType_KComponentData,&a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_loadPlugins(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(sipArgsParsed,sipName_PartBase,sipName_loadPlugins);

    return NULL;
}


extern "C" {static PyObject *meth_KParts_PartBase_setPluginInterfaceVersion(PyObject *, PyObject *);}
static PyObject *meth_KParts_PartBase_setPluginInterfaceVersion(PyObject *sipSelf,PyObject *sipArgs)
{
    int sipArgsParsed = 0;

    {
        int a0;
        sipKParts_PartBase *sipCpp;

        if (sipParseArgs(&sipArgsParsed,sipArgs,"pi",&sipSelf,sipType_KParts_PartBase,&sipCpp,&a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->sipProtect_setPluginInterfaceVersion(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipArgsParsed,sipName_PartBase,sipName_setPluginInterfaceVersion);

    return NULL;
}


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

    if (targetType == sipType_KParts_PartBase)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_KXMLGUIClient)->ctd_cast((KXMLGUIClient *)(KParts::PartBase *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

    if (state & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipKParts_PartBase *>(sipCppV);
    else
        delete reinterpret_cast<KParts::PartBase *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

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


extern "C" {static void *init_KParts_PartBase(sipSimpleWrapper *, PyObject *, PyObject **, int *);}
static void *init_KParts_PartBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject **, int *sipArgsParsed)
{
    sipKParts_PartBase *sipCpp = 0;

    if (!sipCpp)
    {
        if (sipParseArgs(sipArgsParsed,sipArgs,""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipKParts_PartBase();
            Py_END_ALLOW_THREADS
        }
    }

    if (sipCpp)
        sipCpp->sipPySelf = sipSelf;

    return sipCpp;
}


/* Define this type's super-types. */
static sipEncodedClassDef supers_KParts_PartBase[] = {{308, 6, 1}};


static PyMethodDef methods_KParts_PartBase[] = {
    {SIP_MLNAME_CAST(sipName_loadPlugins), meth_KParts_PartBase_loadPlugins, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_partObject), meth_KParts_PartBase_partObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setComponentData), meth_KParts_PartBase_setComponentData, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setDOMDocument), meth_KParts_PartBase_setDOMDocument, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setLocalXMLFile), meth_KParts_PartBase_setLocalXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPartObject), meth_KParts_PartBase_setPartObject, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPluginInterfaceVersion), meth_KParts_PartBase_setPluginInterfaceVersion, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXML), meth_KParts_PartBase_setXML, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setXMLFile), meth_KParts_PartBase_setXMLFile, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_stateChanged), meth_KParts_PartBase_stateChanged, METH_VARARGS, NULL}
};

static sipEnumMemberDef enummembers_KParts_PartBase[] = {
    {sipName_DoNotLoadPlugins, sipKParts_PartBase::DoNotLoadPlugins, 23},
    {sipName_LoadPlugins, sipKParts_PartBase::LoadPlugins, 23},
    {sipName_LoadPluginsIfEnabled, sipKParts_PartBase::LoadPluginsIfEnabled, 23},
};


pyqt4ClassTypeDef pyqt4Type_kparts_KParts_PartBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_KParts__PartBase,
        {0}
    },
    sipNameNr_PartBase,
    -1,
    -1,
    {0, 255, 0},
    supers_KParts_PartBase,
    0,
    10, methods_KParts_PartBase,
    3, enummembers_KParts_PartBase,
    0, 0,
    init_KParts_PartBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_KParts_PartBase,
    release_KParts_PartBase,
    cast_KParts_PartBase,
    0,
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    0,
    0
},
    0,
    0,
    0,
    0
};
