summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KPixmapProvider.cpp
blob: 6bd40481e2c6f96e7ece99bb2b7f4a9f9f2d0dd0 (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
//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqpixmap.h>
#include <kpixmapprovider.h>
#include <tqstring.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 TQString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))), "org.kde.qt.TQPixmap", 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 TQString* _qstring_text = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) size)), "org.kde.qt.TQPixmap", TRUE);
	return xret;
}