summaryrefslogtreecommitdiffstats
path: root/src/gui/doublespinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doublespinbox.cpp')
-rw-r--r--src/gui/doublespinbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/doublespinbox.cpp b/src/gui/doublespinbox.cpp
index b994c23..4418538 100644
--- a/src/gui/doublespinbox.cpp
+++ b/src/gui/doublespinbox.cpp
@@ -40,7 +40,7 @@ DoubleSpinBox::DoubleSpinBox( double lower, double upper, double minAbs, double
m_minAbsValue = minAbs;
m_queuedSuffix = TQString();
- editor()->tqsetAlignment( TQt::AlignRight );
+ editor()->setAlignment( TQt::AlignRight );
connect( this, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(checkIfChanged()) );
TQSpinBox::setMinValue( -(1<<30) );
@@ -129,7 +129,7 @@ double DoubleSpinBox::getMult()
if ( text.length() == 0 )
return 1.0;
- if ( text.tqendsWith( m_unit, false ) )
+ if ( text.endsWith( m_unit, false ) )
text = text.remove( text.length() - m_unit.length(), m_unit.length() );
text.stripWhiteSpace();