diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QGLFormat.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QGLFormat.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/qtjava/javalib/qtjava/QGLFormat.cpp b/qtjava/javalib/qtjava/QGLFormat.cpp index 032c4c5d..0eca2948 100644 --- a/qtjava/javalib/qtjava/QGLFormat.cpp +++ b/qtjava/javalib/qtjava/QGLFormat.cpp @@ -7,23 +7,23 @@ class TQGLFormatJBridge : public TQGLFormat { public: - TQGLFormatJBridge() : TTQGLFormat() {}; - TQGLFormatJBridge(int arg1,int arg2) : TTQGLFormat(arg1,arg2) {}; - TQGLFormatJBridge(int arg1) : TTQGLFormat(arg1) {}; + TQGLFormatJBridge() : TQGLFormat() {}; + TQGLFormatJBridge(int arg1,int arg2) : TQGLFormat(arg1,arg2) {}; + TQGLFormatJBridge(int arg1) : TQGLFormat(arg1) {}; ~TQGLFormatJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_accum(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQGLFormat*) 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) ((TTQGLFormat*) 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 TTQGLFormat(TQGLFormatJBridge::defaultFormat()), "org.kde.qt.TTQGLFormat", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(TQGLFormatJBridge::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 TTQGLFormat(TQGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.TTQGLFormat", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(TQGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.TQGLFormat", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_depth(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQGLFormat*) 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) ((TTQGLFormat*) 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) ((TTQGLFormat*) 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 (TTQGLFormat*)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) ((TTQGLFormat*) 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_newTQGLFormat__II(JNIEnv* env, jobject obj, jint optio JNIEXPORT jint JNICALL Java_org_kde_qt_QGLFormat_plane(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQGLFormat*) 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) ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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; - TQGLFormatJBridge::setDefaultFormat((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, f)); + TQGLFormatJBridge::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; - TQGLFormatJBridge::setDefaultOverlayFormat((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, f)); + TQGLFormatJBridge::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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) QtSupport::getQt(env, obj))->setOption((TTQGL::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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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) { - ((TTQGLFormat*) 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) ((TTQGLFormat*) 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) ((TTQGLFormat*) 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) ((TTQGLFormat*) QtSupport::getQt(env, obj))->testOption((TTQGL::FormatOption) opt); + jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->testOption((TQGL::FormatOption) opt); return xret; } |