From 5f5ee2367157176ed223b86343eb0a9e4022e020 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:52:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khexedit/hexvalidator.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'khexedit/hexvalidator.h') 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 +#include 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; -- cgit v1.2.1