summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQXmlEntityResolver.cpp
blob: 07e6abd4946ab56bc64ccd5f78d0f15b69293e31 (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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqxml.h>
#include <tqstring.h>

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlEntityResolver_resolveEntity(JNIEnv* env, jobject obj, jstring publicId, jstring systemId, jobject ret)
{
static TQString* _qstring_publicId = 0;
static TQString* _qstring_systemId = 0;
	jboolean xret = (jboolean) ((TQXmlEntityResolver*) 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;
}