You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
938 B
35 lines
938 B
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <ksharedptr.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <kdejava/KDESupport.h>
|
|
#include <kdejava/KShared.h>
|
|
|
|
class KSharedJBridge : public KShared
|
|
{
|
|
public:
|
|
KSharedJBridge() : KShared() {};
|
|
KSharedJBridge(const KShared& arg1) : KShared(arg1) {};
|
|
};
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_koala_KShared_newKShared__(JNIEnv* env, jobject obj)
|
|
{
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
QtSupport::setQt(env, obj, new KSharedJBridge());
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
}
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_kde_koala_KShared_newKShared__Lorg_kde_koala_KShared_2(JNIEnv* env, jobject obj, jobject arg1)
|
|
{
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
QtSupport::setQt(env, obj, new KSharedJBridge((const KShared&)*(const KShared*) QtSupport::getQt(env, arg1)));
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
}
|
|
return;
|
|
}
|
|
|