diff options
Diffstat (limited to 'tdejava/koala/tdejava/WindowArgs.cpp')
-rw-r--r-- | tdejava/koala/tdejava/WindowArgs.cpp | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/WindowArgs.cpp b/tdejava/koala/tdejava/WindowArgs.cpp new file mode 100644 index 00000000..69d4d1db --- /dev/null +++ b/tdejava/koala/tdejava/WindowArgs.cpp @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tqrect.h> +#include <tdeparts/browserextension.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/WindowArgs.h> + +class WindowArgsJBridge : public KParts::WindowArgs +{ +public: + WindowArgsJBridge() : KParts::WindowArgs() {}; + WindowArgsJBridge(const KParts::WindowArgs& arg1) : KParts::WindowArgs(arg1) {}; + WindowArgsJBridge(const TQRect& 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_trinitydesktop_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_trinitydesktop_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_trinitydesktop_koala_WindowArgs_newWindowArgs__Lorg_trinitydesktop_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_trinitydesktop_koala_WindowArgs_newWindowArgs__Lorg_trinitydesktop_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 TQRect&)*(const TQRect*) QtSupport::getQt(env, _geometry), (bool) _fullscreen, (bool) _menuBarVisible, (bool) _toolBarsVisible, (bool) _statusBarVisible, (bool) _resizable)); + QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); + } + return; +} + |