diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
commit | abb8cd68f820cfe0c96965136890a6bdd1093db5 (patch) | |
tree | 0ccc113047cebed06b5bd61adeadab4330b7d4a0 /src/gui/doublespinbox.cpp | |
parent | c1ef065782051db96cdfd32cf55be6408c2a9d22 (diff) | |
download | ktechlab-abb8cd68f820cfe0c96965136890a6bdd1093db5.tar.gz ktechlab-abb8cd68f820cfe0c96965136890a6bdd1093db5.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gui/doublespinbox.cpp')
-rw-r--r-- | src/gui/doublespinbox.cpp | 4 |
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(); |