diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QGLFormat.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QGLFormat.cpp | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/qtjava/javalib/qtjava/QGLFormat.cpp b/qtjava/javalib/qtjava/QGLFormat.cpp index 1549affc..eb83dc56 100644 --- a/qtjava/javalib/qtjava/QGLFormat.cpp +++ b/qtjava/javalib/qtjava/QGLFormat.cpp @@ -1,5 +1,5 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qgl.h> +#include <tqgl.h> #include <qtjava/QtSupport.h> #include <qtjava/QGLFormat.h> @@ -7,23 +7,23 @@ class QGLFormatJBridge : public QGLFormat { public: - QGLFormatJBridge() : QGLFormat() {}; - QGLFormatJBridge(int arg1,int arg2) : QGLFormat(arg1,arg2) {}; - QGLFormatJBridge(int arg1) : QGLFormat(arg1) {}; + QGLFormatJBridge() : TQGLFormat() {}; + QGLFormatJBridge(int arg1,int arg2) : TQGLFormat(arg1,arg2) {}; + QGLFormatJBridge(int arg1) : TQGLFormat(arg1) {}; ~QGLFormatJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_accum(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->accum(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->accum(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_alpha(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->alpha(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->alpha(); return xret; } @@ -31,7 +31,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultFormat(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new QGLFormat(QGLFormatJBridge::defaultFormat()), "org.kde.qt.QGLFormat", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(QGLFormatJBridge::defaultFormat()), "org.kde.qt.TQGLFormat", TRUE); return xret; } @@ -39,21 +39,21 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultOverlayFormat(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new QGLFormat(QGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.QGLFormat", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(QGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.TQGLFormat", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_depth(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->depth(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->depth(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_directRendering(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->directRendering(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->directRendering(); return xret; } @@ -67,7 +67,7 @@ Java_org_kde_qt_QGLFormat_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_doubleBuffer(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->doubleBuffer(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->doubleBuffer(); return xret; } @@ -75,7 +75,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QGLFormat*)QtSupport::getQt(env, obj); + delete (TQGLFormat*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -102,7 +102,7 @@ Java_org_kde_qt_QGLFormat_hasOpenGL(JNIEnv* env, jclass cls) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_hasOverlay(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->hasOverlay(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->hasOverlay(); return xret; } @@ -145,28 +145,28 @@ Java_org_kde_qt_QGLFormat_newQGLFormat__II(JNIEnv* env, jobject obj, jint option JNIEXPORT jint JNICALL Java_org_kde_qt_QGLFormat_plane(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QGLFormat*) QtSupport::getQt(env, obj))->plane(); + jint xret = (jint) ((TQGLFormat*) QtSupport::getQt(env, obj))->plane(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_rgba(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->rgba(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->rgba(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setAccum(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setAccum((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setAccum((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setAlpha(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setAlpha((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setAlpha((bool) enable); return; } @@ -174,7 +174,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultFormat(JNIEnv* env, jclass cls, jobject f) { (void) cls; - QGLFormatJBridge::setDefaultFormat((const QGLFormat&)*(const QGLFormat*) QtSupport::getQt(env, f)); + QGLFormatJBridge::setDefaultFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); return; } @@ -182,91 +182,91 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultOverlayFormat(JNIEnv* env, jclass cls, jobject f) { (void) cls; - QGLFormatJBridge::setDefaultOverlayFormat((const QGLFormat&)*(const QGLFormat*) QtSupport::getQt(env, f)); + QGLFormatJBridge::setDefaultOverlayFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDepth(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setDepth((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setDepth((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDirectRendering(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setDirectRendering((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setDirectRendering((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDoubleBuffer(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setDoubleBuffer((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setDoubleBuffer((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setOption(JNIEnv* env, jobject obj, jint opt) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setOption((QGL::FormatOption) opt); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setOption((TQGL::FormatOption) opt); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setOverlay(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setOverlay((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setOverlay((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setPlane(JNIEnv* env, jobject obj, jint plane) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setPlane((int) plane); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setPlane((int) plane); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setRgba(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setRgba((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setRgba((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setStencil(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setStencil((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setStencil((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setStereo(JNIEnv* env, jobject obj, jboolean enable) { - ((QGLFormat*) QtSupport::getQt(env, obj))->setStereo((bool) enable); + ((TQGLFormat*) QtSupport::getQt(env, obj))->setStereo((bool) enable); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_stencil(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->stencil(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->stencil(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_stereo(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->stereo(); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->stereo(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_testOption(JNIEnv* env, jobject obj, jint opt) { - jboolean xret = (jboolean) ((QGLFormat*) QtSupport::getQt(env, obj))->testOption((QGL::FormatOption) opt); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->testOption((TQGL::FormatOption) opt); return xret; } |