//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqasyncio.h>

#include <qtjava/QtSupport.h>
#include <qtjava/TQAsyncIO.h>

class TQAsyncIOJBridge : public TQAsyncIO
{
public:
	TQAsyncIOJBridge() : TQAsyncIO() {};
	void protected_ready() {
		TQAsyncIO::ready();
		return;
	}
	~TQAsyncIOJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QAsyncIO_connect(JNIEnv* env, jobject obj, jobject arg1, jstring member)
{
static TQCString* _qstring_member = 0;
	((TQAsyncIO*) QtSupport::getQt(env, obj))->connect((TQObject*) QtSupport::getQt(env, arg1), (const char*) QtSupport::toCharString(env, member, &_qstring_member));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QAsyncIO_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QAsyncIO_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QAsyncIO_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (TQAsyncIO*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QAsyncIO_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QAsyncIO_newTQAsyncIO(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQAsyncIOJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QAsyncIO_ready(JNIEnv* env, jobject obj)
{
	((TQAsyncIOJBridge*) QtSupport::getQt(env, obj))->protected_ready();
	return;
}

