diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QListBoxItem.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QListBoxItem.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/qtjava/javalib/qtjava/QListBoxItem.cpp b/qtjava/javalib/qtjava/QListBoxItem.cpp index bb2eb27f..30623aab 100644 --- a/qtjava/javalib/qtjava/QListBoxItem.cpp +++ b/qtjava/javalib/qtjava/QListBoxItem.cpp @@ -3,104 +3,104 @@ #include <tqstring.h> #include <qtjava/QtSupport.h> -#include <qtjava/QListBoxItem.h> +#include <qtjava/TQListBoxItem.h> JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_current(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->current(); + jboolean xret = (jboolean) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->current(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_height(JNIEnv* env, jobject obj, jobject arg1) { - jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->height((const TTQListBox*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isCurrent(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isCurrent(); + jboolean xret = (jboolean) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->isCurrent(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isSelectable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelectable(); + jboolean xret = (jboolean) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->isSelectable(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_isSelected(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelected(); + jboolean xret = (jboolean) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->isSelected(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_listBox(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TTQListBox"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_next(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TQListBoxItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TTQListBoxItem"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_pixmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QListBoxItem_prev(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TQListBoxItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TTQListBoxItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_rtti(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->rtti(); + jint xret = (jint) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->rtti(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBoxItem_selected(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->selected(); + jboolean xret = (jboolean) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->selected(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxItem_setSelectable(JNIEnv* env, jobject obj, jboolean b) { - ((TQListBoxItem*) QtSupport::getQt(env, obj))->setSelectable((bool) b); + ((TTQListBoxItem*) QtSupport::getQt(env, obj))->setSelectable((bool) b); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBoxItem_text(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQListBoxItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQListBoxItem*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_width(JNIEnv* env, jobject obj, jobject arg1) { - jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->width((const TTQListBox*) QtSupport::getQt(env, arg1)); return xret; } |