//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqpixmap.h>
#include <tqstring.h>
#include <tqfontmetrics.h>
#include <tqlistview.h>
#include <tqpalette.h>

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

class TQCheckListItemJBridge : public TQCheckListItem
{
public:
	TQCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	TQCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {};
	TQCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {};
	TQCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {};
	TQCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {};
	TQCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {};
	TQCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {};
	TQCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	TQCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	TQCheckListItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {};
	void protected_activate() {
		TQCheckListItem::activate();
		return;
	}
	void protected_turnOffChild() {
		TQCheckListItem::turnOffChild();
		return;
	}
	void protected_stateChange(bool arg1) {
		TQCheckListItem::stateChange(arg1);
		return;
	}
	~TQCheckListItemJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_activate(JNIEnv* env, jobject obj)
{
	((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_activate();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QCheckListItem_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQCheckListItem*)(TQCheckListItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQCheckListItem*)(TQCheckListItem*)QtSupport::getQt(env, obj))->listView() == 0) {
		delete (TQCheckListItem*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_isOn(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQCheckListItem*) QtSupport::getQt(env, obj))->isOn();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_isTristate(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQCheckListItem*) QtSupport::getQt(env, obj))->isTristate();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QCheckListItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QCheckListItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QCheckListItem_2Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QCheckListItem_2Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListViewItem_2Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListViewItem_2Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListView_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListView_2Ljava_lang_String_2Lorg_trinitydesktop_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListView_2Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_newTQCheckListItem__Lorg_trinitydesktop_qt_QListView_2Lorg_trinitydesktop_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4)
{
static TQString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_paintCell(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jint column, jint width, jint alignment)
{
	((TQCheckListItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_paintFocus(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jobject r)
{
	((TQCheckListItem*) QtSupport::getQt(env, obj))->paintFocus((TQPainter*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_setOn(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQCheckListItem*) QtSupport::getQt(env, obj))->setOn((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_setState(JNIEnv* env, jobject obj, jint s)
{
	((TQCheckListItem*) QtSupport::getQt(env, obj))->setState((TQCheckListItem::ToggleState) s);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_setTristate(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQCheckListItem*) QtSupport::getQt(env, obj))->setTristate((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_setup(JNIEnv* env, jobject obj)
{
	((TQCheckListItem*) QtSupport::getQt(env, obj))->setup();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_stateChange(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_stateChange((bool) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_state(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->state();
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_text__I(JNIEnv* env, jobject obj, jint n)
{
	TQString  _qstring;
	_qstring = ((TQCheckListItem*) QtSupport::getQt(env, obj))->text((int) n);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_turnOffChild(JNIEnv* env, jobject obj)
{
	((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_turnOffChild();
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_type(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->type();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QCheckListItem_width(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint column)
{
	jint xret = (jint) ((TQCheckListItem*) QtSupport::getQt(env, obj))->width((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1), (const TQListView*) QtSupport::getQt(env, arg2), (int) column);
	return xret;
}

