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 <kdejava/KDESupport.h>
#include <kdejava/KIDNA.h>
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIDNA_toAsciiCString(JNIEnv* env, jclass cls, jstring idna)
{
TTQCString _qstring;
(void) cls;
static TTQString* _qstring_idna = 0;
_qstring = KIDNA::toAsciiCString((const TTQString&)*(TTQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
return QtSupport::fromTQCString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIDNA_toAscii(JNIEnv* env, jclass cls, jstring idna)
{
TTQString _qstring;
(void) cls;
static TTQString* _qstring_idna = 0;
_qstring = KIDNA::toAscii((const TTQString&)*(TTQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIDNA_toUnicode(JNIEnv* env, jclass cls, jstring idna)
{
TTQString _qstring;
(void) cls;
static TTQString* _qstring_idna = 0;
_qstring = KIDNA::toUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
return QtSupport::fromTQString(env, &_qstring);
}
|