diff options
Diffstat (limited to 'kexi/kexidb/fieldvalidator.cpp')
-rw-r--r-- | kexi/kexidb/fieldvalidator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/fieldvalidator.cpp b/kexi/kexidb/fieldvalidator.cpp index d9252c20..57f8bd8d 100644 --- a/kexi/kexidb/fieldvalidator.cpp +++ b/kexi/kexidb/fieldvalidator.cpp @@ -26,12 +26,12 @@ using namespace KexiDB; -FieldValidator::FieldValidator( const Field &field, TQWidget * tqparent, const char * name ) - : KexiUtils::MultiValidator(TQT_TQOBJECT(tqparent), name) +FieldValidator::FieldValidator( const Field &field, TQWidget * parent, const char * name ) + : KexiUtils::MultiValidator(TQT_TQOBJECT(parent), name) { //! @todo merge this code with KexiTableEdit code! //! @todo set maximum length validator -//! @todo handle input tqmask (via TQLineEdit::setInputMask() +//! @todo handle input mask (via TQLineEdit::setInputMask() const Field::Type t = field.type(); if (field.isIntegerType()) { TQValidator *validator = 0; |