//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qpixmap.h>
#include <qstring.h>
#include <qfontmetrics.h>
#include <qlistview.h>
#include <qpalette.h>

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

class QCheckListItemJBridge : public QCheckListItem
{
public:
	QCheckListItemJBridge(QCheckListItem* arg1,const QString& arg2,QCheckListItem::Type arg3) : QCheckListItem(arg1,arg2,arg3) {};
	QCheckListItemJBridge(QCheckListItem* arg1,const QString& arg2) : QCheckListItem(arg1,arg2) {};
	QCheckListItemJBridge(QCheckListItem* arg1,QListViewItem* arg2,const QString& arg3,QCheckListItem::Type arg4) : QCheckListItem(arg1,arg2,arg3,arg4) {};
	QCheckListItemJBridge(QCheckListItem* arg1,QListViewItem* arg2,const QString& arg3) : QCheckListItem(arg1,arg2,arg3) {};
	QCheckListItemJBridge(QListViewItem* arg1,const QString& arg2,QCheckListItem::Type arg3) : QCheckListItem(arg1,arg2,arg3) {};
	QCheckListItemJBridge(QListViewItem* arg1,const QString& arg2) : QCheckListItem(arg1,arg2) {};
	QCheckListItemJBridge(QListViewItem* arg1,QListViewItem* arg2,const QString& arg3,QCheckListItem::Type arg4) : QCheckListItem(arg1,arg2,arg3,arg4) {};
	QCheckListItemJBridge(QListViewItem* arg1,QListViewItem* arg2,const QString& arg3) : QCheckListItem(arg1,arg2,arg3) {};
	QCheckListItemJBridge(QListView* arg1,const QString& arg2,QCheckListItem::Type arg3) : QCheckListItem(arg1,arg2,arg3) {};
	QCheckListItemJBridge(QListView* arg1,const QString& arg2) : QCheckListItem(arg1,arg2) {};
	QCheckListItemJBridge(QListView* arg1,QListViewItem* arg2,const QString& arg3,QCheckListItem::Type arg4) : QCheckListItem(arg1,arg2,arg3,arg4) {};
	QCheckListItemJBridge(QListView* arg1,QListViewItem* arg2,const QString& arg3) : QCheckListItem(arg1,arg2,arg3) {};
	QCheckListItemJBridge(QListViewItem* arg1,const QString& arg2,const QPixmap& arg3) : QCheckListItem(arg1,arg2,arg3) {};
	QCheckListItemJBridge(QListView* arg1,const QString& arg2,const QPixmap& arg3) : QCheckListItem(arg1,arg2,arg3) {};
	void protected_activate() {
		QCheckListItem::activate();
		return;
	}
	void protected_turnOffChild() {
		QCheckListItem::turnOffChild();
		return;
	}
	void protected_stateChange(bool arg1) {
		QCheckListItem::stateChange(arg1);
		return;
	}
	~QCheckListItemJBridge() {QtSupport::qtKeyDeleted(this);}
};

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QCheckListItem_finalize(env, obj);
	return;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QCheckListItem*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QCheckListItem*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QCheckListItem::Type) arg3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QCheckListItem*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QCheckListItem*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QCheckListItem::Type) arg4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QCheckListItem::Type) arg3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg3)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListViewItem*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QCheckListItem::Type) arg4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListView*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListView*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QCheckListItem::Type) arg3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListView*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg3)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListView*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4)
{
static QString* _qstring_text = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QCheckListItemJBridge((QListView*) QtSupport::getQt(env, parent), (QListViewItem*) QtSupport::getQt(env, after), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QCheckListItem::Type) arg4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_paintCell(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jint column, jint width, jint alignment)
{
	((QCheckListItem*) QtSupport::getQt(env, obj))->paintCell((QPainter*) QtSupport::getQt(env, arg1), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QCheckListItem_paintFocus(JNIEnv* env, jobject obj, jobject arg1, jobject cg, jobject r)
{
	((QCheckListItem*) QtSupport::getQt(env, obj))->paintFocus((QPainter*) QtSupport::getQt(env, arg1), (const QColorGroup&)*(const QColorGroup*) QtSupport::getQt(env, cg), (const QRect&)*(const QRect*) QtSupport::getQt(env, r));
	return;
}

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

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

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

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

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

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QCheckListItem_text__(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QCheckListItem*) QtSupport::getQt(env, obj))->text();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QCheckListItem_text__I(JNIEnv* env, jobject obj, jint n)
{
	QString  _qstring;
	_qstring = ((QCheckListItem*) QtSupport::getQt(env, obj))->text((int) n);
	return QtSupport::fromQString(env, &_qstring);
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QCheckListItem_width(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint column)
{
	jint xret = (jint) ((QCheckListItem*) QtSupport::getQt(env, obj))->width((const QFontMetrics&)*(const QFontMetrics*) QtSupport::getQt(env, arg1), (const QListView*) QtSupport::getQt(env, arg2), (int) column);
	return xret;
}

