diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQXmlEntityResolver.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQXmlEntityResolver.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQXmlEntityResolver.cpp b/qtjava/javalib/qtjava/TQXmlEntityResolver.cpp new file mode 100644 index 00000000..07e6abd4 --- /dev/null +++ b/qtjava/javalib/qtjava/TQXmlEntityResolver.cpp @@ -0,0 +1,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; +} + |