summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/HSpinBox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-09 18:25:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-10 00:57:53 +0900
commit0d651f25b2871e8e16bf7a1c3563066489a7a0b2 (patch)
treeab3b17b523e0ae3334541665a4625b99a42a76b1 /src/gui/widgets/HSpinBox.cpp
parentd226182192d460ae262962fe9d79604037bf9705 (diff)
downloadrosegarden-0d651f25b2871e8e16bf7a1c3563066489a7a0b2.tar.gz
rosegarden-0d651f25b2871e8e16bf7a1c3563066489a7a0b2.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9b054308cef27a642eaa6e9a86db215151468e0b)
Diffstat (limited to 'src/gui/widgets/HSpinBox.cpp')
-rw-r--r--src/gui/widgets/HSpinBox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/HSpinBox.cpp b/src/gui/widgets/HSpinBox.cpp
index f6cf114..0c8639b 100644
--- a/src/gui/widgets/HSpinBox.cpp
+++ b/src/gui/widgets/HSpinBox.cpp
@@ -48,7 +48,7 @@ HSpinBox::HSpinBox( int minV, int maxV, int step, TQWidget* parent,
double bottom, double top, int decimals, float initialValue)
: TQSpinBox(minV,maxV,step,parent)
{
- setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this)));
+ setValidator(new TQDoubleValidator(bottom,top,decimals,this));
initialize(decimals);
setValuef(initialValue);
}
@@ -60,7 +60,7 @@ HSpinBox::HSpinBox( TQWidget* parent, float initialValue, int step,
: TQSpinBox((int)(bottom*pow(10.0, decimals)),
(int)(top*pow(10.0, decimals)), step, parent)
{
- setValidator(new TQDoubleValidator(bottom,top,decimals,TQT_TQOBJECT(this)));
+ setValidator(new TQDoubleValidator(bottom,top,decimals,this));
initialize(decimals);
setValuef(initialValue);
if (recv != NULL && mem != NULL)