summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QRangeControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QRangeControl.cpp')
-rw-r--r--qtjava/javalib/qtjava/QRangeControl.cpp78
1 files changed, 39 insertions, 39 deletions
diff --git a/qtjava/javalib/qtjava/QRangeControl.cpp b/qtjava/javalib/qtjava/QRangeControl.cpp
index ca0c801f..3f54a106 100644
--- a/qtjava/javalib/qtjava/QRangeControl.cpp
+++ b/qtjava/javalib/qtjava/QRangeControl.cpp
@@ -2,66 +2,66 @@
#include <tqrangecontrol.h>
#include <qtjava/QtSupport.h>
-#include <qtjava/QRangeControl.h>
+#include <qtjava/TQRangeControl.h>
-class QRangeControlJBridge : public QRangeControl
+class TQRangeControlJBridge : public TQRangeControl
{
public:
- QRangeControlJBridge() : TQRangeControl() {};
- QRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TQRangeControl(arg1,arg2,arg3,arg4,arg5) {};
+ TQRangeControlJBridge() : TTQRangeControl() {};
+ TQRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TTQRangeControl(arg1,arg2,arg3,arg4,arg5) {};
int protected_positionFromValue(int arg1,int arg2) {
- return (int) TQRangeControl::positionFromValue(arg1,arg2);
+ return (int) TTQRangeControl::positionFromValue(arg1,arg2);
}
int protected_valueFromPosition(int arg1,int arg2) {
- return (int) TQRangeControl::valueFromPosition(arg1,arg2);
+ return (int) TTQRangeControl::valueFromPosition(arg1,arg2);
}
void protected_directSetValue(int arg1) {
- TQRangeControl::directSetValue(arg1);
+ TTQRangeControl::directSetValue(arg1);
return;
}
int protected_prevValue() {
- return (int) TQRangeControl::prevValue();
+ return (int) TTQRangeControl::prevValue();
}
void protected_valueChange() {
- TQRangeControl::valueChange();
+ TTQRangeControl::valueChange();
return;
}
void protected_rangeChange() {
- TQRangeControl::rangeChange();
+ TTQRangeControl::rangeChange();
return;
}
void protected_stepChange() {
- TQRangeControl::stepChange();
+ TTQRangeControl::stepChange();
return;
}
- ~QRangeControlJBridge() {QtSupport::qtKeyDeleted(this);}
+ ~TQRangeControlJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_addLine(JNIEnv* env, jobject obj)
{
- ((TQRangeControl*) QtSupport::getQt(env, obj))->addLine();
+ ((TTQRangeControl*) 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();
+ ((TTQRangeControl*) 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);
+ jint xret = (jint) ((TTQRangeControl*) QtSupport::getQt(env, obj))->bound((int) arg1);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_directSetValue(JNIEnv* env, jobject obj, jint val)
{
- ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val);
+ ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val);
return;
}
@@ -76,7 +76,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (TQRangeControl*)QtSupport::getQt(env, obj);
+ delete (TTQRangeControl*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -91,39 +91,39 @@ Java_org_kde_qt_QRangeControl_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_lineStep(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->lineStep();
+ jint xret = (jint) ((TTQRangeControl*) 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();
+ jint xret = (jint) ((TTQRangeControl*) 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();
+ jint xret = (jint) ((TTQRangeControl*) QtSupport::getQt(env, obj))->minValue();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QRangeControl_newQRangeControl__(JNIEnv* env, jobject obj)
+Java_org_kde_qt_QRangeControl_newTQRangeControl__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QRangeControlJBridge());
+ QtSupport::setQt(env, obj, new TQRangeControlJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QRangeControl_newQRangeControl__IIIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value)
+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 QRangeControlJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value));
+ 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;
@@ -132,105 +132,105 @@ Java_org_kde_qt_QRangeControl_newQRangeControl__IIIII(JNIEnv* env, jobject obj,
JNIEXPORT jint JNICALL
Java_org_kde_qt_QRangeControl_pageStep(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->pageStep();
+ jint xret = (jint) ((TTQRangeControl*) 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) ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) 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) ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_prevValue();
+ 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)
{
- ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange();
+ ((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);
+ ((TTQRangeControl*) 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);
+ ((TTQRangeControl*) 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);
+ ((TTQRangeControl*) 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);
+ ((TTQRangeControl*) 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);
+ ((TTQRangeControl*) QtSupport::getQt(env, obj))->setValue((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_stepChange(JNIEnv* env, jobject obj)
{
- ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_stepChange();
+ ((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();
+ ((TTQRangeControl*) 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();
+ ((TTQRangeControl*) QtSupport::getQt(env, obj))->subtractPage();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QRangeControl_valueChange(JNIEnv* env, jobject obj)
{
- ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueChange();
+ ((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) ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) 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();
+ jint xret = (jint) ((TTQRangeControl*) QtSupport::getQt(env, obj))->value();
return xret;
}