summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/tdejava/KEntry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/tdejava/KEntry.cpp')
-rw-r--r--tdejava/koala/tdejava/KEntry.cpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KEntry.cpp b/tdejava/koala/tdejava/KEntry.cpp
new file mode 100644
index 00000000..3b96eedc
--- /dev/null
+++ b/tdejava/koala/tdejava/KEntry.cpp
@@ -0,0 +1,47 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tdeconfigdata.h>
+
+#include <qtjava/QtSupport.h>
+#include <tdejava/TDESupport.h>
+#include <tdejava/KEntry.h>
+
+class KEntryJBridge : public KEntry
+{
+public:
+ KEntryJBridge() : KEntry() {};
+ ~KEntryJBridge() {QtSupport::qtKeyDeleted(this);}
+};
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KEntry_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_trinitydesktop_koala_KEntry_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KEntry_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj)) {
+ delete (KEntry*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KEntry_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KEntry_newKEntry(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KEntryJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+