diff options
Diffstat (limited to 'src/gui/numberfieldwidget.cpp')
-rw-r--r-- | src/gui/numberfieldwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/numberfieldwidget.cpp b/src/gui/numberfieldwidget.cpp index f2cdaa8..19147b4 100644 --- a/src/gui/numberfieldwidget.cpp +++ b/src/gui/numberfieldwidget.cpp @@ -41,7 +41,7 @@ void NumberFieldWidget::initLineEdit() { // regexp is any number of digits followed optionally by any number of // groups of a semi-colon followed optionally by a space, followed by digits - TQRegExp rx(TQString::tqfromLatin1("-?\\d*(; ?-?\\d*)*")); + TQRegExp rx(TQString::fromLatin1("-?\\d*(; ?-?\\d*)*")); m_lineEdit->setValidator(new TQRegExpValidator(rx, TQT_TQOBJECT(this))); } @@ -67,7 +67,7 @@ TQString NumberFieldWidget::text() const { TQString text = m_lineEdit->text(); if(field()->flags() & Data::Field::AllowMultiple) { - text.replace(s_semiColon, TQString::tqfromLatin1("; ")); + text.replace(s_semiColon, TQString::fromLatin1("; ")); } return text.simplifyWhiteSpace(); } |