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

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDTDHandler_notationDecl(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) ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->notationDecl((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_QXmlDTDHandler_unparsedEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId, jstring notationName)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_publicId = 0;
static TQString* _qstring_systemId = 0;
static TQString* _qstring_notationName = 0;
	jboolean xret = (jboolean) ((TQXmlDTDHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((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), (const TQString&)*(TQString*) QtSupport::toTQString(env, notationName, &_qstring_notationName));
	return xret;
}

