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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KNumInput.h>

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KNumInput_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((KNumInput*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label)
{
static TQString* _qstring_label = 0;
	((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a)
{
static TQString* _qstring_label = 0;
	((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KNumInput_setSteps(JNIEnv* env, jobject obj, jint minor, jint major)
{
	((KNumInput*) QtSupport::getQt(env, obj))->setSteps((int) minor, (int) major);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KNumInput_showSlider(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KNumInput*) QtSupport::getQt(env, obj))->showSlider();
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KNumInput_sizePolicy(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KNumInput*) QtSupport::getQt(env, obj))->sizePolicy()), "org.trinitydesktop.qt.TQSizePolicy", TRUE);
	return xret;
}

