//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;
}

