summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/tdejava/KServiceSeparator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/tdejava/KServiceSeparator.cpp')
-rw-r--r--tdejava/koala/tdejava/KServiceSeparator.cpp78
1 files changed, 78 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KServiceSeparator.cpp b/tdejava/koala/tdejava/KServiceSeparator.cpp
new file mode 100644
index 00000000..9de04451
--- /dev/null
+++ b/tdejava/koala/tdejava/KServiceSeparator.cpp
@@ -0,0 +1,78 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tqdatastream.h>
+#include <tqstring.h>
+#include <kservicegroup.h>
+
+#include <qtjava/QtSupport.h>
+#include <tdejava/TDESupport.h>
+#include <tdejava/KServiceSeparator.h>
+
+class KServiceSeparatorJBridge : public KServiceSeparator
+{
+public:
+ KServiceSeparatorJBridge() : KServiceSeparator() {};
+ ~KServiceSeparatorJBridge() {QtSupport::qtKeyDeleted(this);}
+};
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_trinitydesktop_koala_KServiceSeparator_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj)) {
+ delete (KServiceSeparator*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_isValid(JNIEnv* env, jobject obj)
+{
+ jboolean xret = (jboolean) ((KServiceSeparator*) QtSupport::getQt(env, obj))->isValid();
+ return xret;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_load(JNIEnv* env, jobject obj, jobject arg1)
+{
+ ((KServiceSeparator*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1));
+ return;
+}
+
+JNIEXPORT jstring JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_name(JNIEnv* env, jobject obj)
+{
+ TQString _qstring;
+ _qstring = ((KServiceSeparator*) QtSupport::getQt(env, obj))->name();
+ return QtSupport::fromTQString(env, &_qstring);
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_newKServiceSeparator(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new KServiceSeparatorJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_trinitydesktop_koala_KServiceSeparator_save(JNIEnv* env, jobject obj, jobject arg1)
+{
+ ((KServiceSeparator*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1));
+ return;
+}
+