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

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_endDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endDocument();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_endElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName)
{
static TQString* _qstring_namespaceURI = 0;
static TQString* _qstring_localName = 0;
static TQString* _qstring_qName = 0;
	jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_endPrefixMapping(JNIEnv* env, jobject obj, jstring prefix)
{
static TQString* _qstring_prefix = 0;
	jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix));
	return xret;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data)
{
static TQString* _qstring_target = 0;
static TQString* _qstring_data = 0;
	jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->processingInstruction((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_setDocumentLocator(JNIEnv* env, jobject obj, jobject locator)
{
	((TQXmlContentHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((TQXmlLocator*) QtSupport::getQt(env, locator));
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_startDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startDocument();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_startElement(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName, jstring qName, jobject atts)
{
static TQString* _qstring_namespaceURI = 0;
static TQString* _qstring_localName = 0;
static TQString* _qstring_qName = 0;
	jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startElement((const TQString&)*(TQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQXmlAttributes&)*(const TQXmlAttributes*) QtSupport::getQt(env, atts));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlContentHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri)
{
static TQString* _qstring_prefix = 0;
static TQString* _qstring_uri = 0;
	jboolean xret = (jboolean) ((TQXmlContentHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri));
	return xret;
}

