//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <qcolor.h>
#include <khtml_settings.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KHTMLSettings.h>

class KHTMLSettingsJBridge : public KHTMLSettings
{
public:
	KHTMLSettingsJBridge() : KHTMLSettings() {};
	KHTMLSettingsJBridge(const KHTMLSettings& arg1) : KHTMLSettings(arg1) {};
	~KHTMLSettingsJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_adviceToStr(JNIEnv* env, jclass cls, jint _advice)
{
	const char* _qstring;
	(void) cls;
	_qstring = KHTMLSettingsJBridge::adviceToStr((KHTMLSettings::KJavaScriptAdvice) _advice);
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_allowTabulation(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->allowTabulation();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_autoLoadImages(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->autoLoadImages();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_autoSpellCheck(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->autoSpellCheck();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_availableFamilies(JNIEnv* env, jclass cls)
{
	QString  _qstring;
	(void) cls;
	_qstring = KHTMLSettingsJBridge::availableFamilies();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLSettings_baseColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->baseColor(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_changeCursor(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->changeCursor();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_cursiveFontName(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->cursiveFontName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KHTMLSettings_finalize(env, obj);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_encoding(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->encoding();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_fantasyFontName(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->fantasyFontName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (KHTMLSettings*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_fixedFontName(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->fixedFontName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_followSystemColors(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->followSystemColors();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_hoverLink(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->hoverLink();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_init__(JNIEnv* env, jobject obj)
{
	((KHTMLSettings*) QtSupport::getQt(env, obj))->init();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_init__Lorg_kde_koala_KConfig_2(JNIEnv* env, jobject obj, jobject config)
{
	((KHTMLSettings*) QtSupport::getQt(env, obj))->init((KConfig*) QtSupport::getQt(env, config));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_init__Lorg_kde_koala_KConfig_2Z(JNIEnv* env, jobject obj, jobject config, jboolean reset)
{
	((KHTMLSettings*) QtSupport::getQt(env, obj))->init((KConfig*) QtSupport::getQt(env, config), (bool) reset);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isAutoDelayedActionsEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isAutoDelayedActionsEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isBackRightClickEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isBackRightClickEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isFormCompletionEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isFormCompletionEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaEnabled__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaEnabled((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaScriptDebugEnabled__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptDebugEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaScriptDebugEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptDebugEnabled((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaScriptEnabled__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaScriptEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptEnabled((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaScriptErrorReportingEnabled__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptErrorReportingEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isJavaScriptErrorReportingEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptErrorReportingEnabled((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isOpenMiddleClickEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isOpenMiddleClickEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isPluginsEnabled__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isPluginsEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_isPluginsEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isPluginsEnabled((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_jsErrorsEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->jsErrorsEnabled();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLSettings_linkColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->linkColor(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_maxFormCompletionItems(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->maxFormCompletionItems();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_mediumFontSize(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->mediumFontSize();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_minFontSize(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->minFontSize();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_newKHTMLSettings__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLSettingsJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_newKHTMLSettings__Lorg_kde_koala_KHTMLSettings_2(JNIEnv* env, jobject obj, jobject other)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KHTMLSettingsJBridge((const KHTMLSettings&)*(const KHTMLSettings*) QtSupport::getQt(env, other)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_sansSerifFontName(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->sansSerifFontName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_serifFontName(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->serifFontName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_setFixedFontName(JNIEnv* env, jobject obj, jstring n)
{
static QString* _qstring_n = 0;
	((KHTMLSettings*) QtSupport::getQt(env, obj))->setFixedFontName((const QString&)*(QString*) QtSupport::toQString(env, n, &_qstring_n));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_setJSErrorsEnabled(JNIEnv* env, jobject obj, jboolean enabled)
{
	((KHTMLSettings*) QtSupport::getQt(env, obj))->setJSErrorsEnabled((bool) enabled);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_setStdFontName(JNIEnv* env, jobject obj, jstring n)
{
static QString* _qstring_n = 0;
	((KHTMLSettings*) QtSupport::getQt(env, obj))->setStdFontName((const QString&)*(QString*) QtSupport::toQString(env, n, &_qstring_n));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_settingsToCSS(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->settingsToCSS();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_showAnimations(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->showAnimations();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KHTMLSettings_splitDomainAdvice(JNIEnv* env, jclass cls, jstring configStr, jobject domain, jint javaAdvice, jint javaScriptAdvice)
{
	(void) cls;
static QString* _qstring_configStr = 0;
static QString* _qstring_domain = 0;
	KHTMLSettingsJBridge::splitDomainAdvice((const QString&)*(QString*) QtSupport::toQString(env, configStr, &_qstring_configStr), (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, domain, &_qstring_domain), (KHTMLSettings::KJavaScriptAdvice&) javaAdvice, (KHTMLSettings::KJavaScriptAdvice&) javaScriptAdvice);
	QtSupport::fromQStringToStringBuffer(env, _qstring_domain, domain);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_stdFontName(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->stdFontName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_strToAdvice(JNIEnv* env, jclass cls, jstring _str)
{
	(void) cls;
static QString* _qstring__str = 0;
	jint xret = (jint) KHTMLSettingsJBridge::strToAdvice((const QString&)*(QString*) QtSupport::toQString(env, _str, &_qstring__str));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLSettings_textColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->textColor(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_underlineLink(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->underlineLink();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KHTMLSettings_unfinishedImageFrame(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->unfinishedImageFrame();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KHTMLSettings_userStyleSheet(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->userStyleSheet();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KHTMLSettings_vLinkColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->vLinkColor(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowFocusPolicy__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowFocusPolicy();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowFocusPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowFocusPolicy((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowMovePolicy__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowMovePolicy();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowMovePolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowMovePolicy((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowOpenPolicy__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowOpenPolicy();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowOpenPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowOpenPolicy((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowResizePolicy__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowResizePolicy();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowResizePolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowResizePolicy((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowStatusPolicy__(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowStatusPolicy();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KHTMLSettings_windowStatusPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname)
{
static QString* _qstring_hostname = 0;
	jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowStatusPolicy((const QString&)*(QString*) QtSupport::toQString(env, hostname, &_qstring_hostname));
	return xret;
}

