summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KDataTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KDataTool.cpp')
-rw-r--r--kdejava/koala/kdejava/KDataTool.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/kdejava/koala/kdejava/KDataTool.cpp b/kdejava/koala/kdejava/KDataTool.cpp
new file mode 100644
index 00000000..ebcc6f6c
--- /dev/null
+++ b/kdejava/koala/kdejava/KDataTool.cpp
@@ -0,0 +1,37 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <kdatatool.h>
+#include <qstring.h>
+
+#include <qtjava/QtSupport.h>
+#include <kdejava/KDESupport.h>
+#include <kdejava/KDataTool.h>
+
+JNIEXPORT jstring JNICALL
+Java_org_kde_koala_KDataTool_className(JNIEnv* env, jobject obj)
+{
+ const char* _qstring;
+ _qstring = ((KDataTool*) QtSupport::getQt(env, obj))->className();
+ return QtSupport::fromCharString(env, (char *) _qstring);
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_koala_KDataTool_instance(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.KInstanceInterface");
+ return xret;
+}
+
+JNIEXPORT jobject JNICALL
+Java_org_kde_koala_KDataTool_metaObject(JNIEnv* env, jobject obj)
+{
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_koala_KDataTool_setInstance(JNIEnv* env, jobject obj, jobject instance)
+{
+ ((KDataTool*) QtSupport::getQt(env, obj))->setInstance((KInstance*) QtSupport::getQt(env, instance));
+ return;
+}
+