/***************************************************************************
                            kde_KHTMLPart.cpp -  description
                             -------------------
    begin                : Tue Mar 19 20:11:49 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Mar 19 20:11:49 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KHTMLPart.h"
}

#include <khtml_part.h>
#include <qvariant.h>
#include <qcursor.h>

class KHTMLPartBridge : public KHTMLPart
{
public:
	KHTMLPartBridge(QWidget* parentWidget, const char* widgetname, QObject* parent, const char* name, GUIProfile prof) : KHTMLPart(parentWidget, widgetname, parent, name, prof) {}
	KHTMLPartBridge(KHTMLView* view, QObject* parent, const char* name, GUIProfile prof) : KHTMLPart(view, parent, name, prof) {}
	~KHTMLPartBridge() {}
	KURL  protected_completeURL(const QString& url) {
		return (KURL ) KHTMLPart::completeURL(url);
	}
	void protected_htmlError(int errorCode, const QString& text, const KURL& reqUrl) {
		KHTMLPart::htmlError(errorCode, text, reqUrl);
		return;
	}
	 bool  protected_openFile() {
		return ( bool ) KHTMLPart::openFile();
	}
	void protected_urlSelected(const QString& url, int button, int state, const QString& _target, KParts::URLArgs args) {
		KHTMLPart::urlSelected(url, button, state, _target, args);
		return;
	}
	 KParts::ReadOnlyPart * protected_createPart(QWidget* parentWidget, const char* widgetName, QObject* parent, const char* name, const QString& mimetype, QString& serviceName, QStringList& serviceTypes, const QStringList& params) {
		return ( KParts::ReadOnlyPart *) KHTMLPart::createPart(parentWidget, widgetName, parent, name, mimetype, serviceName, serviceTypes, params);
	}
	void khtmlMouseMoveEvent(khtml::MouseMoveEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "khtmlMouseMoveEvent", event, "MouseMoveEvent")) {
			KHTMLPart::khtmlMouseMoveEvent(event);
		}
		return;
	}
	void partActivateEvent(KParts::PartActivateEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "partActivateEvent", event, "PartActivateEvent")) {
			Part::partActivateEvent(event);
		}
		return;
	}
	void partSelectEvent(KParts::PartSelectEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "partSelectEvent", event, "PartSelectEvent")) {
			Part::partSelectEvent(event);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", event, "QCustomEvent")) {
			KHTMLPart::customEvent(event);
		}
		return;
	}
	void guiActivateEvent(KParts::GUIActivateEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "guiActivateEvent", event, "GUIActivateEvent")) {
			KHTMLPart::guiActivateEvent(event);
		}
		return;
	}
	void khtmlMousePressEvent(khtml::MousePressEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "khtmlMousePressEvent", event, "MousePressEvent")) {
			KHTMLPart::khtmlMousePressEvent(event);
		}
		return;
	}
	void khtmlMouseReleaseEvent(khtml::MouseReleaseEvent* event) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "khtmlMouseReleaseEvent", event, "MouseReleaseEvent")) {
			KHTMLPart::khtmlMouseReleaseEvent(event);
		}
		return;
	}
	void khtmlMouseDoubleClickEvent(khtml::MouseDoubleClickEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "khtmlMouseDoubleClickEvent", arg1, "MouseDoubleClickEvent")) {
			KHTMLPart::khtmlMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void khtmlDrawContentsEvent(khtml::DrawContentsEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "khtmlDrawContentsEvent", arg1, "DrawContentsEvent")) {
			KHTMLPart::khtmlDrawContentsEvent(arg1);
		}
		return;
	}
};

kde_KHTMLPart * kde_new_KHTMLPart(qt_QWidget * parentWidget, char* widgetname, qt_QObject * parent, char* name, int prof){
	return (kde_KHTMLPart *) new KHTMLPartBridge((QWidget*)parentWidget, (char*)widgetname, (QObject*)parent, (char*)name, (KHTMLPart::GUIProfile)prof);
}
kde_KHTMLPart * kde_new_KHTMLPart1(kde_KHTMLView* view, qt_QObject * parent, char* name, int prof){
	return (kde_KHTMLPart *) new KHTMLPartBridge((KHTMLView*)view, (QObject*)parent, (char*)name, (KHTMLPart::GUIProfile)prof);
}
void kde_del_KHTMLPart( kde_KHTMLPart* p ){
	delete (KHTMLPartBridge*) p;
}
int kde_KHTMLPart_openURL( kde_KHTMLPart* instPointer,kde_KURL* url){
	return (int) ((KHTMLPartBridge*)instPointer)->openURL((KURL&)* (KURL*)url);
}
int kde_KHTMLPart_closeURL( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->closeURL();
}
void kde_KHTMLPart_showError( kde_KHTMLPart* instPointer,kde_Job* job){
	((KHTMLPartBridge*)instPointer)->showError((KIO::Job*)job);
	return;
}
//kde_HTMLDocument* kde_KHTMLPart_htmlDocument( kde_KHTMLPart* instPointer){
//	return (kde_HTMLDocument*) ((KHTMLPartBridge*)instPointer)->htmlDocument();
//}
//kde_DOMDocument* kde_KHTMLPart_document( kde_KHTMLPart* instPointer){
//	return (kde_DOMDocument*) ((KHTMLPartBridge*)instPointer)->document();
//}
//kde_DOMNode* kde_KHTMLPart_activeNode( kde_KHTMLPart* instPointer){
//	return (kde_DOMNode*) ((KHTMLPartBridge*)instPointer)->activeNode();
//}
kde_BrowserExtension* kde_KHTMLPart_browserExtension( kde_KHTMLPart* instPointer){
	return (kde_BrowserExtension*) ((KHTMLPartBridge*)instPointer)->browserExtension();
}
kde_KHTMLView* kde_KHTMLPart_view( kde_KHTMLPart* instPointer){
	return (kde_KHTMLView*) ((KHTMLPartBridge*)instPointer)->view();
}
void kde_KHTMLPart_setJScriptEnabled( kde_KHTMLPart* instPointer,int enable){
	((KHTMLPartBridge*)instPointer)->setJScriptEnabled((bool)enable);
	return;
}
int kde_KHTMLPart_jScriptEnabled( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->jScriptEnabled();
}
void kde_KHTMLPart_setMetaRefreshEnabled( kde_KHTMLPart* instPointer,int enable){
	((KHTMLPartBridge*)instPointer)->setMetaRefreshEnabled((bool)enable);
	return;
}
int kde_KHTMLPart_metaRefreshEnabled( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->metaRefreshEnabled();
}
qt_QVariant * kde_KHTMLPart_executeScript( kde_KHTMLPart* instPointer,qt_QString * script){
	return (qt_QVariant *)new QVariant(((KHTMLPartBridge*)instPointer)->executeScript((QString&)* (QString*)script));
}
qt_QVariant * kde_KHTMLPart_executeScript1( kde_KHTMLPart* instPointer,kde_DOMNode* n, qt_QString * script){
	return (qt_QVariant *)new QVariant(((KHTMLPartBridge*)instPointer)->executeScript((DOM::Node&)* (DOM::Node*)n, (QString&)* (QString*)script));
}
void kde_KHTMLPart_setDNDEnabled( kde_KHTMLPart* instPointer,int b){
	((KHTMLPartBridge*)instPointer)->setDNDEnabled((bool)b);
	return;
}
int kde_KHTMLPart_dndEnabled( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->dndEnabled();
}
void kde_KHTMLPart_setJavaEnabled( kde_KHTMLPart* instPointer,int enable){
	((KHTMLPartBridge*)instPointer)->setJavaEnabled((bool)enable);
	return;
}
int kde_KHTMLPart_javaEnabled( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->javaEnabled();
}
kde_KJavaAppletContext* kde_KHTMLPart_javaContext( kde_KHTMLPart* instPointer){
	return (kde_KJavaAppletContext*) ((KHTMLPartBridge*)instPointer)->javaContext();
}
kde_KJavaAppletContext* kde_KHTMLPart_createJavaContext( kde_KHTMLPart* instPointer){
	return (kde_KJavaAppletContext*) ((KHTMLPartBridge*)instPointer)->createJavaContext();
}
void kde_KHTMLPart_setPluginsEnabled( kde_KHTMLPart* instPointer,int enable){
	((KHTMLPartBridge*)instPointer)->setPluginsEnabled((bool)enable);
	return;
}
int kde_KHTMLPart_pluginsEnabled( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->pluginsEnabled();
}
void kde_KHTMLPart_setAutoloadImages( kde_KHTMLPart* instPointer,int enable){
	((KHTMLPartBridge*)instPointer)->setAutoloadImages((bool)enable);
	return;
}
int kde_KHTMLPart_autoloadImages( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->autoloadImages();
}
void kde_KHTMLPart_setOnlyLocalReferences( kde_KHTMLPart* instPointer,int enable){
	((KHTMLPartBridge*)instPointer)->setOnlyLocalReferences((bool)enable);
	return;
}
int kde_KHTMLPart_onlyLocalReferences( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->onlyLocalReferences();
}
void kde_KHTMLPart_enableJScript( kde_KHTMLPart* instPointer,int e){
	((KHTMLPartBridge*)instPointer)->enableJScript((bool)e);
	return;
}
void kde_KHTMLPart_enableJava( kde_KHTMLPart* instPointer,int e){
	((KHTMLPartBridge*)instPointer)->enableJava((bool)e);
	return;
}
void kde_KHTMLPart_enablePlugins( kde_KHTMLPart* instPointer,int e){
	((KHTMLPartBridge*)instPointer)->enablePlugins((bool)e);
	return;
}
void kde_KHTMLPart_autoloadImages1( kde_KHTMLPart* instPointer,int e){
	((KHTMLPartBridge*)instPointer)->autoloadImages((bool)e);
	return;
}
void kde_KHTMLPart_enableMetaRefresh( kde_KHTMLPart* instPointer,int e){
	((KHTMLPartBridge*)instPointer)->enableMetaRefresh((bool)e);
	return;
}
int kde_KHTMLPart_setCharset( kde_KHTMLPart* instPointer,qt_QString * arg1, int arg2){
	return (int) ((KHTMLPartBridge*)instPointer)->setCharset((QString&)* (QString*)arg1, (bool)arg2);
}
kde_KURL* kde_KHTMLPart_baseURL( kde_KHTMLPart* instPointer){
	return (kde_KURL*)new KURL(((KHTMLPartBridge*)instPointer)->baseURL());
}
qt_QString * kde_KHTMLPart_baseTarget( kde_KHTMLPart* instPointer){
	return (qt_QString *)new QString(((KHTMLPartBridge*)instPointer)->baseTarget());
}
kde_KURL* kde_KHTMLPart_backgroundURL( kde_KHTMLPart* instPointer){
	return (kde_KURL*)new KURL(((KHTMLPartBridge*)instPointer)->backgroundURL());
}
void kde_KHTMLPart_scheduleRedirection( kde_KHTMLPart* instPointer,int delay, qt_QString * url, int lockHistory){
	((KHTMLPartBridge*)instPointer)->scheduleRedirection((int)delay, (QString&)* (QString*)url, (bool)lockHistory);
	return;
}
void kde_KHTMLPart_begin( kde_KHTMLPart* instPointer,kde_KURL* url, int xOffset, int yOffset){
	((KHTMLPartBridge*)instPointer)->begin((KURL&)* (KURL*)url, (int)xOffset, (int)yOffset);
	return;
}
void kde_KHTMLPart_write( kde_KHTMLPart* instPointer,char* str, int len){
	((KHTMLPartBridge*)instPointer)->write((char*)str, (int)len);
	return;
}
void kde_KHTMLPart_write1( kde_KHTMLPart* instPointer,qt_QString * str){
	((KHTMLPartBridge*)instPointer)->write((QString&)* (QString*)str);
	return;
}
void kde_KHTMLPart_end( kde_KHTMLPart* instPointer){
	((KHTMLPartBridge*)instPointer)->end();
	return;
}
void kde_KHTMLPart_paint( kde_KHTMLPart* instPointer,qt_QPainter * arg1, qt_QRect* arg2, int arg3, int* arg4){
	((KHTMLPartBridge*)instPointer)->paint((QPainter*)arg1, (QRect&)* (QRect*)arg2, (int)arg3, (bool*)arg4);
	return;
}
int kde_KHTMLPart_setEncoding( kde_KHTMLPart* instPointer,qt_QString * name, int override){
	return (int) ((KHTMLPartBridge*)instPointer)->setEncoding((QString&)* (QString*)name, (bool)override);
}
qt_QString * kde_KHTMLPart_encoding( kde_KHTMLPart* instPointer){
	return (qt_QString *)new QString(((KHTMLPartBridge*)instPointer)->encoding());
}
void kde_KHTMLPart_setUserStyleSheet( kde_KHTMLPart* instPointer,kde_KURL* url){
	((KHTMLPartBridge*)instPointer)->setUserStyleSheet((KURL&)* (KURL*)url);
	return;
}
void kde_KHTMLPart_setUserStyleSheet1( kde_KHTMLPart* instPointer,qt_QString * styleSheet){
	((KHTMLPartBridge*)instPointer)->setUserStyleSheet((QString&)* (QString*)styleSheet);
	return;
}
void kde_KHTMLPart_setStandardFont( kde_KHTMLPart* instPointer,qt_QString * name){
	((KHTMLPartBridge*)instPointer)->setStandardFont((QString&)* (QString*)name);
	return;
}
void kde_KHTMLPart_setFixedFont( kde_KHTMLPart* instPointer,qt_QString * name){
	((KHTMLPartBridge*)instPointer)->setFixedFont((QString&)* (QString*)name);
	return;
}
int kde_KHTMLPart_gotoAnchor( kde_KHTMLPart* instPointer,qt_QString * name){
	return (int) ((KHTMLPartBridge*)instPointer)->gotoAnchor((QString&)* (QString*)name);
}
void kde_KHTMLPart_setURLCursor( kde_KHTMLPart* instPointer,qt_QCursor * c){
	((KHTMLPartBridge*)instPointer)->setURLCursor((QCursor&)* (QCursor*)c);
	return;
}
qt_QCursor* kde_KHTMLPart_urlCursor( kde_KHTMLPart* instPointer){
	return (qt_QCursor*)new QCursor(((KHTMLPartBridge*)instPointer)->urlCursor());
}
void kde_KHTMLPart_findTextBegin( kde_KHTMLPart* instPointer){
	((KHTMLPartBridge*)instPointer)->findTextBegin();
	return;
}
int kde_KHTMLPart_findTextNext( kde_KHTMLPart* instPointer,qt_QString * str, int forward, int caseSensitive, int isRegExp){
	return (int) ((KHTMLPartBridge*)instPointer)->findTextNext((QString&)* (QString*)str, (bool)forward, (bool)caseSensitive, (bool)isRegExp);
}
void kde_KHTMLPart_setZoomFactor( kde_KHTMLPart* instPointer,int percent){
	((KHTMLPartBridge*)instPointer)->setZoomFactor((int)percent);
	return;
}
int kde_KHTMLPart_zoomFactor( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->zoomFactor();
}
qt_QString * kde_KHTMLPart_selectedText( kde_KHTMLPart* instPointer){
	return (qt_QString *)new QString(((KHTMLPartBridge*)instPointer)->selectedText());
}
//kde_Range* kde_KHTMLPart_selection( kde_KHTMLPart* instPointer){
//	return (kde_Range*) ((KHTMLPartBridge*)instPointer)->selection();
//}
void kde_KHTMLPart_setSelection( kde_KHTMLPart* instPointer,DOM::Range arg1){
	((KHTMLPartBridge*)instPointer)->setSelection((DOM::Range&)arg1);
	return;
}
int kde_KHTMLPart_hasSelection( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->hasSelection();
}
void kde_KHTMLPart_selectAll( kde_KHTMLPart* instPointer){
	((KHTMLPartBridge*)instPointer)->selectAll();
	return;
}
void kde_KHTMLPart_show( kde_KHTMLPart* instPointer){
	((KHTMLPartBridge*)instPointer)->show();
	return;
}
void kde_KHTMLPart_hide( kde_KHTMLPart* instPointer){
	((KHTMLPartBridge*)instPointer)->hide();
	return;
}
kde_PartManager* kde_KHTMLPart_partManager( kde_KHTMLPart* instPointer){
	return (kde_PartManager*) ((KHTMLPartBridge*)instPointer)->partManager();
}
void kde_KHTMLPart_saveState( kde_KHTMLPart* instPointer,qt_QDataStream * stream){
	((KHTMLPartBridge*)instPointer)->saveState((QDataStream&)* (QDataStream*)stream);
	return;
}
void kde_KHTMLPart_restoreState( kde_KHTMLPart* instPointer,qt_QDataStream * stream){
	((KHTMLPartBridge*)instPointer)->restoreState((QDataStream&)* (QDataStream*)stream);
	return;
}
//kde_DOMNode* kde_KHTMLPart_nodeUnderMouse( kde_KHTMLPart* instPointer){
//	return (kde_DOMNode*) ((KHTMLPartBridge*)instPointer)->nodeUnderMouse();
//}
kde_KHTMLSettings* kde_KHTMLPart_settings( kde_KHTMLPart* instPointer){
	return (kde_KHTMLSettings*) ((KHTMLPartBridge*)instPointer)->settings();
}
kde_KHTMLPart* kde_KHTMLPart_parentPart( kde_KHTMLPart* instPointer){
	return (kde_KHTMLPart*) ((KHTMLPartBridge*)instPointer)->parentPart();
}
qt_QStringList* kde_KHTMLPart_frameNames( kde_KHTMLPart* instPointer){
	return (qt_QStringList*)new QStringList(((KHTMLPartBridge*)instPointer)->frameNames());
}
kde_KHTMLPart* kde_KHTMLPart_findFrame( kde_KHTMLPart* instPointer,qt_QString * f){
	return (kde_KHTMLPart*) ((KHTMLPartBridge*)instPointer)->findFrame((QString&)* (QString*)f);
}
kde_ReadOnlyPart* kde_KHTMLPart_currentFrame( kde_KHTMLPart* instPointer){
	return (kde_ReadOnlyPart*) ((KHTMLPartBridge*)instPointer)->currentFrame();
}
int kde_KHTMLPart_frameExists( kde_KHTMLPart* instPointer,qt_QString * frameName){
	return (int) ((KHTMLPartBridge*)instPointer)->frameExists((QString&)* (QString*)frameName);
}
void kde_KHTMLPart_setJSStatusBarText( kde_KHTMLPart* instPointer,qt_QString * text){
	((KHTMLPartBridge*)instPointer)->setJSStatusBarText((QString&)* (QString*)text);
	return;
}
void kde_KHTMLPart_setJSDefaultStatusBarText( kde_KHTMLPart* instPointer,qt_QString * text){
	((KHTMLPartBridge*)instPointer)->setJSDefaultStatusBarText((QString&)* (QString*)text);
	return;
}
qt_QString * kde_KHTMLPart_jsStatusBarText( kde_KHTMLPart* instPointer){
	return (qt_QString *)new QString(((KHTMLPartBridge*)instPointer)->jsStatusBarText());
}
qt_QString * kde_KHTMLPart_jsDefaultStatusBarText( kde_KHTMLPart* instPointer){
	return (qt_QString *)new QString(((KHTMLPartBridge*)instPointer)->jsDefaultStatusBarText());
}
qt_QString * kde_KHTMLPart_referrer( kde_KHTMLPart* instPointer){
	return (qt_QString *)new QString(((KHTMLPartBridge*)instPointer)->referrer());
}
qt_QString * kde_KHTMLPart_lastModified( kde_KHTMLPart* instPointer){
	return (qt_QString *)new QString(((KHTMLPartBridge*)instPointer)->lastModified());
}
void kde_KHTMLPart_preloadStyleSheet( kde_KHTMLPart* instPointer,qt_QString * url, qt_QString * stylesheet){
	((KHTMLPartBridge*)instPointer)->preloadStyleSheet((QString&)* (QString*)url, (QString&)* (QString*)stylesheet);
	return;
}
void kde_KHTMLPart_preloadScript( kde_KHTMLPart* instPointer,qt_QString * url, qt_QString * script){
	((KHTMLPartBridge*)instPointer)->preloadScript((QString&)* (QString*)url, (QString&)* (QString*)script);
	return;
}
int kde_KHTMLPart_restored( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->restored();
}
void kde_KHTMLPart_setActiveNode( kde_KHTMLPart* instPointer,kde_DOMNode* node){
	((KHTMLPartBridge*)instPointer)->setActiveNode((DOM::Node&)* (DOM::Node*)node);
	return;
}
void kde_KHTMLPart_stopAnimations( kde_KHTMLPart* instPointer){
	((KHTMLPartBridge*)instPointer)->stopAnimations();
	return;
}
qt_QCString* kde_KHTMLPart_dcopObjectId( kde_KHTMLPart* instPointer){
	return (qt_QCString*)new QCString(((KHTMLPartBridge*)instPointer)->dcopObjectId());
}
kde_KURL* kde_KHTMLPart_completeURL( kde_KHTMLPart* instPointer,qt_QString * url){
	return (kde_KURL*)new KURL(((KHTMLPartBridge*)instPointer)->protected_completeURL((QString&)* (QString*)url));
}
void kde_KHTMLPart_htmlError( kde_KHTMLPart* instPointer,int errorCode, qt_QString * text, kde_KURL* reqUrl){
	((KHTMLPartBridge*)instPointer)->protected_htmlError((int)errorCode, (QString&)* (QString*)text, (KURL&)* (KURL*)reqUrl);
	return;
}
int kde_KHTMLPart_openFile( kde_KHTMLPart* instPointer){
	return (int) ((KHTMLPartBridge*)instPointer)->protected_openFile();
}
void kde_KHTMLPart_urlSelected( kde_KHTMLPart* instPointer,qt_QString * url, int button, int state, qt_QString * _target, kde_URLArgs* args){
	((KHTMLPartBridge*)instPointer)->protected_urlSelected((QString&)* (QString*)url, (int)button, (int)state, (QString&)* (QString*)_target, (KParts::URLArgs)* (KParts::URLArgs*)args);
	return;
}
kde_ReadOnlyPart* kde_KHTMLPart_createPart( kde_KHTMLPart* instPointer,qt_QWidget * parentWidget, char* widgetName, qt_QObject * parent, char* name, qt_QString * mimetype, qt_QString * serviceName, qt_QStringList* serviceTypes, qt_QStringList* params){
	return (kde_ReadOnlyPart*) ((KHTMLPartBridge*)instPointer)->protected_createPart((QWidget*)parentWidget, (char*)widgetName, (QObject*)parent, (char*)name, (QString&)* (QString*)mimetype, (QString&)* (QString*)serviceName, (QStringList&)* (QStringList*)serviceTypes, (QStringList&)* (QStringList*)params);
}
