summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QXmlErrorHandler.cpp
blob: dfa930d75d651630c4be8b91c7b88cf80bf3dc73 (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)
{
	TTQString  _qstring;
	_qstring = ((TTQXmlErrorHandler*) 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) ((TTQXmlErrorHandler*) QtSupport::getQt(env, obj))->error((const TTQXmlParseException&)*(const TTQXmlParseException*) QtSupport::getQt(env, exception));
	return xret;
}

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

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