diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /kdejava/koala/kdejava/KStaticDeleterBase.cpp | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
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; -} - |