diff options
Diffstat (limited to 'kdejava/koala/kdejava/KStaticDeleterBase.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KStaticDeleterBase.cpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/kdejava/koala/kdejava/KStaticDeleterBase.cpp b/kdejava/koala/kdejava/KStaticDeleterBase.cpp deleted file mode 100644 index e451f5dd..00000000 --- a/kdejava/koala/kdejava/KStaticDeleterBase.cpp +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <kstaticdeleter.h> - -#include <qtjava/QtSupport.h> -#include <kdejava/KDESupport.h> -#include <kdejava/KStaticDeleterBase.h> - -class KStaticDeleterBaseJBridge : public KStaticDeleterBase -{ -public: - void public_destructObject() { - KStaticDeleterBase::destructObject(); - return; - } - KStaticDeleterBaseJBridge() : KStaticDeleterBase() {}; - ~KStaticDeleterBaseJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_destructObject(JNIEnv* env, jobject obj) -{ - ((KStaticDeleterBaseJBridge*) QtSupport::getQt(env, obj))->public_destructObject(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStaticDeleterBase_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KStaticDeleterBase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStaticDeleterBase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_newKStaticDeleterBase(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStaticDeleterBaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - |