summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp
blob: 06f9ac3923efb1e8e03979096057a15834093f4c (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqxml.h>
#include <tqstring.h>

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_comment(JNIEnv* env, jobject obj, jstring ch)
{
static TTQString* _qstring_ch = 0;
	jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->comment((const TTQString&)*(TTQString*) QtSupport::toTQString(env, ch, &_qstring_ch));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_endCDATA(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endCDATA();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_endDTD(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endDTD();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_endEntity(JNIEnv* env, jobject obj, jstring name)
{
static TTQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endEntity((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_startCDATA(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startCDATA();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_startDTD(JNIEnv* env, jobject obj, jstring name, jstring publicId, jstring systemId)
{
static TTQString* _qstring_name = 0;
static TTQString* _qstring_publicId = 0;
static TTQString* _qstring_systemId = 0;
	jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startDTD((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QXmlLexicalHandler_startEntity(JNIEnv* env, jobject obj, jstring name)
{
static TTQString* _qstring_name = 0;
	jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startEntity((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return xret;
}