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
|
//Auto-generated by kalyptus. DO NOT EDIT.
#include <qpixmap.h>
#include <kpixmapprovider.h>
#include <qstring.h>
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KPixmapProvider.h>
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
static QString* _qstring_text = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text))), "org.kde.qt.QPixmap", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint size)
{
static QString* _qstring_text = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) size)), "org.kde.qt.QPixmap", TRUE);
return xret;
}
|