You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/qtjava/TQXmlDeclHandler.cpp

47 lines
2.4 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqxml.h>
#include <tqstring.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQXmlDeclHandler.h>
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDeclHandler_attributeDecl(JNIEnv* env, jobject obj, jstring eName, jstring aName, jstring type, jstring valueDefault, jstring value)
{
static TQString* _qstring_eName = 0;
static TQString* _qstring_aName = 0;
static TQString* _qstring_type = 0;
static TQString* _qstring_valueDefault = 0;
static TQString* _qstring_value = 0;
jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QXmlDeclHandler_errorString(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->errorString();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDeclHandler_externalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_publicId = 0;
static TQString* _qstring_systemId = 0;
jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlDeclHandler_internalEntityDecl(JNIEnv* env, jobject obj, jstring name, jstring value)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_value = 0;
jboolean xret = (jboolean) ((TQXmlDeclHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
return xret;
}