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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QDateTimeEditBase_addNumber(JNIEnv* env, jobject obj, jint sec, jint num)
{
	((QDateTimeEditBase*) QtSupport::getQt(env, obj))->addNumber((int) sec, (int) num);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QDateTimeEditBase_removeLastNumber(JNIEnv* env, jobject obj, jint sec)
{
	((QDateTimeEditBase*) QtSupport::getQt(env, obj))->removeLastNumber((int) sec);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDateTimeEditBase_sectionFormattedText(JNIEnv* env, jobject obj, jint sec)
{
	QString  _qstring;
	_qstring = ((QDateTimeEditBase*) QtSupport::getQt(env, obj))->sectionFormattedText((int) sec);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDateTimeEditBase_setFocusSection(JNIEnv* env, jobject obj, jint sec)
{
	jboolean xret = (jboolean) ((QDateTimeEditBase*) QtSupport::getQt(env, obj))->setFocusSection((int) sec);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDateTimeEditBase_stepDown(JNIEnv* env, jobject obj)
{
	((QDateTimeEditBase*) QtSupport::getQt(env, obj))->stepDown();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDateTimeEditBase_stepUp(JNIEnv* env, jobject obj)
{
	((QDateTimeEditBase*) QtSupport::getQt(env, obj))->stepUp();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
	_qstring = QDateTimeEditBase::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDateTimeEditBase_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
static QCString* _qstring_arg2 = 0;
	_qstring = QDateTimeEditBase::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromQString(env, &_qstring);
}

