You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
563 lines
19 KiB
563 lines
19 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <tqstring.h>
|
|
#include <tqcolor.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 jboolean JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_accessKeysEnabled(JNIEnv* env, jobject obj)
|
|
{
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->accessKeysEnabled();
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_addAdFilter(JNIEnv* env, jobject obj, jstring url)
|
|
{
|
|
static TQString* _qstring_url = 0;
|
|
((KHTMLSettings*) QtSupport::getQt(env, obj))->addAdFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
|
|
return;
|
|
}
|
|
|
|
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)
|
|
{
|
|
TQString _qstring;
|
|
(void) cls;
|
|
_qstring = KHTMLSettingsJBridge::availableFamilies();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_baseColor(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->baseColor(), "org.kde.qt.TQColor");
|
|
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)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->cursiveFontName();
|
|
return QtSupport::fromTQString(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)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->encoding();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_fantasyFontName(JNIEnv* env, jobject obj)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->fantasyFontName();
|
|
return QtSupport::fromTQString(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)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->fixedFontName();
|
|
return QtSupport::fromTQString(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_isAdFilterEnabled(JNIEnv* env, jobject obj)
|
|
{
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isAdFilterEnabled();
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_isAdFiltered(JNIEnv* env, jobject obj, jstring url)
|
|
{
|
|
static TQString* _qstring_url = 0;
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isAdFiltered((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
|
|
return xret;
|
|
}
|
|
|
|
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_isHideAdsEnabled(JNIEnv* env, jobject obj)
|
|
{
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isHideAdsEnabled();
|
|
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 TQString* _qstring_hostname = 0;
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaEnabled((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptDebugEnabled((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptEnabled((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptErrorReportingEnabled((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->isPluginsEnabled((const TQString&)*(TQString*) QtSupport::toTQString(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 jboolean JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_jsPopupBlockerPassivePopup(JNIEnv* env, jobject obj)
|
|
{
|
|
jboolean xret = (jboolean) ((KHTMLSettings*) QtSupport::getQt(env, obj))->jsPopupBlockerPassivePopup();
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_linkColor(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->linkColor(), "org.kde.qt.TQColor");
|
|
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)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->sansSerifFontName();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_serifFontName(JNIEnv* env, jobject obj)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->serifFontName();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_setFixedFontName(JNIEnv* env, jobject obj, jstring n)
|
|
{
|
|
static TQString* _qstring_n = 0;
|
|
((KHTMLSettings*) QtSupport::getQt(env, obj))->setFixedFontName((const TQString&)*(TQString*) QtSupport::toTQString(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_setJSPopupBlockerPassivePopup(JNIEnv* env, jobject obj, jboolean enabled)
|
|
{
|
|
((KHTMLSettings*) QtSupport::getQt(env, obj))->setJSPopupBlockerPassivePopup((bool) enabled);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_setStdFontName(JNIEnv* env, jobject obj, jstring n)
|
|
{
|
|
static TQString* _qstring_n = 0;
|
|
((KHTMLSettings*) QtSupport::getQt(env, obj))->setStdFontName((const TQString&)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n));
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_settingsToCSS(JNIEnv* env, jobject obj)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->settingsToCSS();
|
|
return QtSupport::fromTQString(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 TQString* _qstring_configStr = 0;
|
|
static TQString* _qstring_domain = 0;
|
|
KHTMLSettingsJBridge::splitDomainAdvice((const TQString&)*(TQString*) QtSupport::toTQString(env, configStr, &_qstring_configStr), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, domain, &_qstring_domain), (KHTMLSettings::KJavaScriptAdvice&) javaAdvice, (KHTMLSettings::KJavaScriptAdvice&) javaScriptAdvice);
|
|
QtSupport::fromTQStringToStringBuffer(env, _qstring_domain, domain);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_stdFontName(JNIEnv* env, jobject obj)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->stdFontName();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT jint JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_strToAdvice(JNIEnv* env, jclass cls, jstring _str)
|
|
{
|
|
(void) cls;
|
|
static TQString* _qstring__str = 0;
|
|
jint xret = (jint) KHTMLSettingsJBridge::strToAdvice((const TQString&)*(TQString*) QtSupport::toTQString(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*)(TQColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->textColor(), "org.kde.qt.TQColor");
|
|
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)
|
|
{
|
|
TQString _qstring;
|
|
_qstring = ((KHTMLSettings*) QtSupport::getQt(env, obj))->userStyleSheet();
|
|
return QtSupport::fromTQString(env, &_qstring);
|
|
}
|
|
|
|
JNIEXPORT jobject JNICALL
|
|
Java_org_kde_koala_KHTMLSettings_vLinkColor(JNIEnv* env, jobject obj)
|
|
{
|
|
jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KHTMLSettings*) QtSupport::getQt(env, obj))->vLinkColor(), "org.kde.qt.TQColor");
|
|
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 TQString* _qstring_hostname = 0;
|
|
jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowFocusPolicy((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowMovePolicy((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowOpenPolicy((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowResizePolicy((const TQString&)*(TQString*) QtSupport::toTQString(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 TQString* _qstring_hostname = 0;
|
|
jint xret = (jint) ((KHTMLSettings*) QtSupport::getQt(env, obj))->windowStatusPolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname));
|
|
return xret;
|
|
}
|
|
|