summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils/validator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexiutils/validator.cpp')
-rw-r--r--kexi/kexiutils/validator.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/kexiutils/validator.cpp b/kexi/kexiutils/validator.cpp
index 54af4ccd..bec7a1ec 100644
--- a/kexi/kexiutils/validator.cpp
+++ b/kexi/kexiutils/validator.cpp
@@ -21,8 +21,8 @@
using namespace KexiUtils;
-Validator::Validator(TQObject * tqparent, const char * name)
-: TQValidator(tqparent,name)
+Validator::Validator(TQObject * parent, const char * name)
+: TQValidator(parent,name)
, m_acceptsEmptyValue(false)
{
}
@@ -57,15 +57,15 @@ TQValidator::State Validator::validate ( TQString & , int & ) const
//-----------------------------------------------------------
-MultiValidator::MultiValidator(TQObject* tqparent, const char * name)
- : Validator(tqparent, name)
+MultiValidator::MultiValidator(TQObject* parent, const char * name)
+ : Validator(parent, name)
{
m_ownedSubValidators.setAutoDelete(true);
}
MultiValidator::MultiValidator(TQValidator *validator,
- TQObject * tqparent, const char * name)
- : Validator(tqparent, name)
+ TQObject * parent, const char * name)
+ : Validator(parent, name)
{
addSubvalidator(validator);
}
@@ -76,7 +76,7 @@ void MultiValidator::addSubvalidator( TQValidator* validator, bool owned )
if (!validator)
return;
m_subValidators.append(validator);
- if (owned && !validator->tqparent())
+ if (owned && !validator->parent())
m_ownedSubValidators.append(validator);
}