summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQMetaData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/TQMetaData.cpp')
-rw-r--r--qtjava/javalib/qtjava/TQMetaData.cpp46
1 files changed, 46 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQMetaData.cpp b/qtjava/javalib/qtjava/TQMetaData.cpp
new file mode 100644
index 00000000..dc1cda96
--- /dev/null
+++ b/qtjava/javalib/qtjava/TQMetaData.cpp
@@ -0,0 +1,46 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+#include <tqmetaobject.h>
+
+#include <qtjava/QtSupport.h>
+#include <qtjava/TQMetaData.h>
+
+class TQMetaDataJBridge : public TQMetaData
+{
+public:
+ TQMetaDataJBridge() : TQMetaData() {};
+ ~TQMetaDataJBridge() {QtSupport::qtKeyDeleted(this);}
+};
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QMetaData_dispose(JNIEnv* env, jobject obj)
+{
+ Java_org_kde_qt_QMetaData_finalize(env, obj);
+ return;
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QMetaData_finalize(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::allocatedInJavaWorld(env, obj)) {
+ delete (TQMetaData*)QtSupport::getQt(env, obj);
+ QtSupport::setQt(env, obj, 0);
+ }
+ return;
+}
+
+JNIEXPORT jboolean JNICALL
+Java_org_kde_qt_QMetaData_isDisposed(JNIEnv* env, jobject obj)
+{
+ return (QtSupport::getQt(env, obj) == 0);
+}
+
+JNIEXPORT void JNICALL
+Java_org_kde_qt_QMetaData_newTQMetaData(JNIEnv* env, jobject obj)
+{
+ if (QtSupport::getQt(env, obj) == 0) {
+ QtSupport::setQt(env, obj, new TQMetaDataJBridge());
+ QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
+ }
+ return;
+}
+