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

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

class TQDomCharacterDataJBridge : public TQDomCharacterData
{
public:
	TQDomCharacterDataJBridge() : TQDomCharacterData() {};
	TQDomCharacterDataJBridge(const TQDomCharacterData& arg1) : TQDomCharacterData(arg1) {};
	~TQDomCharacterDataJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_appendData(JNIEnv* env, jobject obj, jstring arg)
{
static TQString* _qstring_arg = 0;
	((TQDomCharacterData*) QtSupport::getQt(env, obj))->appendData((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_data(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->data();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_deleteData(JNIEnv* env, jobject obj, jlong offset, jlong count)
{
	((TQDomCharacterData*) QtSupport::getQt(env, obj))->deleteData((unsigned long) offset, (unsigned long) count);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QDomCharacterData_finalize(env, obj);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_insertData(JNIEnv* env, jobject obj, jlong offset, jstring arg)
{
static TQString* _qstring_arg = 0;
	((TQDomCharacterData*) QtSupport::getQt(env, obj))->insertData((unsigned long) offset, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_isCharacterData(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->isCharacterData();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_length(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->length();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_newTQDomCharacterData__Lorg_trinitydesktop_qt_QDomCharacterData_2(JNIEnv* env, jobject obj, jobject x)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge((const TQDomCharacterData&)*(const TQDomCharacterData*) QtSupport::getQt(env, x)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_nodeType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->nodeType();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_replaceData(JNIEnv* env, jobject obj, jlong offset, jlong count, jstring arg)
{
static TQString* _qstring_arg = 0;
	((TQDomCharacterData*) QtSupport::getQt(env, obj))->replaceData((unsigned long) offset, (unsigned long) count, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_setData(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQDomCharacterData*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QDomCharacterData_substringData(JNIEnv* env, jobject obj, jlong offset, jlong count)
{
	TQString  _qstring;
	_qstring = ((TQDomCharacterData*) QtSupport::getQt(env, obj))->substringData((unsigned long) offset, (unsigned long) count);
	return QtSupport::fromTQString(env, &_qstring);
}

