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

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

class QKeySequenceJBridge : public QKeySequence
{
public:
	QKeySequenceJBridge() : QKeySequence() {};
	QKeySequenceJBridge(const QString& arg1) : QKeySequence(arg1) {};
	QKeySequenceJBridge(int arg1) : QKeySequence(arg1) {};
	QKeySequenceJBridge(int arg1,int arg2,int arg3,int arg4) : QKeySequence(arg1,arg2,arg3,arg4) {};
	QKeySequenceJBridge(int arg1,int arg2,int arg3) : QKeySequence(arg1,arg2,arg3) {};
	QKeySequenceJBridge(int arg1,int arg2) : QKeySequence(arg1,arg2) {};
	QKeySequenceJBridge(const QKeySequence& arg1) : QKeySequence(arg1) {};
	~QKeySequenceJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jint JNICALL
Java_org_kde_qt_QKeySequence_count(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QKeySequence*) QtSupport::getQt(env, obj))->count();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QKeySequence_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QKeySequence*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QKeySequence_isEmpty(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QKeySequence*) QtSupport::getQt(env, obj))->isEmpty();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QKeySequence_matches(JNIEnv* env, jobject obj, jobject arg1)
{
	jint xret = (jint) ((QKeySequence*) QtSupport::getQt(env, obj))->matches((const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_newQKeySequence__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QKeySequenceJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_newQKeySequence__I(JNIEnv* env, jobject obj, jint key)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QKeySequenceJBridge((int) key));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_newQKeySequence__II(JNIEnv* env, jobject obj, jint k1, jint k2)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QKeySequenceJBridge((int) k1, (int) k2));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_newQKeySequence__III(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QKeySequenceJBridge((int) k1, (int) k2, (int) k3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_newQKeySequence__IIII(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3, jint k4)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QKeySequenceJBridge((int) k1, (int) k2, (int) k3, (int) k4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_newQKeySequence__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key)
{
static QString* _qstring_key = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QKeySequenceJBridge((const QString&)*(QString*) QtSupport::toQString(env, key, &_qstring_key)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QKeySequence_newQKeySequence__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QKeySequenceJBridge((const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QKeySequence_op_1at(JNIEnv* env, jobject obj, jint arg1)
{
	jint xret = (jint) ((QKeySequence*) QtSupport::getQt(env, obj))->operator[]((uint) arg1);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QKeySequence_op_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QKeySequence*) QtSupport::getQt(env, obj))->operator==((const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QKeySequence_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QKeySequence*) QtSupport::getQt(env, obj))->operator!=((const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, arg1));
	return xret;
}

