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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QAsyncIO_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QAsyncIO_finalize(env, obj);
	return;
}

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

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

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

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

