From a2277b6bc715464e83882b90c2a058139b8a6b54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Jun 2011 01:42:07 +0000 Subject: TQt4 port kdeutils This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khexedit/hexvalidator.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'khexedit/hexvalidator.h') diff --git a/khexedit/hexvalidator.h b/khexedit/hexvalidator.h index 69b6fc1..551bc4f 100644 --- a/khexedit/hexvalidator.h +++ b/khexedit/hexvalidator.h @@ -23,9 +23,10 @@ #include -class CHexValidator: public QValidator +class CHexValidator: public TQValidator { Q_OBJECT + TQ_OBJECT public: enum EState @@ -38,7 +39,7 @@ class CHexValidator: public QValidator }; public: - CHexValidator( TQWidget *parent, EState state, const char *name = 0 ); + CHexValidator( TQWidget *tqparent, EState state, const char *name = 0 ); ~CHexValidator( void ); TQValidator::State validate( TQString &string, int &pos ) const; void setState( EState state ); -- cgit v1.2.1