diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQTableItem.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQTableItem.cpp | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/qtjava/javalib/qtjava/TQTableItem.cpp b/qtjava/javalib/qtjava/TQTableItem.cpp index 60dfa7d8..1866c05c 100644 --- a/qtjava/javalib/qtjava/TQTableItem.cpp +++ b/qtjava/javalib/qtjava/TQTableItem.cpp @@ -19,49 +19,49 @@ public: }; JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_alignment(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_alignment(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->alignment(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_colSpan(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_colSpan(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->colSpan(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_col(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_col(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->col(); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_createEditor(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_createEditor(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.trinitydesktop.qt.TQWidget"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_dispose(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_qt_QTableItem_finalize(env, obj); + Java_org_trinitydesktop_qt_QTableItem_finalize(env, obj); return; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_editType(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_editType(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->editType(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_finalize(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQTableItem*)(TQTableItem*)QtSupport::getQt(env, obj))->table() == 0) { delete (TQTableItem*)QtSupport::getQt(env, obj); @@ -71,27 +71,27 @@ Java_org_kde_qt_QTableItem_finalize(JNIEnv* env, jobject obj) } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_isDisposed(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_isEnabled(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_isEnabled(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->isEnabled(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_isReplaceable(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_isReplaceable(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->isReplaceable(); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTableItem_key(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_key(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQTableItem*) QtSupport::getQt(env, obj))->key(); @@ -99,7 +99,7 @@ Java_org_kde_qt_QTableItem_key(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2I(JNIEnv* env, jobject obj, jobject table, jint et) +Java_org_trinitydesktop_qt_QTableItem_newTQTableItem__Lorg_trinitydesktop_qt_QTable_2I(JNIEnv* env, jobject obj, jobject table, jint et) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et)); @@ -109,7 +109,7 @@ Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2I(JNIEnv* env, jo } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text) +Java_org_trinitydesktop_qt_QTableItem_newTQTableItem__Lorg_trinitydesktop_qt_QTable_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text) { static TQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -120,7 +120,7 @@ static TQString* _qstring_text = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newTQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text, jobject p) +Java_org_trinitydesktop_qt_QTableItem_newTQTableItem__Lorg_trinitydesktop_qt_QTable_2ILjava_lang_String_2Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text, jobject p) { static TQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { @@ -131,91 +131,91 @@ static TQString* _qstring_text = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) +Java_org_trinitydesktop_qt_QTableItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jobject cr, jboolean selected) { ((TQTableItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, cr), (bool) selected); return; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_pixmap(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_pixmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQTableItem*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQTableItem*) QtSupport::getQt(env, obj))->pixmap()), "org.trinitydesktop.qt.TQPixmap", TRUE); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_rowSpan(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_rowSpan(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->rowSpan(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_row(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_row(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->row(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QTableItem_rtti(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_rtti(JNIEnv* env, jobject obj) { jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->rtti(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setCol(JNIEnv* env, jobject obj, jint c) +Java_org_trinitydesktop_qt_QTableItem_setCol(JNIEnv* env, jobject obj, jint c) { ((TQTableItem*) QtSupport::getQt(env, obj))->setCol((int) c); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) +Java_org_trinitydesktop_qt_QTableItem_setContentFromEditor(JNIEnv* env, jobject obj, jobject w) { ((TQTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TQWidget*) QtSupport::getQt(env, w)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setEnabled(JNIEnv* env, jobject obj, jboolean b) +Java_org_trinitydesktop_qt_QTableItem_setEnabled(JNIEnv* env, jobject obj, jboolean b) { ((TQTableItem*) QtSupport::getQt(env, obj))->setEnabled((bool) b); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setPixmap(JNIEnv* env, jobject obj, jobject p) +Java_org_trinitydesktop_qt_QTableItem_setPixmap(JNIEnv* env, jobject obj, jobject p) { ((TQTableItem*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setReplaceable(JNIEnv* env, jobject obj, jboolean arg1) +Java_org_trinitydesktop_qt_QTableItem_setReplaceable(JNIEnv* env, jobject obj, jboolean arg1) { ((TQTableItem*) QtSupport::getQt(env, obj))->setReplaceable((bool) arg1); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setRow(JNIEnv* env, jobject obj, jint r) +Java_org_trinitydesktop_qt_QTableItem_setRow(JNIEnv* env, jobject obj, jint r) { ((TQTableItem*) QtSupport::getQt(env, obj))->setRow((int) r); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setSpan(JNIEnv* env, jobject obj, jint rs, jint cs) +Java_org_trinitydesktop_qt_QTableItem_setSpan(JNIEnv* env, jobject obj, jint rs, jint cs) { ((TQTableItem*) QtSupport::getQt(env, obj))->setSpan((int) rs, (int) cs); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setText(JNIEnv* env, jobject obj, jstring t) +Java_org_trinitydesktop_qt_QTableItem_setText(JNIEnv* env, jobject obj, jstring t) { static TQString* _qstring_t = 0; ((TQTableItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); @@ -223,28 +223,28 @@ static TQString* _qstring_t = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_setWordWrap(JNIEnv* env, jobject obj, jboolean b) +Java_org_trinitydesktop_qt_QTableItem_setWordWrap(JNIEnv* env, jobject obj, jboolean b) { ((TQTableItem*) QtSupport::getQt(env, obj))->setWordWrap((bool) b); return; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_sizeHint(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.trinitydesktop.qt.TQSize", TRUE); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QTableItem_table(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_table(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->table(), "org.kde.qt.TQTable"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableItem*) QtSupport::getQt(env, obj))->table(), "org.trinitydesktop.qt.TQTable"); return xret; } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QTableItem_text(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_text(JNIEnv* env, jobject obj) { TQString _qstring; _qstring = ((TQTableItem*) QtSupport::getQt(env, obj))->text(); @@ -252,14 +252,14 @@ Java_org_kde_qt_QTableItem_text(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_updateEditor(JNIEnv* env, jobject obj, jint oldRow, jint oldCol) +Java_org_trinitydesktop_qt_QTableItem_updateEditor(JNIEnv* env, jobject obj, jint oldRow, jint oldCol) { ((TQTableItem*) QtSupport::getQt(env, obj))->updateEditor((int) oldRow, (int) oldCol); return; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QTableItem_wordWrap(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QTableItem_wordWrap(JNIEnv* env, jobject obj) { jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->wordWrap(); return xret; |