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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlLexicalHandler_comment(JNIEnv* env, jobject obj, jstring ch)
{
static TQString* _qstring_ch = 0;
	jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, ch, &_qstring_ch));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlLexicalHandler_endCDATA(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endCDATA();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlLexicalHandler_endDTD(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endDTD();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlLexicalHandler_endEntity(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlLexicalHandler_startCDATA(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startCDATA();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlLexicalHandler_startDTD(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_publicId = 0;
static TQString* _qstring_systemId = 0;
	jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startDTD((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlLexicalHandler_startEntity(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((TQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

