summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/tdejava/KIDNA.cpp
blob: 3d4c51390bad35adb7ba09e28f6629f5434a5a4b (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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <kidna.h>
#include <tqstring.h>
#include <tqcstring.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KIDNA.h>

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KIDNA_toAsciiCString(JNIEnv* env, jclass cls, jstring idna)
{
	TQCString  _qstring;
	(void) cls;
static TQString* _qstring_idna = 0;
	_qstring = KIDNA::toAsciiCString((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KIDNA_toAscii(JNIEnv* env, jclass cls, jstring idna)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_idna = 0;
	_qstring = KIDNA::toAscii((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KIDNA_toUnicode(JNIEnv* env, jclass cls, jstring idna)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_idna = 0;
	_qstring = KIDNA::toUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
	return QtSupport::fromTQString(env, &_qstring);
}