//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qmovie.h>
#include <qstring.h>
#include <qpixmap.h>
#include <qimage.h>
#include <qcolor.h>
#include <qcstring.h>

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

class QMovieJBridge : public QMovie
{
public:
	QMovieJBridge() : QMovie() {};
	QMovieJBridge(int arg1) : QMovie(arg1) {};
	QMovieJBridge(QDataSource* arg1,int arg2) : QMovie(arg1,arg2) {};
	QMovieJBridge(QDataSource* arg1) : QMovie(arg1) {};
	QMovieJBridge(const QString& arg1,int arg2) : QMovie(arg1,arg2) {};
	QMovieJBridge(const QString& arg1) : QMovie(arg1) {};
	QMovieJBridge(QByteArray arg1,int arg2) : QMovie(arg1,arg2) {};
	QMovieJBridge(QByteArray arg1) : QMovie(arg1) {};
	QMovieJBridge(const QMovie& arg1) : QMovie(arg1) {};
	~QMovieJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMovie_backgroundColor(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QMovie*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_connectResize(JNIEnv* env, jobject obj, jobject receiver, jstring member)
{
	((QMovie*) QtSupport::getQt(env, obj))->connectResize((QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const QSize&)");
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_connectStatus(JNIEnv* env, jobject obj, jobject receiver, jstring member)
{
	((QMovie*) QtSupport::getQt(env, obj))->connectStatus((QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(int)");
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_connectUpdate(JNIEnv* env, jobject obj, jobject receiver, jstring member)
{
	((QMovie*) QtSupport::getQt(env, obj))->connectUpdate((QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const QRect&)");
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver)
{
	((QMovie*) QtSupport::getQt(env, obj))->disconnectResize((QObject*) QtSupport::getQt(env, receiver));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_disconnectResize__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member)
{
	((QMovie*) QtSupport::getQt(env, obj))->disconnectResize((QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const QSize&)");
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver)
{
	((QMovie*) QtSupport::getQt(env, obj))->disconnectStatus((QObject*) QtSupport::getQt(env, receiver));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_disconnectStatus__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member)
{
	((QMovie*) QtSupport::getQt(env, obj))->disconnectStatus((QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(int)");
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver)
{
	((QMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((QObject*) QtSupport::getQt(env, receiver));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_disconnectUpdate__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member)
{
	((QMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const QRect&)");
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QMovie_finalize(env, obj);
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMovie_finished(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QMovie*) QtSupport::getQt(env, obj))->finished();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMovie_frameImage(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &((QMovie*) QtSupport::getQt(env, obj))->frameImage(), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMovie_frameNumber(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QMovie*) QtSupport::getQt(env, obj))->frameNumber();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMovie_framePixmap(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPixmap *) &((QMovie*) QtSupport::getQt(env, obj))->framePixmap(), "org.kde.qt.QPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMovie_getValidRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QRect *) &((QMovie*) QtSupport::getQt(env, obj))->getValidRect(), "org.kde.qt.QRect");
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMovie_isNull(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QMovie*) QtSupport::getQt(env, obj))->isNull();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_newQMovie__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName)
{
static QString* _qstring_fileName = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QMovieJBridge((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_newQMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint bufsize)
{
static QString* _qstring_fileName = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QMovieJBridge((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (int) bufsize));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_newQMovie__Lorg_kde_qt_QDataSource_2I(JNIEnv* env, jobject obj, jobject arg1, jint bufsize)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QMovieJBridge((QDataSource*) QtSupport::getQt(env, arg1), (int) bufsize));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_newQMovie___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
static QByteArray* _qbyteArray_data = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QMovieJBridge((QByteArray)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_newQMovie___3BI(JNIEnv* env, jobject obj, jbyteArray data, jint bufsize)
{
static QByteArray* _qbyteArray_data = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QMovieJBridge((QByteArray)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (int) bufsize));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_pause(JNIEnv* env, jobject obj)
{
	((QMovie*) QtSupport::getQt(env, obj))->pause();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMovie_paused(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QMovie*) QtSupport::getQt(env, obj))->paused();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_pushData(JNIEnv* env, jobject obj, jcharArray data, jint length)
{
static QByteArray* _qbytearray_data = 0;
	((QMovie*) QtSupport::getQt(env, obj))->pushData((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) length);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMovie_pushSpace(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QMovie*) QtSupport::getQt(env, obj))->pushSpace();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_restart(JNIEnv* env, jobject obj)
{
	((QMovie*) QtSupport::getQt(env, obj))->restart();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMovie_running(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QMovie*) QtSupport::getQt(env, obj))->running();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1)
{
	((QMovie*) QtSupport::getQt(env, obj))->setBackgroundColor((const QColor&)*(const QColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_setSpeed(JNIEnv* env, jobject obj, jint arg1)
{
	((QMovie*) QtSupport::getQt(env, obj))->setSpeed((int) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMovie_speed(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QMovie*) QtSupport::getQt(env, obj))->speed();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_step__(JNIEnv* env, jobject obj)
{
	((QMovie*) QtSupport::getQt(env, obj))->step();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_step__I(JNIEnv* env, jobject obj, jint arg1)
{
	((QMovie*) QtSupport::getQt(env, obj))->step((int) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMovie_steps(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QMovie*) QtSupport::getQt(env, obj))->steps();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMovie_unpause(JNIEnv* env, jobject obj)
{
	((QMovie*) QtSupport::getQt(env, obj))->unpause();
	return;
}

