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.
tdebindings/qtjava/javalib/qtjava/TQShowEvent.cpp

47 lines
1.1 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqevent.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQShowEvent.h>
class TQShowEventJBridge : public TQShowEvent
{
public:
TQShowEventJBridge() : TQShowEvent() {};
~TQShowEventJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QShowEvent_dispose(JNIEnv* env, jobject obj)
{
Java_org_trinitydesktop_qt_QShowEvent_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QShowEvent_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (TQShowEvent*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QShowEvent_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QShowEvent_newTQShowEvent(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new TQShowEventJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}