//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qstring.h>
#include <qwmatrix.h>
#include <qpoint.h>
#include <qpaintdevice.h>
#include <qsize.h>
#include <qbitmap.h>
#include <qpixmap.h>
#include <qimage.h>
#include <qcolor.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <qtjava/QPixmap.h>

class QPixmapJBridge : public QPixmap
{
public:
	QPixmapJBridge() : QPixmap() {};
	QPixmapJBridge(const QImage& arg1) : QPixmap(arg1) {};
	QPixmapJBridge(int arg1,int arg2,int arg3,QPixmap::Optimization arg4) : QPixmap(arg1,arg2,arg3,arg4) {};
	QPixmapJBridge(int arg1,int arg2,int arg3) : QPixmap(arg1,arg2,arg3) {};
	QPixmapJBridge(int arg1,int arg2) : QPixmap(arg1,arg2) {};
	QPixmapJBridge(const QSize& arg1,int arg2,QPixmap::Optimization arg3) : QPixmap(arg1,arg2,arg3) {};
	QPixmapJBridge(const QSize& arg1,int arg2) : QPixmap(arg1,arg2) {};
	QPixmapJBridge(const QSize& arg1) : QPixmap(arg1) {};
	QPixmapJBridge(const QString& arg1,const char* arg2,QPixmap::ColorMode arg3) : QPixmap(arg1,arg2,arg3) {};
	QPixmapJBridge(const QString& arg1,const char* arg2) : QPixmap(arg1,arg2) {};
	QPixmapJBridge(const QString& arg1) : QPixmap(arg1) {};
	QPixmapJBridge(const char** arg1) : QPixmap(arg1) {};
	QPixmapJBridge(const QByteArray& arg1) : QPixmap(arg1) {};
	QPixmapJBridge(const QPixmap& arg1) : QPixmap(arg1) {};
	void public_detach() {
		QPixmap::detach();
		return;
	}
	QPixmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : QPixmap(arg1,arg2,arg3,arg4) {};
	int protected_metric(int arg1) {
		return (int) QPixmap::metric(arg1);
	}
	~QPixmapJBridge() {QtSupport::qtKeyDeleted(this);}
	int protected_fontMet(QFont* arg1,int arg2,const char* arg3,int arg4) {
		return (int) QPaintDevice::fontMet(arg1,arg2,arg3,arg4);
	}
	int protected_fontMet(QFont* arg1,int arg2,const char* arg3) {
		return (int) QPaintDevice::fontMet(arg1,arg2,arg3);
	}
	int protected_fontMet(QFont* arg1,int arg2) {
		return (int) QPaintDevice::fontMet(arg1,arg2);
	}
	int protected_fontInf(QFont* arg1,int arg2) {
		return (int) QPaintDevice::fontInf(arg1,arg2);
	}
};

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_convertFromImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode)
{
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1), (QPixmap::ColorMode) mode);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_convertToImage(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QPixmap*) QtSupport::getQt(env, obj))->convertToImage()), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_createHeuristicMask__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QBitmap(((QPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.QBitmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_createHeuristicMask__Z(JNIEnv* env, jobject obj, jboolean clipTight)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QBitmap(((QPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.QBitmap", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_defaultDepth(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jint xret = (jint) QPixmapJBridge::defaultDepth();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_defaultOptimization(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jint xret = (jint) QPixmapJBridge::defaultOptimization();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_depth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPixmap*) QtSupport::getQt(env, obj))->depth();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_detach(JNIEnv* env, jobject obj)
{
	((QPixmapJBridge*) QtSupport::getQt(env, obj))->public_detach();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_devType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPaintDevice*)(QPixmap*) QtSupport::getQt(env, obj))->devType();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QPixmap_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_fill__(JNIEnv* env, jobject obj)
{
	((QPixmap*) QtSupport::getQt(env, obj))->fill();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject fillColor)
{
	((QPixmap*) QtSupport::getQt(env, obj))->fill((const QColor&)*(const QColor*) QtSupport::getQt(env, fillColor));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint xofs, jint yofs)
{
	((QPixmap*) QtSupport::getQt(env, obj))->fill((const QWidget*) QtSupport::getQt(env, arg1), (int) xofs, (int) yofs);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_fill__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject ofs)
{
	((QPixmap*) QtSupport::getQt(env, obj))->fill((const QWidget*) QtSupport::getQt(env, arg1), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, ofs));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QPixmap*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	jint xret = (jint) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((QFont*) QtSupport::getQt(env, arg1), (int) arg2);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	jint xret = (jint) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((QFont*) QtSupport::getQt(env, arg1), (int) arg2);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3)
{
static QCString* _qstring_arg3 = 0;
	jint xret = (jint) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((QFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_fontMet__Lorg_kde_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4)
{
static QCString* _qstring_arg3 = 0;
	jint xret = (jint) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((QFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_fromMimeSource(JNIEnv* env, jclass cls, jstring abs_name)
{
	(void) cls;
static QString* _qstring_abs_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::fromMimeSource((const QString&)*(QString*) QtSupport::toQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject widget)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWidget((QWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jclass cls, jobject widget, jint x)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWidget((QWidget*) QtSupport::getQt(env, widget), (int) x)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jclass cls, jobject widget, jint x, jint y)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWidget((QWidget*) QtSupport::getQt(env, widget), (int) x, (int) y)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jclass cls, jobject widget, jint x, jint y, jint w)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWidget((QWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWidget__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jclass cls, jobject widget, jint x, jint y, jint w, jint h)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWidget((QWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWindow__J(JNIEnv* env, jclass cls, jlong arg1)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWindow((WId) arg1)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWindow__JI(JNIEnv* env, jclass cls, jlong arg1, jint x)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWindow((WId) arg1, (int) x)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWindow__JII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWindow__JIII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y, jint w)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_grabWindow__JIIII(JNIEnv* env, jclass cls, jlong arg1, jint x, jint y, jint w, jint h)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(QPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_hasAlphaChannel(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->hasAlphaChannel();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_hasAlpha(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->hasAlpha();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_height(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPixmap*) QtSupport::getQt(env, obj))->height();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QPixmap_imageFormat(JNIEnv* env, jclass cls, jstring fileName)
{
	const char* _qstring;
	(void) cls;
static QString* _qstring_fileName = 0;
	_qstring = QPixmapJBridge::imageFormat((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName));
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_isExtDev(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPaintDevice*)(QPixmap*) QtSupport::getQt(env, obj))->isExtDev();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_isNull(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->isNull();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_isQBitmap(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->isQBitmap();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_loadFromData___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
static QByteArray* _qbyteArray_data = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->loadFromData((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring format)
{
static QByteArray* _qbyteArray_data = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->loadFromData((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_loadFromData___3BLjava_lang_String_2I(JNIEnv* env, jobject obj, jbyteArray data, jstring format, jint conversion_flags)
{
static QByteArray* _qbyteArray_data = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->loadFromData((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) conversion_flags);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_loadFromData___3CI(JNIEnv* env, jobject obj, jcharArray buf, jint len)
{
static QByteArray* _qbytearray_buf = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format)
{
static QByteArray* _qbytearray_buf = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_loadFromData___3CILjava_lang_String_2I(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format, jint mode)
{
static QByteArray* _qbytearray_buf = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format), (QPixmap::ColorMode) mode);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName)
{
static QString* _qstring_fileName = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->load((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
static QString* _qstring_fileName = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->load((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint mode)
{
static QString* _qstring_fileName = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->load((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (QPixmap::ColorMode) mode);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_mask(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QPixmap*) QtSupport::getQt(env, obj))->mask(), "org.kde.qt.QBitmap");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_metric(JNIEnv* env, jobject obj, jint arg1)
{
	jint xret = (jint) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__II(JNIEnv* env, jobject obj, jint w, jint h)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((int) w, (int) h));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__III(JNIEnv* env, jobject obj, jint w, jint h, jint depth)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((int) w, (int) h, (int) depth));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint depth, jint arg4)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((int) w, (int) h, (int) depth, (QPixmap::Optimization) arg4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__II_3CZ(JNIEnv* env, jobject obj, jint w, jint h, jcharArray data, jboolean isXbitmap)
{
static QByteArray* _qbytearray_data = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (bool) isXbitmap));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName)
{
static QString* _qstring_fileName = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
static QString* _qstring_fileName = 0;
static QCString* _qstring_format = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint mode)
{
static QString* _qstring_fileName = 0;
static QCString* _qstring_format = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (QPixmap::ColorMode) mode));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QImage&)*(const QImage*) QtSupport::getQt(env, image)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint arg3)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth, (QPixmap::Optimization) arg3));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
static QByteArray* _qbyteArray_data = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_newQPixmap___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray xpm)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QPixmapJBridge((const char**) QtSupport::toStringArray(env, xpm)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_optimization(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPixmap*) QtSupport::getQt(env, obj))->optimization();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_paintingActive(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPaintDevice*)(QPixmap*) QtSupport::getQt(env, obj))->paintingActive();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_rect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QPixmap*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_resize__II(JNIEnv* env, jobject obj, jint width, jint height)
{
	((QPixmap*) QtSupport::getQt(env, obj))->resize((int) width, (int) height);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPixmap*) QtSupport::getQt(env, obj))->resize((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_resolution(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPaintDevice*)(QPixmap*) QtSupport::getQt(env, obj))->resolution();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
static QString* _qstring_fileName = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->save((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_save__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint quality)
{
static QString* _qstring_fileName = 0;
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->save((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject device, jstring format)
{
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->save((QIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject device, jstring format, jint quality)
{
static QCString* _qstring_format = 0;
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->save((QIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_selfMask(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QPixmap*) QtSupport::getQt(env, obj))->selfMask();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_serialNumber(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPixmap*) QtSupport::getQt(env, obj))->serialNumber();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_setDefaultOptimization(JNIEnv* env, jclass cls, jint arg1)
{
	(void) cls;
	(void) env;
	QPixmapJBridge::setDefaultOptimization((QPixmap::Optimization) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_setMask(JNIEnv* env, jobject obj, jobject arg1)
{
	((QPixmap*) QtSupport::getQt(env, obj))->setMask((const QBitmap&)*(const QBitmap*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_setOptimization(JNIEnv* env, jobject obj, jint arg1)
{
	((QPixmap*) QtSupport::getQt(env, obj))->setOptimization((QPixmap::Optimization) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QPixmap_setResolution(JNIEnv* env, jobject obj, jint arg1)
{
	((QPaintDevice*)(QPixmap*) QtSupport::getQt(env, obj))->setResolution((int) arg1);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_size(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QPixmap*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_trueMatrix(JNIEnv* env, jclass cls, jobject arg1, jint w, jint h)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QWMatrix(QPixmapJBridge::trueMatrix((const QWMatrix&)*(const QWMatrix*) QtSupport::getQt(env, arg1), (int) w, (int) h)), "org.kde.qt.QWMatrix", TRUE);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QPixmap_width(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QPixmap*) QtSupport::getQt(env, obj))->width();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QPixmap_xForm(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QPixmap*) QtSupport::getQt(env, obj))->xForm((const QWMatrix&)*(const QWMatrix*) QtSupport::getQt(env, arg1))), "org.kde.qt.QPixmap", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPixmap_loadFromData___3C(JNIEnv *env, jobject obj, jcharArray data)
{
static QByteArray * _qbyteArray_data = 0;
	return (jboolean) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->loadFromData((uchar *) QtSupport::toUcharArray(env, data, &_qbyteArray_data), env->GetArrayLength(data), 0, 0);
}
	
JNIEXPORT jlong JNICALL
Java_org_kde_qt_QPixmap_paintDevice(JNIEnv* env, jobject obj)
{
	return (jlong) (QPaintDevice*)(QPixmap*) QtSupport::getQt(env, obj);
}

