diff options
Diffstat (limited to 'khexedit/hexvalidator.h')
-rw-r--r-- | khexedit/hexvalidator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/khexedit/hexvalidator.h b/khexedit/hexvalidator.h index cfe9f95..69b6fc1 100644 --- a/khexedit/hexvalidator.h +++ b/khexedit/hexvalidator.h @@ -21,7 +21,7 @@ #ifndef _HEX_VALIDATOR_H_ #define _HEX_VALIDATOR_H_ -#include <qvalidator.h> +#include <tqvalidator.h> class CHexValidator: public QValidator { @@ -38,12 +38,12 @@ class CHexValidator: public QValidator }; public: - CHexValidator( QWidget *parent, EState state, const char *name = 0 ); + CHexValidator( TQWidget *parent, EState state, const char *name = 0 ); ~CHexValidator( void ); - QValidator::State validate( QString &string, int &pos ) const; + TQValidator::State validate( TQString &string, int &pos ) const; void setState( EState state ); - void convert( QByteArray &dest, const QString &src ); - void format( QString &dest, const QByteArray &src ); + void convert( TQByteArray &dest, const TQString &src ); + void format( TQString &dest, const TQByteArray &src ); private: /** @@ -52,7 +52,7 @@ class CHexValidator: public QValidator * * e.g. zeroExtend( "32", 3 ) => "032" */ - QString zeroExtend( const QString &src, unsigned destLen ) const; + TQString zeroExtend( const TQString &src, unsigned destLen ) const; EState mState; |