summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QFontDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QFontDialog.cpp')
-rw-r--r--qtjava/javalib/qtjava/QFontDialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/qtjava/javalib/qtjava/QFontDialog.cpp b/qtjava/javalib/qtjava/QFontDialog.cpp
index 3548c384..e6cd8c1d 100644
--- a/qtjava/javalib/qtjava/QFontDialog.cpp
+++ b/qtjava/javalib/qtjava/QFontDialog.cpp
@@ -19,7 +19,7 @@ Java_org_kde_qt_QFontDialog_getFont___3Z(JNIEnv* env, jclass cls, jbooleanArray
{
(void) cls;
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok)), "org.kde.qt.TTQFont", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok)), "org.kde.qt.TQFont", TRUE);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
@@ -29,7 +29,7 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2(JNIEnv* env, jclass
{
(void) cls;
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, def))), "org.kde.qt.TTQFont", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def))), "org.kde.qt.TQFont", TRUE);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
@@ -39,7 +39,7 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2
{
(void) cls;
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, def), (TTQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TTQFont", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
@@ -49,8 +49,8 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2
{
(void) cls;
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
-static TTQCString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, def), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TTQFont", TRUE);
+static TQCString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQFont", TRUE);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
@@ -60,7 +60,7 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclas
{
(void) cls;
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TTQFont", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
@@ -70,8 +70,8 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2
{
(void) cls;
bool* _bool_ok = QtSupport::toBooleanPtr(env, ok);
-static TTQCString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TTQFont", TRUE);
+static TQCString* _qstring_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQFont", TRUE);
env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok);
return xret;
}
@@ -79,16 +79,16 @@ static TTQCString* _qstring_name = 0;
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QFontDialog_metaObject(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
- TTQString _qstring;
+ TQString _qstring;
(void) cls;
-static TTQCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg1 = 0;
_qstring = TQFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return QtSupport::fromTQString(env, &_qstring);
}
@@ -96,10 +96,10 @@ static TTQCString* _qstring_arg1 = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
- TTQString _qstring;
+ TQString _qstring;
(void) cls;
-static TTQCString* _qstring_arg1 = 0;
-static TTQCString* _qstring_arg2 = 0;
+static TQCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg2 = 0;
_qstring = TQFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
return QtSupport::fromTQString(env, &_qstring);
}