diff options
Diffstat (limited to 'kommander/editor/asciivalidator.cpp')
-rw-r--r-- | kommander/editor/asciivalidator.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kommander/editor/asciivalidator.cpp b/kommander/editor/asciivalidator.cpp index 6f63e626..947b3ec1 100644 --- a/kommander/editor/asciivalidator.cpp +++ b/kommander/editor/asciivalidator.cpp @@ -1,7 +1,7 @@ /********************************************************************** ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** -** This file is part of Qt Designer. +** This file is part of TQt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software @@ -22,18 +22,18 @@ #include <tqstring.h> -AsciiValidator::AsciiValidator( TQObject * parent, const char *name ) - : TQValidator( parent, name ), functionName( false ) +AsciiValidator::AsciiValidator( TQObject * tqparent, const char *name ) + : TQValidator( tqparent, name ), functionName( false ) { } -AsciiValidator::AsciiValidator( bool funcName, TQObject * parent, const char *name ) - : TQValidator( parent, name ), functionName( funcName ) +AsciiValidator::AsciiValidator( bool funcName, TQObject * tqparent, const char *name ) + : TQValidator( tqparent, name ), functionName( funcName ) { } -AsciiValidator::AsciiValidator( const TQString &allow, TQObject * parent, const char *name ) - : TQValidator( parent, name ), functionName( false ), allowedChars( allow ) +AsciiValidator::AsciiValidator( const TQString &allow, TQObject * tqparent, const char *name ) + : TQValidator( tqparent, name ), functionName( false ), allowedChars( allow ) { } @@ -67,7 +67,7 @@ TQValidator::State AsciiValidator::validate( TQString &s, int & ) const } } - if ( allowedChars.find( s[ i ] ) != -1 ) + if ( allowedChars.tqfind( s[ i ] ) != -1 ) continue; s[i] = '_'; |