//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqsize.h>
#include <tqmenudata.h>
#include <tqfont.h>
#include <tqpalette.h>

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QCustomMenuItem_fullSpan(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->fullSpan();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QCustomMenuItem_isSeparator(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQCustomMenuItem*) QtSupport::getQt(env, obj))->isSeparator();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCustomMenuItem_paint(JNIEnv* env, jobject obj, jobject p, jobject cg, jboolean act, jboolean enabled, jint x, jint y, jint w, jint h)
{
	((TQCustomMenuItem*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (bool) act, (bool) enabled, (int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QCustomMenuItem_setFont(JNIEnv* env, jobject obj, jobject font)
{
	((TQCustomMenuItem*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QCustomMenuItem_sizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQCustomMenuItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.trinitydesktop.qt.TQSize", true);
	return xret;
}

