diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQTab.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQTab.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/qtjava/javalib/qtjava/TQTab.cpp b/qtjava/javalib/qtjava/TQTab.cpp index 0f481b14..761b922f 100644 --- a/qtjava/javalib/qtjava/TQTab.cpp +++ b/qtjava/javalib/qtjava/TQTab.cpp @@ -18,14 +18,14 @@ public: }; JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_dispose(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_qt_QTab_finalize(env, obj); + Java_org_trinitydesktop_qt_QTab_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_finalize(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { delete (TQTab*)QtSupport::getQt(env, obj); @@ -35,34 +35,34 @@ Java_org_kde_qt_QTab_finalize(JNIEnv* env, jobject obj) } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTab_iconSet(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_iconSet(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTab*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TQIconSet"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTab*) QtSupport::getQt(env, obj))->iconSet(), "org.trinitydesktop.qt.TQIconSet"); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QTab_identifier(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_identifier(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTab*) QtSupport::getQt(env, obj))->identifier(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTab_isDisposed(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTab_isEnabled(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_isEnabled(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQTab*) QtSupport::getQt(env, obj))->isEnabled(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_newTQTab__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTabJBridge()); @@ -72,7 +72,7 @@ Java_org_kde_qt_QTab_newTQTab__(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +Java_org_trinitydesktop_qt_QTab_newTQTab__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { static TQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -83,7 +83,7 @@ static TQString* _qstring_text = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject icon) +Java_org_trinitydesktop_qt_QTab_newTQTab__Lorg_trinitydesktop_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject icon) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTabJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); @@ -93,7 +93,7 @@ Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newTQTab__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) +Java_org_trinitydesktop_qt_QTab_newTQTab__Lorg_trinitydesktop_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) { static TQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -104,42 +104,42 @@ static TQString* _qstring_text = 0; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTab_rect(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_rect(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTab*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTab*) QtSupport::getQt(env, obj))->rect()), "org.trinitydesktop.qt.TQRect", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setEnabled(JNIEnv* env, jobject obj, jboolean enable) +Java_org_trinitydesktop_qt_QTab_setEnabled(JNIEnv* env, jobject obj, jboolean enable) { ((TQTab*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setIconSet(JNIEnv* env, jobject obj, jobject icon) +Java_org_trinitydesktop_qt_QTab_setIconSet(JNIEnv* env, jobject obj, jobject icon) { ((TQTab*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setIdentifier(JNIEnv* env, jobject obj, jint i) +Java_org_trinitydesktop_qt_QTab_setIdentifier(JNIEnv* env, jobject obj, jint i) { ((TQTab*) QtSupport::getQt(env, obj))->setIdentifier((int) i); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setRect(JNIEnv* env, jobject obj, jobject rect) +Java_org_trinitydesktop_qt_QTab_setRect(JNIEnv* env, jobject obj, jobject rect) { ((TQTab*) QtSupport::getQt(env, obj))->setRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_setText(JNIEnv* env, jobject obj, jstring text) +Java_org_trinitydesktop_qt_QTab_setText(JNIEnv* env, jobject obj, jstring text) { static TQString* _qstring_text = 0; ((TQTab*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); @@ -147,7 +147,7 @@ static TQString* _qstring_text = 0; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTab_text(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTab_text(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQTab*) QtSupport::getQt(env, obj))->text(); |