diff options
Diffstat (limited to 'kdejava/koala/kdejava/KMdiChildFrm.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KMdiChildFrm.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdejava/koala/kdejava/KMdiChildFrm.cpp b/kdejava/koala/kdejava/KMdiChildFrm.cpp index 7a2970b1..b09fd856 100644 --- a/kdejava/koala/kdejava/KMdiChildFrm.cpp +++ b/kdejava/koala/kdejava/KMdiChildFrm.cpp @@ -19,9 +19,9 @@ Java_org_kde_koala_KMdiChildFrm_captionHeight(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildFrm_caption(JNIEnv* env, jobject obj) { - TQString _qstring; + TTQString _qstring; _qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromQString(env, &_qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL @@ -42,7 +42,7 @@ Java_org_kde_koala_KMdiChildFrm_enableClose(JNIEnv* env, jobject obj, jboolean b JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_icon(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.TQPixmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.TTQPixmap"); return xret; } @@ -63,14 +63,14 @@ Java_org_kde_koala_KMdiChildFrm_isInResize(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_mdiAreaContentsRect(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->mdiAreaContentsRect()), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->mdiAreaContentsRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } @@ -91,15 +91,15 @@ Java_org_kde_koala_KMdiChildFrm_redecorateButtons(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_restoreGeometry(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setCaption(JNIEnv* env, jobject obj, jstring text) { -static TQString* _qstring_text = 0; - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setCaption((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } @@ -120,7 +120,7 @@ Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2Z(JNIEn JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setIcon(JNIEnv* env, jobject obj, jobject pxm) { - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pxm)); + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setIcon((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pxm)); return; } @@ -134,7 +134,7 @@ Java_org_kde_koala_KMdiChildFrm_setMinimumSize(JNIEnv* env, jobject obj, jint mi JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setRestoreGeometry(JNIEnv* env, jobject obj, jobject newRestGeo) { - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setRestoreGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newRestGeo)); + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setRestoreGeometry((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, newRestGeo)); return; } @@ -169,7 +169,7 @@ Java_org_kde_koala_KMdiChildFrm_state(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_systemMenu(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->systemMenu(), "org.kde.qt.TQPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->systemMenu(), "org.kde.qt.TTQPopupMenu"); return xret; } @@ -183,7 +183,7 @@ Java_org_kde_koala_KMdiChildFrm_unsetClient__(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_unsetClient__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject positionOffset) { - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient((TQPoint)*(TQPoint*) QtSupport::getQt(env, positionOffset)); + ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient((TTQPoint)*(TTQPoint*) QtSupport::getQt(env, positionOffset)); return; } |