summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QXmlErrorHandler.cpp
blob: cbdb26e0098c524724b693d188c9c7ec597c9580 (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/QXmlErrorHandler.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;
}