You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp

132 lines
4.7 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
#include <qstring.h>
#include <qcanvas.h>
#include <qpointarray.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QCanvasPixmapArray.h>
class QCanvasPixmapArrayJBridge : public QCanvasPixmapArray
{
public:
QCanvasPixmapArrayJBridge() : QCanvasPixmapArray() {};
QCanvasPixmapArrayJBridge(const QString& arg1,int arg2) : QCanvasPixmapArray(arg1,arg2) {};
QCanvasPixmapArrayJBridge(const QString& arg1) : QCanvasPixmapArray(arg1) {};
~QCanvasPixmapArrayJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jint JNICALL
Java_org_kde_qt_QCanvasPixmapArray_count(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->count();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmapArray_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_qt_QCanvasPixmapArray_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmapArray_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (QCanvasPixmapArray*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QCanvasPixmapArray_image(JNIEnv* env, jobject obj, jint i)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->image((int) i), "org.kde.qt.QCanvasPixmap");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasPixmapArray_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasPixmapArray_isValid(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->isValid();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new QCanvasPixmapArrayJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern)
{
static QString* _qstring_datafilenamepattern = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new QCanvasPixmapArrayJBridge((const QString&)*(QString*) QtSupport::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount)
{
static QString* _qstring_datafilenamepattern = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new QCanvasPixmapArrayJBridge((const QString&)*(QString*) QtSupport::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasPixmapArray_op_1not(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->operator!();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasPixmapArray_readCollisionMasks(JNIEnv* env, jobject obj, jstring filenamepattern)
{
static QString* _qstring_filenamepattern = 0;
jboolean xret = (jboolean) ((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->readCollisionMasks((const QString&)*(QString*) QtSupport::toQString(env, filenamepattern, &_qstring_filenamepattern));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern)
{
static QString* _qstring_datafilenamepattern = 0;
jboolean xret = (jboolean) ((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const QString&)*(QString*) QtSupport::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QCanvasPixmapArray_readPixmaps__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount)
{
static QString* _qstring_datafilenamepattern = 0;
jboolean xret = (jboolean) ((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const QString&)*(QString*) QtSupport::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QCanvasPixmapArray_setImage(JNIEnv* env, jobject obj, jint i, jobject p)
{
((QCanvasPixmapArray*) QtSupport::getQt(env, obj))->setImage((int) i, (QCanvasPixmap*) QtSupport::getQt(env, p));
return;
}