summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QXmlErrorHandler.cpp
blob: 187a5d094639efca309dd5b24c19b906faf90288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqxml.h>
#include <tqstring.h>

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

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

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

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

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