summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QXmlErrorHandler.cpp
blob: 98c33817914e6e592669268e1b482edb7b231e08 (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 <qxml.h>
#include <qstring.h>

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

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

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

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

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