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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/HSpinBox.cpp b/src/gui/widgets/HSpinBox.cpp
index 637c010..e49cf1b 100644
--- a/src/gui/widgets/HSpinBox.cpp
+++ b/src/gui/widgets/HSpinBox.cpp
@@ -46,9 +46,9 @@ int HSpinBox::mapTextToValue( bool* ok )
return int(f * m_scaleFactor);
}
-HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* tqparent,
+HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* parent,
double bottom, double top, int decimals, float initialValue)
- : TQSpinBox(minV,maxV,step,tqparent)
+ : TQSpinBox(minV,maxV,step,parent)
{
setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this)));
initialize(decimals);
@@ -56,11 +56,11 @@ HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* tqparent,
}
//constructor with default settings
-HSpinBox::HSpinBox( TQWidget* tqparent, float initialValue, int step,
+HSpinBox::HSpinBox( TQWidget* parent, 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, tqparent)
+ (int)(top*pow(10.0, decimals)), step, parent)
{
setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this)));
initialize(decimals);