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.
54 lines
1.5 KiB
54 lines
1.5 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
#include <tqevent.h>
|
|
|
|
#include <qtjava/QtSupport.h>
|
|
#include <qtjava/TQDragResponseEvent.h>
|
|
|
|
class TQDragResponseEventJBridge : public TQDragResponseEvent
|
|
{
|
|
public:
|
|
TQDragResponseEventJBridge(bool arg1) : TQDragResponseEvent(arg1) {};
|
|
~TQDragResponseEventJBridge() {QtSupport::qtKeyDeleted(this);}
|
|
};
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QDragResponseEvent_dispose(JNIEnv* env, jobject obj)
|
|
{
|
|
Java_org_trinitydesktop_qt_QDragResponseEvent_finalize(env, obj);
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_org_trinitydesktop_qt_QDragResponseEvent_dragAccepted(JNIEnv* env, jobject obj)
|
|
{
|
|
jboolean xret = (jboolean) ((TQDragResponseEvent*) QtSupport::getQt(env, obj))->dragAccepted();
|
|
return xret;
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QDragResponseEvent_finalize(JNIEnv* env, jobject obj)
|
|
{
|
|
if (QtSupport::allocatedInJavaWorld(env, obj)) {
|
|
delete (TQDragResponseEvent*)QtSupport::getQt(env, obj);
|
|
QtSupport::setQt(env, obj, 0);
|
|
}
|
|
return;
|
|
}
|
|
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_org_trinitydesktop_qt_QDragResponseEvent_isDisposed(JNIEnv* env, jobject obj)
|
|
{
|
|
return (QtSupport::getQt(env, obj) == 0);
|
|
}
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_org_trinitydesktop_qt_QDragResponseEvent_newTQDragResponseEvent(JNIEnv* env, jobject obj, jboolean accepted)
|
|
{
|
|
if (QtSupport::getQt(env, obj) == 0) {
|
|
QtSupport::setQt(env, obj, new TQDragResponseEventJBridge((bool) accepted));
|
|
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
|
|
}
|
|
return;
|
|
}
|
|
|