summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/HSpinBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/HSpinBox.cpp')
-rw-r--r--src/gui/widgets/HSpinBox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/HSpinBox.cpp b/src/gui/widgets/HSpinBox.cpp
index f3b5970..637c010 100644
--- a/src/gui/widgets/HSpinBox.cpp
+++ b/src/gui/widgets/HSpinBox.cpp
@@ -46,23 +46,23 @@ int HSpinBox::mapTextToValue( bool* ok )
return int(f * m_scaleFactor);
}
-HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* parent,
+HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* tqparent,
double bottom, double top, int decimals, float initialValue)
- : TQSpinBox(minV,maxV,step,parent)
+ : TQSpinBox(minV,maxV,step,tqparent)
{
- setValidator(new TQDoubleValidator(bottom,top,decimals,this));
+ setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this)));
initialize(decimals);
setValuef(initialValue);
}
//constructor with default settings
-HSpinBox::HSpinBox( TQWidget* parent, float initialValue, int step,
+HSpinBox::HSpinBox( TQWidget* tqparent, float initialValue, int step,
double bottom, double top, int decimals,
const TQObject* recv, const char* mem)
: TQSpinBox((int)(bottom*pow(10.0, decimals)),
- (int)(top*pow(10.0, decimals)), step, parent)
+ (int)(top*pow(10.0, decimals)), step, tqparent)
{
- setValidator(new TQDoubleValidator(bottom,top,decimals,this));
+ setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this)));
initialize(decimals);
setValuef(initialValue);
if (recv != NULL && mem != NULL)