diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QRangeControl.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QRangeControl.cpp | 236 |
1 files changed, 0 insertions, 236 deletions
diff --git a/qtjava/javalib/qtjava/QRangeControl.cpp b/qtjava/javalib/qtjava/QRangeControl.cpp deleted file mode 100644 index fae1e5f8..00000000 --- a/qtjava/javalib/qtjava/QRangeControl.cpp +++ /dev/null @@ -1,236 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqrangecontrol.h> - -#include <qtjava/QtSupport.h> -#include <qtjava/QRangeControl.h> - -class TQRangeControlJBridge : public TQRangeControl -{ -public: - TQRangeControlJBridge() : TQRangeControl() {}; - TQRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TQRangeControl(arg1,arg2,arg3,arg4,arg5) {}; - int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); - } - int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); - } - void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); - return; - } - int protected_prevValue() { - return (int) TQRangeControl::prevValue(); - } - void protected_valueChange() { - TQRangeControl::valueChange(); - return; - } - void protected_rangeChange() { - TQRangeControl::rangeChange(); - return; - } - void protected_stepChange() { - TQRangeControl::stepChange(); - return; - } - ~TQRangeControlJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_addLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_addPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QRangeControl_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRangeControl*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QRangeControl_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_newTQRangeControl__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRangeControlJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_newTQRangeControl__IIIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQRangeControlJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_rangeChange(JNIEnv* env, jobject obj) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setMaxValue(JNIEnv* env, jobject obj, jint minVal) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setMaxValue((int) minVal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setMinValue(JNIEnv* env, jobject obj, jint minVal) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setMinValue((int) minVal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_stepChange(JNIEnv* env, jobject obj) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_valueChange(JNIEnv* env, jobject obj) -{ - ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QRangeControl_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->value(); - return xret; -} - |