summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QSettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QSettings.cpp')
-rw-r--r--qtjava/javalib/qtjava/QSettings.cpp188
1 files changed, 94 insertions, 94 deletions
diff --git a/qtjava/javalib/qtjava/QSettings.cpp b/qtjava/javalib/qtjava/QSettings.cpp
index 0025d489..1a77c4e2 100644
--- a/qtjava/javalib/qtjava/QSettings.cpp
+++ b/qtjava/javalib/qtjava/QSettings.cpp
@@ -9,16 +9,16 @@
class TQSettingsJBridge : public TQSettings
{
public:
- TQSettingsJBridge() : TTQSettings() {};
- TQSettingsJBridge(TTQSettings::Format arg1) : TTQSettings(arg1) {};
+ TQSettingsJBridge() : TQSettings() {};
+ TQSettingsJBridge(TQSettings::Format arg1) : TQSettings(arg1) {};
~TQSettingsJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_beginGroup(JNIEnv* env, jobject obj, jstring group)
{
-static TTQString* _qstring_group = 0;
- ((TTQSettings*) QtSupport::getQt(env, obj))->beginGroup((const TTQString&)*(TTQString*) QtSupport::toTQString(env, group, &_qstring_group));
+static TQString* _qstring_group = 0;
+ ((TQSettings*) QtSupport::getQt(env, obj))->beginGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group));
return;
}
@@ -32,24 +32,24 @@ Java_org_kde_qt_QSettings_dispose(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_endGroup(JNIEnv* env, jobject obj)
{
- ((TTQSettings*) QtSupport::getQt(env, obj))->endGroup();
+ ((TQSettings*) QtSupport::getQt(env, obj))->endGroup();
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSettings_entryList(JNIEnv* env, jobject obj, jstring arg1)
{
- TTQStringList _qlist;
-static TTQString* _qstring_arg1 = 0;
- _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->entryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ TQStringList _qlist;
+static TQString* _qstring_arg1 = 0;
+ _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->entryList((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (TTQSettings*)QtSupport::getQt(env, obj);
+ delete (TQSettings*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -58,16 +58,16 @@ Java_org_kde_qt_QSettings_finalize(JNIEnv* env, jobject obj)
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSettings_group(JNIEnv* env, jobject obj)
{
- TTQString _qstring;
- _qstring = ((TTQSettings*) QtSupport::getQt(env, obj))->group();
+ TQString _qstring;
+ _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->group();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_insertSearchPath(JNIEnv* env, jobject obj, jint arg1, jstring arg2)
{
-static TTQString* _qstring_arg2 = 0;
- ((TTQSettings*) QtSupport::getQt(env, obj))->insertSearchPath((TTQSettings::System) arg1, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
+static TQString* _qstring_arg2 = 0;
+ ((TQSettings*) QtSupport::getQt(env, obj))->insertSearchPath((TQSettings::System) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
return;
}
@@ -91,7 +91,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_newTQSettings__I(JNIEnv* env, jobject obj, jint format)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQSettingsJBridge((TTQSettings::Format) format));
+ QtSupport::setQt(env, obj, new TQSettingsJBridge((TQSettings::Format) format));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -100,25 +100,25 @@ Java_org_kde_qt_QSettings_newTQSettings__I(JNIEnv* env, jobject obj, jint format
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
-static TTQString* _qstring_arg1 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+static TQString* _qstring_arg1 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean def)
{
-static TTQString* _qstring_arg1 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def);
+static TQString* _qstring_arg1 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_readBoolEntry__Ljava_lang_String_2Z_3Z(JNIEnv* env, jobject obj, jstring arg1, jboolean def, jbooleanArray arg3)
{
-static TTQString* _qstring_arg1 = 0;
+static TQString* _qstring_arg1 = 0;
bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3);
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def, (bool*) _bool_arg3);
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def, (bool*) _bool_arg3);
env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3);
return xret;
}
@@ -126,25 +126,25 @@ static TTQString* _qstring_arg1 = 0;
JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
-static TTQString* _qstring_arg1 = 0;
- jdouble xret = (jdouble) ((TTQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+static TQString* _qstring_arg1 = 0;
+ jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
return xret;
}
JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring arg1, jdouble def)
{
-static TTQString* _qstring_arg1 = 0;
- jdouble xret = (jdouble) ((TTQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def);
+static TQString* _qstring_arg1 = 0;
+ jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def);
return xret;
}
JNIEXPORT jdouble JNICALL
Java_org_kde_qt_QSettings_readDoubleEntry__Ljava_lang_String_2D_3Z(JNIEnv* env, jobject obj, jstring arg1, jdouble def, jbooleanArray arg3)
{
-static TTQString* _qstring_arg1 = 0;
+static TQString* _qstring_arg1 = 0;
bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3);
- jdouble xret = (jdouble) ((TTQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def, (bool*) _bool_arg3);
+ jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def, (bool*) _bool_arg3);
env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3);
return xret;
}
@@ -152,30 +152,30 @@ static TTQString* _qstring_arg1 = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
- TTQString _qstring;
-static TTQString* _qstring_arg1 = 0;
- _qstring = ((TTQSettings*) QtSupport::getQt(env, obj))->readEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+ TQString _qstring;
+static TQString* _qstring_arg1 = 0;
+ _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring def)
{
- TTQString _qstring;
-static TTQString* _qstring_arg1 = 0;
-static TTQString* _qstring_def = 0;
- _qstring = ((TTQSettings*) QtSupport::getQt(env, obj))->readEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, def, &_qstring_def));
+ TQString _qstring;
+static TQString* _qstring_arg1 = 0;
+static TQString* _qstring_def = 0;
+ _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QSettings_readEntry__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring arg1, jstring def, jbooleanArray arg3)
{
- TTQString _qstring;
-static TTQString* _qstring_arg1 = 0;
-static TTQString* _qstring_def = 0;
+ TQString _qstring;
+static TQString* _qstring_arg1 = 0;
+static TQString* _qstring_def = 0;
bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3);
- _qstring = ((TTQSettings*) QtSupport::getQt(env, obj))->readEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, def, &_qstring_def), (bool*) _bool_arg3);
+ _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def), (bool*) _bool_arg3);
env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3);
return QtSupport::fromTQString(env, &_qstring);
}
@@ -183,67 +183,67 @@ static TTQString* _qstring_def = 0;
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
- TTQStringList _qlist;
-static TTQString* _qstring_arg1 = 0;
- _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ TQStringList _qlist;
+static TQString* _qstring_arg1 = 0;
+ _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring arg1, jchar sep)
{
- TTQStringList _qlist;
-static TTQString* _qstring_arg1 = 0;
-static TTQChar* _qchar_sep = 0;
- _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQChar&)*(TTQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep));
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ TQStringList _qlist;
+static TQString* _qstring_arg1 = 0;
+static TQChar* _qchar_sep = 0;
+ _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep));
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2C_3Z(JNIEnv* env, jobject obj, jstring arg1, jchar sep, jbooleanArray arg3)
{
- TTQStringList _qlist;
-static TTQString* _qstring_arg1 = 0;
-static TTQChar* _qchar_sep = 0;
+ TQStringList _qlist;
+static TQString* _qstring_arg1 = 0;
+static TQChar* _qchar_sep = 0;
bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3);
- _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQChar&)*(TTQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (bool*) _bool_arg3);
+ _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (bool*) _bool_arg3);
env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3);
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSettings_readListEntry__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring arg1, jbooleanArray arg2)
{
- TTQStringList _qlist;
-static TTQString* _qstring_arg1 = 0;
+ TQStringList _qlist;
+static TQString* _qstring_arg1 = 0;
bool* _bool_arg2 = QtSupport::toBooleanPtr(env, arg2);
- _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool*) _bool_arg2);
+ _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool*) _bool_arg2);
env->SetBooleanArrayRegion(arg2, 0, 1, (jboolean*) _bool_arg2);
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
-static TTQString* _qstring_arg1 = 0;
- jint xret = (jint) ((TTQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+static TQString* _qstring_arg1 = 0;
+ jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint def)
{
-static TTQString* _qstring_arg1 = 0;
- jint xret = (jint) ((TTQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def);
+static TQString* _qstring_arg1 = 0;
+ jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QSettings_readNumEntry__Ljava_lang_String_2I_3Z(JNIEnv* env, jobject obj, jstring arg1, jint def, jbooleanArray arg3)
{
-static TTQString* _qstring_arg1 = 0;
+static TQString* _qstring_arg1 = 0;
bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3);
- jint xret = (jint) ((TTQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def, (bool*) _bool_arg3);
+ jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def, (bool*) _bool_arg3);
env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3);
return xret;
}
@@ -251,109 +251,109 @@ static TTQString* _qstring_arg1 = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_removeEntry(JNIEnv* env, jobject obj, jstring arg1)
{
-static TTQString* _qstring_arg1 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->removeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+static TQString* _qstring_arg1 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->removeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_removeSearchPath(JNIEnv* env, jobject obj, jint arg1, jstring arg2)
{
-static TTQString* _qstring_arg2 = 0;
- ((TTQSettings*) QtSupport::getQt(env, obj))->removeSearchPath((TTQSettings::System) arg1, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
+static TQString* _qstring_arg2 = 0;
+ ((TQSettings*) QtSupport::getQt(env, obj))->removeSearchPath((TQSettings::System) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_resetGroup(JNIEnv* env, jobject obj)
{
- ((TTQSettings*) QtSupport::getQt(env, obj))->resetGroup();
+ ((TQSettings*) QtSupport::getQt(env, obj))->resetGroup();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring domain, jstring product)
{
-static TTQString* _qstring_domain = 0;
-static TTQString* _qstring_product = 0;
- ((TTQSettings*) QtSupport::getQt(env, obj))->setPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, product, &_qstring_product));
+static TQString* _qstring_domain = 0;
+static TQString* _qstring_product = 0;
+ ((TQSettings*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toTQString(env, product, &_qstring_product));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QSettings_setPath__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring domain, jstring product, jint arg3)
{
-static TTQString* _qstring_domain = 0;
-static TTQString* _qstring_product = 0;
- ((TTQSettings*) QtSupport::getQt(env, obj))->setPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, product, &_qstring_product), (TTQSettings::Scope) arg3);
+static TQString* _qstring_domain = 0;
+static TQString* _qstring_product = 0;
+ ((TQSettings*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toTQString(env, product, &_qstring_product), (TQSettings::Scope) arg3);
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QSettings_subkeyList(JNIEnv* env, jobject obj, jstring arg1)
{
- TTQStringList _qlist;
-static TTQString* _qstring_arg1 = 0;
- _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->subkeyList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ TQStringList _qlist;
+static TQString* _qstring_arg1 = 0;
+ _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->subkeyList((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_sync(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->sync();
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->sync();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring arg1, jdouble arg2)
{
-static TTQString* _qstring_arg1 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) arg2);
+static TQString* _qstring_arg1 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) arg2);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring arg1, jint arg2)
{
-static TTQString* _qstring_arg1 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2);
+static TQString* _qstring_arg1 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) arg2);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2)
{
-static TTQString* _qstring_arg1 = 0;
-static TTQCString* _qstring_arg2 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
+static TQString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg2 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2)
{
-static TTQString* _qstring_arg1 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2);
+static TQString* _qstring_arg1 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobjectArray arg2)
{
-static TTQString* _qstring_arg1 = 0;
-static TTQStringList* _qlist_arg2 = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2));
+static TQString* _qstring_arg1 = 0;
+static TQStringList* _qlist_arg2 = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QSettings_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring arg1, jobjectArray arg2, jchar sep)
{
-static TTQString* _qstring_arg1 = 0;
-static TTQStringList* _qlist_arg2 = 0;
-static TTQChar* _qchar_sep = 0;
- jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2), (const TTQChar&)*(TTQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep));
+static TQString* _qstring_arg1 = 0;
+static TQStringList* _qlist_arg2 = 0;
+static TQChar* _qchar_sep = 0;
+ jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep));
return xret;
}