summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqvalidator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqvalidator.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqvalidator.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqvalidator.cpp b/tqtinterface/qt4/src/widgets/tqvalidator.cpp
index 423e837..18fffc7 100644
--- a/tqtinterface/qt4/src/widgets/tqvalidator.cpp
+++ b/tqtinterface/qt4/src/widgets/tqvalidator.cpp
@@ -124,12 +124,12 @@
/*!
- Sets up the validator. The \a tqparent and \a name parameters are
+ Sets up the validator. The \a parent and \a name parameters are
passed on to the TQObject constructor.
*/
-TQValidator::TQValidator( TQObject * tqparent, const char *name )
- : TQObject( tqparent, name )
+TQValidator::TQValidator( TQObject * parent, const char *name )
+ : TQObject( parent, name )
{
}
@@ -234,12 +234,12 @@ void TQValidator::fixup( TQString & ) const
/*!
- Constructs a validator called \a name with tqparent \a tqparent, that
+ Constructs a validator called \a name with parent \a parent, that
accepts all integers.
*/
-TQIntValidator::TQIntValidator( TQObject * tqparent, const char *name )
- : TQValidator( tqparent, name )
+TQIntValidator::TQIntValidator( TQObject * parent, const char *name )
+ : TQValidator( parent, name )
{
b = INT_MIN;
t = INT_MAX;
@@ -247,13 +247,13 @@ TQIntValidator::TQIntValidator( TQObject * tqparent, const char *name )
/*!
- Constructs a validator called \a name with tqparent \a tqparent, that
+ Constructs a validator called \a name with parent \a parent, that
accepts integers from \a minimum to \a maximum inclusive.
*/
TQIntValidator::TQIntValidator( int minimum, int maximum,
- TQObject * tqparent, const char* name )
- : TQValidator( tqparent, name )
+ TQObject * parent, const char* name )
+ : TQValidator( parent, name )
{
b = minimum;
t = maximum;
@@ -369,12 +369,12 @@ void TQIntValidator::setTop( int top )
*/
/*!
- Constructs a validator object with tqparent \a tqparent, called \a
+ Constructs a validator object with parent \a parent, called \a
name, which accepts any double.
*/
-TQDoubleValidator::TQDoubleValidator( TQObject * tqparent, const char *name )
- : TQValidator( tqparent, name )
+TQDoubleValidator::TQDoubleValidator( TQObject * parent, const char *name )
+ : TQValidator( parent, name )
{
b = -HUGE_VAL;
t = HUGE_VAL;
@@ -383,14 +383,14 @@ TQDoubleValidator::TQDoubleValidator( TQObject * tqparent, const char *name )
/*!
- Constructs a validator object with tqparent \a tqparent, called \a
+ Constructs a validator object with parent \a parent, called \a
name. This validator will accept doubles from \a bottom to \a top
inclusive, with up to \a decimals digits after the decimal point.
*/
TQDoubleValidator::TQDoubleValidator( double bottom, double top, int decimals,
- TQObject * tqparent, const char* name )
- : TQValidator( tqparent, name )
+ TQObject * parent, const char* name )
+ : TQValidator( parent, name )
{
b = bottom;
t = top;
@@ -587,27 +587,27 @@ void TQDoubleValidator::setDecimals( int decimals )
/*!
Constructs a validator that accepts any string (including an empty
- one) as valid. The object's tqparent is \a tqparent and its name is \a
+ one) as valid. The object's parent is \a parent and its name is \a
name.
*/
-TQRegExpValidator::TQRegExpValidator( TQObject *tqparent, const char *name )
- : TQValidator( tqparent, name ), r( TQString::tqfromLatin1(".*") )
+TQRegExpValidator::TQRegExpValidator( TQObject *parent, const char *name )
+ : TQValidator( parent, name ), r( TQString::tqfromLatin1(".*") )
{
}
/*!
Constructs a validator which accepts all strings that match the
- regular expression \a rx. The object's tqparent is \a tqparent and its
+ regular expression \a rx. The object's parent is \a parent and its
name is \a name.
The match is made against the entire string, e.g. if the regexp is
<b>[A-Fa-f0-9]+</b> it will be treated as <b>^[A-Fa-f0-9]+$</b>.
*/
-TQRegExpValidator::TQRegExpValidator( const TQRegExp& rx, TQObject *tqparent,
+TQRegExpValidator::TQRegExpValidator( const TQRegExp& rx, TQObject *parent,
const char *name )
- : TQValidator( tqparent, name ), r( rx )
+ : TQValidator( parent, name ), r( rx )
{
}