//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqlistbox.h>
#include <tqstring.h>

#include <qtjava/QtSupport.h>
#include <qtjava/TQListBoxItem.h>

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_current(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->current();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_height(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_isCurrent(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isCurrent();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_isSelectable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelectable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_isSelected(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->isSelected();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_listBox(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->listBox(), "org.trinitydesktop.qt.TQListBox");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_next(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->next(), "org.trinitydesktop.qt.TQListBoxItem");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_pixmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->pixmap(), "org.trinitydesktop.qt.TQPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_prev(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListBoxItem*) QtSupport::getQt(env, obj))->prev(), "org.trinitydesktop.qt.TQListBoxItem");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_rtti(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->rtti();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_selected(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQListBoxItem*) QtSupport::getQt(env, obj))->selected();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_setSelectable(JNIEnv* env, jobject obj, jboolean b)
{
	((TQListBoxItem*) QtSupport::getQt(env, obj))->setSelectable((bool) b);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_text(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQListBoxItem*) QtSupport::getQt(env, obj))->text();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QListBoxItem_width(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1));
	return xret;
}

