summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/tdejava/TDEHTMLPart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/tdejava/TDEHTMLPart.cpp')
-rw-r--r--tdejava/koala/tdejava/TDEHTMLPart.cpp1364
1 files changed, 1364 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/TDEHTMLPart.cpp b/tdejava/koala/tdejava/TDEHTMLPart.cpp
new file mode 100644
index 00000000..95828136
--- /dev/null
+++ b/tdejava/koala/tdejava/TDEHTMLPart.cpp
@@ -0,0 +1,1364 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <dom/html_document.h>
+#include <dom/dom2_range.h>
+#include <tqcursor.h>
+#include <tqrect.h>
+#include <tdeparts/browserextension.h>
+#include <tqdatastream.h>
+#include <dom/dom_node.h>
+#include <tqstring.h>
+#include <tqpoint.h>
+#include <tqstringlist.h>
+#include <tqvariant.h>
+#include <tdehtml_part.h>
+#include <dom/dom_doc.h>
+#include <kurl.h>
+#include <tqcstring.h>
+
+#include <qtjava/QtSupport.h>
+#include <tdejava/TDESupport.h>
+#include <tdejava/TDEHTMLPart.h>
+
+class TDEHTMLPartJBridge : public TDEHTMLPart
+{
+public:
+ TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,TDEHTMLPart::GUIProfile arg5) : TDEHTMLPart(arg1,arg2,arg3,arg4,arg5) {};
+ TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4) : TDEHTMLPart(arg1,arg2,arg3,arg4) {};
+ TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3) : TDEHTMLPart(arg1,arg2,arg3) {};
+ TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2) : TDEHTMLPart(arg1,arg2) {};
+ TDEHTMLPartJBridge(TQWidget* arg1) : TDEHTMLPart(arg1) {};
+ TDEHTMLPartJBridge() : TDEHTMLPart() {};
+ TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2,const char* arg3,TDEHTMLPart::GUIProfile arg4) : TDEHTMLPart(arg1,arg2,arg3,arg4) {};
+ TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2,const char* arg3) : TDEHTMLPart(arg1,arg2,arg3) {};
+ TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2) : TDEHTMLPart(arg1,arg2) {};
+ TDEHTMLPartJBridge(TDEHTMLView* arg1) : TDEHTMLPart(arg1) {};
+ void public_begin() {
+ TDEHTMLPart::begin();
+ return;
+ }
+ void public_end() {
+ TDEHTMLPart::end();
+ return;
+ }
+ KURL protected_completeURL(const TQString& arg1) {
+ return (KURL) TDEHTMLPart::completeURL(arg1);
+ }
+ void protected_htmlError(int arg1,const TQString& arg2,const KURL& arg3) {
+ TDEHTMLPart::htmlError(arg1,arg2,arg3);
+ return;
+ }
+ void protected_customEvent(TQCustomEvent* arg1) {
+ TDEHTMLPart::customEvent(arg1);
+ return;
+ }
+ void protected_guiActivateEvent(KParts::GUIActivateEvent* arg1) {
+ TDEHTMLPart::guiActivateEvent(arg1);
+ return;
+ }
+ bool protected_openFile() {
+ return (bool) TDEHTMLPart::openFile();
+ }
+ void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4,KParts::URLArgs arg5) {
+ TDEHTMLPart::urlSelected(arg1,arg2,arg3,arg4,arg5);
+ return;
+ }
+ void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4) {
+ TDEHTMLPart::urlSelected(arg1,arg2,arg3,arg4);
+ return;
+ }
+ KParts::ReadOnlyPart* protected_createPart(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,const TQString& arg5,TQString& arg6,TQStringList& arg7,const TQStringList& arg8) {
+ return (KParts::ReadOnlyPart*) TDEHTMLPart::createPart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
+ }
+ bool protected_pluginPageQuestionAsked(const TQString& arg1) {
+ return (bool) TDEHTMLPart::pluginPageQuestionAsked(arg1);
+ }
+ void protected_setPluginPageQuestionAsked(const TQString& arg1) {
+ TDEHTMLPart::setPluginPageQuestionAsked(arg1);
+ return;
+ }
+ bool protected_doOpenStream(const TQString& arg1) {
+ return (bool) TDEHTMLPart::doOpenStream(arg1);
+ }
+ bool protected_doWriteStream(const TQByteArray& arg1) {
+ return (bool) TDEHTMLPart::doWriteStream(arg1);
+ }
+ bool protected_doCloseStream() {
+ return (bool) TDEHTMLPart::doCloseStream();
+ }
+ ~TDEHTMLPartJBridge() {QtSupport::qtKeyDeleted(this);}
+ void removeChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
+ TQObject::removeChild(arg1);
+ }
+ return;
+ }
+ bool doCloseStream() {
+ return QtSupport::booleanDelegate(this,"doCloseStream");
+ }
+ void restoreState(TQDataStream& arg1) {
+ if (!QtSupport::eventDelegate(this,"restoreState",(void*)&arg1,"org.trinitydesktop.qt.TQDataStream")) {
+ TDEHTMLPart::restoreState(arg1);
+ }
+ return;
+ }
+ void partSelectEvent(KParts::PartSelectEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"partSelectEvent",(void*)arg1,"org.trinitydesktop.koala.PartSelectEvent")) {
+ Part::partSelectEvent(arg1);
+ }
+ return;
+ }
+ void conserveMemory() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEHTMLPart","conserveMemory")) {
+ KXMLGUIClient::conserveMemory();
+ }
+ return;
+ }
+ void end() {
+ if (!QtSupport::voidDelegate(this,"org.trinitydesktop.koala.TDEHTMLPart","end")) {
+ TDEHTMLPart::end();
+ }
+ return;
+ }
+ void setManager(KParts::PartManager* arg1) {
+ if (!QtSupport::eventDelegate(this,"setManager",(void*)arg1,"org.trinitydesktop.koala.PartManager")) {
+ Part::setManager(arg1);
+ }
+ return;
+ }
+ void setWidget(TQWidget* arg1) {
+ if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
+ Part::setWidget(arg1);
+ }
+ return;
+ }
+ void customEvent(TQCustomEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
+ TDEHTMLPart::customEvent(arg1);
+ }
+ return;
+ }
+ void timerEvent(TQTimerEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
+ TQObject::timerEvent(arg1);
+ }
+ return;
+ }
+ void showError(TDEIO::Job* arg1) {
+ if (!QtSupport::eventDelegate(this,"showError",(void*)arg1,"org.trinitydesktop.koala.Job")) {
+ TDEHTMLPart::showError(arg1);
+ }
+ return;
+ }
+ void childEvent(TQChildEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
+ TQObject::childEvent(arg1);
+ }
+ return;
+ }
+ void embed(TQWidget* arg1) {
+ if (!QtSupport::eventDelegate(this,"embed",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
+ Part::embed(arg1);
+ }
+ return;
+ }
+ bool closeURL() {
+ return QtSupport::booleanDelegate(this,"closeURL");
+ }
+ void partActivateEvent(KParts::PartActivateEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"partActivateEvent",(void*)arg1,"org.trinitydesktop.koala.PartActivateEvent")) {
+ Part::partActivateEvent(arg1);
+ }
+ return;
+ }
+ void guiActivateEvent(KParts::GUIActivateEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"guiActivateEvent",(void*)arg1,"org.trinitydesktop.koala.GUIActivateEvent")) {
+ TDEHTMLPart::guiActivateEvent(arg1);
+ }
+ return;
+ }
+ void saveState(TQDataStream& arg1) {
+ if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.trinitydesktop.qt.TQDataStream")) {
+ TDEHTMLPart::saveState(arg1);
+ }
+ return;
+ }
+ bool openFile() {
+ return QtSupport::booleanDelegate(this,"openFile");
+ }
+ void insertChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
+ TQObject::insertChild(arg1);
+ }
+ return;
+ }
+ bool eventFilter(TQObject* object,TQEvent* event) {
+ if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.koala.TDEHTMLPart",object,event)) {
+ return TQObject::eventFilter(object,event);
+ } else {
+ return TRUE;
+ }
+ }
+};
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_activeNode(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->activeNode()), "org.trinitydesktop.koala.Node", TRUE);
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_autoloadImages__(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_autoloadImages__Z(JNIEnv* env, jobject obj, jboolean e)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages((bool) e);
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_backgroundURL(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->backgroundURL()), "org.trinitydesktop.koala.KURL", TRUE);
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_baseTarget(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->baseTarget();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_baseURL(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->baseURL()), "org.trinitydesktop.koala.KURL", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_begin__(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_begin();
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_begin__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_begin__Lorg_trinitydesktop_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint xOffset)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_begin__Lorg_trinitydesktop_koala_KURL_2II(JNIEnv* env, jobject obj, jobject url, jint xOffset, jint yOffset)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset, (int) yOffset);
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_browserExtension(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->browserExtension(), "org.trinitydesktop.koala.BrowserExtension");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_browserHostExtension(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->browserHostExtension(), "org.trinitydesktop.koala.BrowserHostExtension");
+ return xret;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_caretDisplayPolicyNonFocused(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->caretDisplayPolicyNonFocused();
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_className(JNIEnv* env, jobject obj)
+{
+ const char* _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->className();
+ return QtSupport::fromCharString(env, (char *) _qstring);
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_closeURL(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->closeURL();
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_completeURL(JNIEnv* env, jobject obj, jstring url)
+{
+static TQString* _qstring_url = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_completeURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.trinitydesktop.koala.KURL", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_createPart(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring mimetype, jobject serviceName, jobjectArray serviceTypes, jobjectArray params)
+{
+static TQCString* _qstring_widgetName = 0;
+static TQCString* _qstring_name = 0;
+static TQString* _qstring_mimetype = 0;
+static TQString* _qstring_serviceName = 0;
+static TQStringList* _qlist_serviceTypes = 0;
+static TQStringList* _qlist_params = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, serviceName, &_qstring_serviceName), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, serviceTypes, &_qlist_serviceTypes), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, params, &_qlist_params)), "org.trinitydesktop.koala.ReadOnlyPart");
+ QtSupport::fromTQStringToStringBuffer(env, _qstring_serviceName, serviceName);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_currentFrame(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->currentFrame(), "org.trinitydesktop.koala.ReadOnlyPart");
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_customEvent(JNIEnv* env, jobject obj, jobject event)
+{
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, event));
+ return;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_dcopObjectId(JNIEnv* env, jobject obj)
+{
+ TQCString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->dcopObjectId();
+ return QtSupport::fromTQCString(env, &_qstring);
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_trinitydesktop_koala_TDEHTMLPart_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_dndEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->dndEnabled();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_doCloseStream(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doCloseStream();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_doOpenStream(JNIEnv* env, jobject obj, jstring mimeType)
+{
+static TQString* _qstring_mimeType = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doOpenStream((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType));
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_doWriteStream(JNIEnv* env, jobject obj, jbyteArray data)
+{
+static TQByteArray* _qbyteArray_data = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doWriteStream((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_documentSource(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->documentSource();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_document(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((TDEHTMLPart*) QtSupport::getQt(env, obj))->document()), "org.trinitydesktop.koala.Document", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_enableJScript(JNIEnv* env, jobject obj, jboolean e)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableJScript((bool) e);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_enableJava(JNIEnv* env, jobject obj, jboolean e)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableJava((bool) e);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_enableMetaRefresh(JNIEnv* env, jobject obj, jboolean e)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableMetaRefresh((bool) e);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_enablePlugins(JNIEnv* env, jobject obj, jboolean e)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enablePlugins((bool) e);
+ return;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_encoding(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->encoding();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_end(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_end();
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_executeScript(JNIEnv* env, jobject obj, jobject n, jstring script)
+{
+static TQString* _qstring_script = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEHTMLPart*) QtSupport::getQt(env, obj))->executeScript((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script))), "org.trinitydesktop.qt.TQVariant", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEHTMLPart*)QtSupport::getQt(env, obj))->parent() == 0) {
+ delete (TDEHTMLPart*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findFrameParent(JNIEnv* env, jobject obj, jobject callingPart, jstring f)
+{
+static TQString* _qstring_f = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFrameParent((KParts::ReadOnlyPart*) QtSupport::getQt(env, callingPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.trinitydesktop.koala.TDEHTMLPart");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findFramePart(JNIEnv* env, jobject obj, jstring f)
+{
+static TQString* _qstring_f = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFramePart((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.trinitydesktop.koala.ReadOnlyPart");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findFrame(JNIEnv* env, jobject obj, jstring f)
+{
+static TQString* _qstring_f = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFrame((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.trinitydesktop.koala.TDEHTMLPart");
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findTextBegin(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextBegin();
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findTextNext__(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextNext();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findTextNext__Z(JNIEnv* env, jobject obj, jboolean reverse)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextNext((bool) reverse);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findText__(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText();
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findText__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring str, jlong options)
+{
+static TQString* _qstring_str = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent)
+{
+static TQString* _qstring_str = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_koala_KFindDialog_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent, jobject findDialog)
+{
+static TQString* _qstring_str = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent), (KFindDialog*) QtSupport::getQt(env, findDialog));
+ return;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_formNotification(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->formNotification();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_frameExists(JNIEnv* env, jobject obj, jstring frameName)
+{
+static TQString* _qstring_frameName = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->frameExists((const TQString&)*(TQString*) QtSupport::toTQString(env, frameName, &_qstring_frameName));
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_frameNames(JNIEnv* env, jobject obj)
+{
+ TQStringList _qlist;
+ _qlist = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->frameNames();
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_gotoAnchor(JNIEnv* env, jobject obj, jstring name)
+{
+static TQString* _qstring_name = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->gotoAnchor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_guiActivateEvent(JNIEnv* env, jobject obj, jobject event)
+{
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_guiActivateEvent((KParts::GUIActivateEvent*) QtSupport::getQt(env, event));
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_hasSelection(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->hasSelection();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_hide(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->hide();
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_htmlDocument(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLDocument(((TDEHTMLPart*) QtSupport::getQt(env, obj))->htmlDocument()), "org.trinitydesktop.koala.HTMLDocument", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_htmlError(JNIEnv* env, jobject obj, jint errorCode, jstring text, jobject reqUrl)
+{
+static TQString* _qstring_text = 0;
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_htmlError((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KURL&)*(const KURL*) QtSupport::getQt(env, reqUrl));
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_inProgress(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->inProgress();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_isCaretMode(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isCaretMode();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_isEditable(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isEditable();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_isModified(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isModified();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_jScriptEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jScriptEnabled();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_javaEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->javaEnabled();
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_jsDefaultStatusBarText(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jsDefaultStatusBarText();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_jsStatusBarText(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jsStatusBarText();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_lastModified(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->lastModified();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_metaObject(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_metaRefreshEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->metaRefreshEnabled();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_koala_TDEHTMLView_2(JNIEnv* env, jobject obj, jobject view)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_koala_TDEHTMLView_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jobject view, jobject parent)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_koala_TDEHTMLView_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name)
+{
+static TQCString* _qstring_name = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_koala_TDEHTMLView_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name, jint prof)
+{
+static TQCString* _qstring_name = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEHTMLPart::GUIProfile) prof));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname)
+{
+static TQCString* _qstring_widgetname = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent)
+{
+static TQCString* _qstring_widgetname = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name)
+{
+static TQCString* _qstring_widgetname = 0;
+static TQCString* _qstring_name = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name, jint prof)
+{
+static TQCString* _qstring_widgetname = 0;
+static TQCString* _qstring_name = 0;
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEHTMLPart::GUIProfile) prof));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_nextAnchor(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->nextAnchor();
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_nodeUnderMouse(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->nodeUnderMouse()), "org.trinitydesktop.koala.Node", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_nonSharedNodeUnderMouse(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->nonSharedNodeUnderMouse()), "org.trinitydesktop.koala.Node", TRUE);
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_onlyLocalReferences(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->onlyLocalReferences();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_openFile(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_openFile();
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_openURL(JNIEnv* env, jobject obj, jobject url)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_pageReferrer(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->pageReferrer();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_paint__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_paint__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_paint__Lorg_trinitydesktop_qt_QPainter_2Lorg_trinitydesktop_qt_QRect_2I_3Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3, jbooleanArray arg4)
+{
+ bool* _bool_arg4 = QtSupport::toBooleanPtr(env, arg4);
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3, (bool*) _bool_arg4);
+ env->SetBooleanArrayRegion(arg4, 0, 1, (jboolean*) _bool_arg4);
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_parentPart(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->parentPart(), "org.trinitydesktop.koala.TDEHTMLPart");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_partManager(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->partManager(), "org.trinitydesktop.koala.PartManager");
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_pluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype)
+{
+static TQString* _qstring_mimetype = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_pluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype));
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_pluginsEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->pluginsEnabled();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_preloadScript(JNIEnv* env, jobject obj, jstring url, jstring script)
+{
+static TQString* _qstring_url = 0;
+static TQString* _qstring_script = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->preloadScript((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_preloadStyleSheet(JNIEnv* env, jobject obj, jstring url, jstring stylesheet)
+{
+static TQString* _qstring_url = 0;
+static TQString* _qstring_stylesheet = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->preloadStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, stylesheet, &_qstring_stylesheet));
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_prevAnchor(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->prevAnchor();
+ return xret;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_referrer(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->referrer();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_restoreState(JNIEnv* env, jobject obj, jobject stream)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->restoreState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream));
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_restored(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->restored();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_saveState(JNIEnv* env, jobject obj, jobject stream)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->saveState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint delay, jstring url)
+{
+static TQString* _qstring_url = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2Z(JNIEnv* env, jobject obj, jint delay, jstring url, jboolean lockHistory)
+{
+static TQString* _qstring_url = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (bool) lockHistory);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_selectAll(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectAll();
+ return;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_selectedTextAsHTML(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectedTextAsHTML();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_selectedText(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectedText();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_selection__(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((TDEHTMLPart*) QtSupport::getQt(env, obj))->selection()), "org.trinitydesktop.koala.Range", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_selection__Lorg_trinitydesktop_koala_Node_2JLorg_trinitydesktop_koala_Node_2J(JNIEnv* env, jobject obj, jobject startNode, jlong startOffset, jobject endNode, jlong endOffset)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selection((DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, startNode), (long&) startOffset, (DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, endNode), (long&) endOffset);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setActiveNode(JNIEnv* env, jobject obj, jobject node)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setActiveNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, node));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setAutoloadImages(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setAutoloadImages((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setCaretDisplayPolicyNonFocused(JNIEnv* env, jobject obj, jint policy)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretDisplayPolicyNonFocused((TDEHTMLPart::CaretDisplayPolicy) policy);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setCaretMode(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretMode((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setCaretPosition__Lorg_trinitydesktop_koala_Node_2J(JNIEnv* env, jobject obj, jobject node, jlong offset)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setCaretPosition__Lorg_trinitydesktop_koala_Node_2JZ(JNIEnv* env, jobject obj, jobject node, jlong offset, jboolean extendSelection)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset, (bool) extendSelection);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setCaretVisible(JNIEnv* env, jobject obj, jboolean show)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretVisible((bool) show);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setCharset(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2)
+{
+static TQString* _qstring_arg1 = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCharset((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setDNDEnabled(JNIEnv* env, jobject obj, jboolean b)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setDNDEnabled((bool) b);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setEditable(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEditable((bool) enable);
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
+{
+static TQString* _qstring_name = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
+ return xret;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean override)
+{
+static TQString* _qstring_name = 0;
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) override);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setFixedFont(JNIEnv* env, jobject obj, jstring name)
+{
+static TQString* _qstring_name = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setFixedFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setFormNotification(JNIEnv* env, jobject obj, jint fn)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setFormNotification((TDEHTMLPart::FormNotification) fn);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setJSDefaultStatusBarText(JNIEnv* env, jobject obj, jstring text)
+{
+static TQString* _qstring_text = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJSDefaultStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setJSStatusBarText(JNIEnv* env, jobject obj, jstring text)
+{
+static TQString* _qstring_text = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJSStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setJScriptEnabled(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJScriptEnabled((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setJavaEnabled(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJavaEnabled((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setMetaRefreshEnabled(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setMetaRefreshEnabled((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setOnlyLocalReferences(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setOnlyLocalReferences((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setPluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype)
+{
+static TQString* _qstring_mimetype = 0;
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_setPluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setPluginsEnabled(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setPluginsEnabled((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setSelection(JNIEnv* env, jobject obj, jobject arg1)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setSelection((const DOM::Range&)*(const DOM::Range*) QtSupport::getQt(env, arg1));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setStandardFont(JNIEnv* env, jobject obj, jstring name)
+{
+static TQString* _qstring_name = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setStandardFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setStatusMessagesEnabled(JNIEnv* env, jobject obj, jboolean enable)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setStatusMessagesEnabled((bool) enable);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setSuppressedPopupIndicator(JNIEnv* env, jobject obj, jboolean enable, jobject originPart)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setSuppressedPopupIndicator((bool) enable, (TDEHTMLPart*) QtSupport::getQt(env, originPart));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setURLCursor(JNIEnv* env, jobject obj, jobject c)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setURLCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, c));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setUserStyleSheet__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring styleSheet)
+{
+static TQString* _qstring_styleSheet = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, styleSheet, &_qstring_styleSheet));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setUserStyleSheet__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_setZoomFactor(JNIEnv* env, jobject obj, jint percent)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setZoomFactor((int) percent);
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_settings(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->settings(), "org.trinitydesktop.koala.TDEHTMLSettings");
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_showError(JNIEnv* env, jobject obj, jobject job)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->showError((TDEIO::Job*) QtSupport::getQt(env, job));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_show(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->show();
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_statusMessagesEnabled(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->statusMessagesEnabled();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_stopAnimations(JNIEnv* env, jobject obj)
+{
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->stopAnimations();
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target)
+{
+static TQCString* _qstring_action = 0;
+static TQString* _qstring_url = 0;
+static TQByteArray* _qbyteArray_formData = 0;
+static TQString* _qstring_target = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType)
+{
+static TQCString* _qstring_action = 0;
+static TQString* _qstring_url = 0;
+static TQByteArray* _qbyteArray_formData = 0;
+static TQString* _qstring_target = 0;
+static TQString* _qstring_contentType = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType, jstring boundary)
+{
+static TQCString* _qstring_action = 0;
+static TQString* _qstring_url = 0;
+static TQByteArray* _qbyteArray_formData = 0;
+static TQString* _qstring_target = 0;
+static TQString* _qstring_contentType = 0;
+static TQString* _qstring_boundary = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType), (const TQString&)*(TQString*) QtSupport::toTQString(env, boundary, &_qstring_boundary));
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_toplevelURL(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->toplevelURL()), "org.trinitydesktop.koala.KURL", TRUE);
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_urlCursor(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(((TDEHTMLPart*) QtSupport::getQt(env, obj))->urlCursor()), "org.trinitydesktop.qt.TQCursor", TRUE);
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target)
+{
+static TQString* _qstring_url = 0;
+static TQString* _qstring__target = 0;
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2Lorg_trinitydesktop_koala_URLArgs_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target, jobject args)
+{
+static TQString* _qstring_url = 0;
+static TQString* _qstring__target = 0;
+ ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target), (KParts::URLArgs)*(KParts::URLArgs*) QtSupport::getQt(env, args));
+ return;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_view(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->view(), "org.trinitydesktop.koala.TDEHTMLView");
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str)
+{
+static TQCString* _qstring_str = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str));
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_write__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint len)
+{
+static TQCString* _qstring_str = 0;
+ ((TDEHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str), (int) len);
+ return;
+}
+
+JNIEXPORT jint JNICALL
+Java_org_trinitydesktop_koala_TDEHTMLPart_zoomFactor(JNIEnv* env, jobject obj)
+{
+ jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->zoomFactor();
+ return xret;
+}
+