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

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

class TQXmlDefaultHandlerJBridge : public TQXmlDefaultHandler
{
public:
	TQXmlDefaultHandlerJBridge() : TQXmlDefaultHandler() {};
	~TQXmlDefaultHandlerJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_attributeDecl(JNIEnv* env, jobject obj, jstring eName, jstring aName, jstring type, jstring valueDefault, jstring value)
{
static TQString* _qstring_eName = 0;
static TQString* _qstring_aName = 0;
static TQString* _qstring_type = 0;
static TQString* _qstring_valueDefault = 0;
static TQString* _qstring_value = 0;
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QXmlDefaultHandler_finalize(env, obj);
	return;
}

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_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) ((TQXmlDefaultHandler*) 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_QXmlDefaultHandler_endEntity(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_error(JNIEnv* env, jobject obj, jobject exception)
{
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->error((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_externalEntityDecl(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) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((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_QXmlDefaultHandler_fatalError(JNIEnv* env, jobject obj, jobject exception)
{
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->fatalError((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception));
	return xret;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_value = 0;
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
	return xret;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_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) ((TQXmlDefaultHandler*) 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_QXmlDefaultHandler_processingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data)
{
static TQString* _qstring_target = 0;
static TQString* _qstring_data = 0;
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) 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 jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret)
{
static TQString* _qstring_publicId = 0;
static TQString* _qstring_systemId = 0;
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->resolveEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (TQXmlInputSource*&)*(TQXmlInputSource*) QtSupport::getQt(env, ret));
	return xret;
}

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_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) ((TQXmlDefaultHandler*) 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_QXmlDefaultHandler_startDocument(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startDocument();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_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) ((TQXmlDefaultHandler*) 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_QXmlDefaultHandler_startEntity(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_startPrefixMapping(JNIEnv* env, jobject obj, jstring prefix, jstring uri)
{
static TQString* _qstring_prefix = 0;
static TQString* _qstring_uri = 0;
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) 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;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_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) ((TQXmlDefaultHandler*) 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;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QXmlDefaultHandler_warning(JNIEnv* env, jobject obj, jobject exception)
{
	jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->warning((const TQXmlParseException&)*(const TQXmlParseException*) QtSupport::getQt(env, exception));
	return xret;
}

