summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqvalidator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/widgets/tqvalidator.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqvalidator.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqvalidator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqvalidator.cpp b/tqtinterface/qt4/src/widgets/tqvalidator.cpp
index e238ab0..423e837 100644
--- a/tqtinterface/qt4/src/widgets/tqvalidator.cpp
+++ b/tqtinterface/qt4/src/widgets/tqvalidator.cpp
@@ -184,7 +184,7 @@ void TQValidator::fixup( TQString & ) const
/*!
\class TQIntValidator
\brief The TQIntValidator class provides a validator which ensures
- that a string tqcontains a valid integer within a specified range.
+ that a string contains a valid integer within a specified range.
\ingroup misc
@@ -408,10 +408,10 @@ TQDoubleValidator::~TQDoubleValidator()
/*!
- Returns \c Acceptable if the string \a input tqcontains a double
+ Returns \c Acceptable if the string \a input contains a double
that is within the valid range and is in the correct format.
- Returns \c Intermediate if \a input tqcontains a double that is
+ Returns \c Intermediate if \a input contains a double that is
outside the range or is in the wrong format, e.g. with too many
digits after the decimal point or is empty.
@@ -431,7 +431,7 @@ TQValidator::State TQDoubleValidator::validate( TQString & input, int & ) const
return Intermediate;
bool ok = TRUE;
double entered = input.toDouble( &ok );
- int nume = input.tqcontains( 'e', FALSE );
+ int nume = input.contains( 'e', FALSE );
if ( !ok ) {
// explicit exponent regexp
TQRegExp expexpexp( TQString::tqfromLatin1("[Ee][+-]?\\d*$") );
@@ -448,7 +448,7 @@ TQValidator::State TQDoubleValidator::validate( TQString & input, int & ) const
}
}
- int i = input.tqfind( '.' );
+ int i = input.find( '.' );
if ( i >= 0 && nume == 0 ) {
// has decimal point (but no E), now count digits after that
i++;
@@ -524,7 +524,7 @@ void TQDoubleValidator::setDecimals( int decimals )
\ingroup misc
- TQRegExpValidator tqcontains a regular expression, "regexp", used to
+ TQRegExpValidator contains a regular expression, "regexp", used to
determine whether an input string is \c Acceptable, \c
Intermediate or \c Invalid.