summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KMdiViewCloseEvent.cpp')
-rw-r--r--kdejava/koala/kdejava/KMdiViewCloseEvent.cpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp b/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp
new file mode 100644
index 00000000..b46d6b17
--- /dev/null
+++ b/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp
@@ -0,0 +1,47 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <kmdimainfrm.h>
+
+#include <qtjava/QtSupport.h>
+#include <kdejava/KDESupport.h>
+#include <kdejava/KMdiViewCloseEvent.h>
+
+class KMdiViewCloseEventJBridge : public KMdiViewCloseEvent
+{
+public:
+ KMdiViewCloseEventJBridge(KMdiChildView* arg1) : KMdiViewCloseEvent(arg1) {};
+ ~KMdiViewCloseEventJBridge() {QtSupport::qtKeyDeleted(this);}
+};
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_KMdiViewCloseEvent_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_kde_koala_KMdiViewCloseEvent_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_KMdiViewCloseEvent_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj)) {
+ delete (KMdiViewCloseEvent*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_koala_KMdiViewCloseEvent_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_KMdiViewCloseEvent_newKMdiViewCloseEvent(JNIEnv* env, jobject obj, jobject pWnd)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KMdiViewCloseEventJBridge((KMdiChildView*) QtSupport::getQt(env, pWnd)));
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+