diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-09 18:25:42 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-09 18:57:45 +0900 |
| commit | 9b054308cef27a642eaa6e9a86db215151468e0b (patch) | |
| tree | ab3b17b523e0ae3334541665a4625b99a42a76b1 /src/gui/widgets/HSpinBox.cpp | |
| parent | 217eb15dfed1b38303754b8cab53d77d749f22b9 (diff) | |
| download | rosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.tar.gz rosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.zip | |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gui/widgets/HSpinBox.cpp')
| -rw-r--r-- | src/gui/widgets/HSpinBox.cpp | 4 |
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) |
