//Auto-generated by kalyptus. DO NOT EDIT.
#include <qsize.h>
#include <qsizepolicy.h>
#include <knuminput.h>
#include <qstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KNumInput.h>

JNIEXPORT jstring JNICALL
Java_org_kde_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_kde_koala_KNumInput_label(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KNumInput*) QtSupport::getQt(env, obj))->label();
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_KNumInput_showSlider(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KNumInput*) QtSupport::getQt(env, obj))->showSlider();
	return xret;
}

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

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

