//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <kparts/browserextension.h>

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

class WindowArgsJBridge : public KParts::WindowArgs
{
public:
	WindowArgsJBridge() : KParts::WindowArgs() {};
	WindowArgsJBridge(const KParts::WindowArgs& arg1) : KParts::WindowArgs(arg1) {};
	WindowArgsJBridge(const QRect& arg1,bool arg2,bool arg3,bool arg4,bool arg5,bool arg6) : KParts::WindowArgs(arg1,arg2,arg3,arg4,arg5,arg6) {};
	WindowArgsJBridge(int arg1,int arg2,int arg3,int arg4,bool arg5,bool arg6,bool arg7,bool arg8,bool arg9) : KParts::WindowArgs(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {};
};

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

JNIEXPORT void JNICALL
Java_org_kde_koala_WindowArgs_newWindowArgs__IIIIZZZZZ(JNIEnv* env, jobject obj, jint _x, jint _y, jint _width, jint _height, jboolean _fullscreen, jboolean _menuBarVisible, jboolean _toolBarsVisible, jboolean _statusBarVisible, jboolean _resizable)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new WindowArgsJBridge((int) _x, (int) _y, (int) _width, (int) _height, (bool) _fullscreen, (bool) _menuBarVisible, (bool) _toolBarsVisible, (bool) _statusBarVisible, (bool) _resizable));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_koala_WindowArgs_2(JNIEnv* env, jobject obj, jobject args)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new WindowArgsJBridge((const KParts::WindowArgs&)*(const KParts::WindowArgs*) QtSupport::getQt(env, args)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_qt_QRect_2ZZZZZ(JNIEnv* env, jobject obj, jobject _geometry, jboolean _fullscreen, jboolean _menuBarVisible, jboolean _toolBarsVisible, jboolean _statusBarVisible, jboolean _resizable)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new WindowArgsJBridge((const QRect&)*(const QRect*) QtSupport::getQt(env, _geometry), (bool) _fullscreen, (bool) _menuBarVisible, (bool) _toolBarsVisible, (bool) _statusBarVisible, (bool) _resizable));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

