From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: TQt4 port kdegames This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konquest/int_validator.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'konquest/int_validator.h') diff --git a/konquest/int_validator.h b/konquest/int_validator.h index 6cb67bcb..4f995158 100644 --- a/konquest/int_validator.h +++ b/konquest/int_validator.h @@ -4,13 +4,14 @@ #include -class IntValidator : public QValidator +class IntValidator : public TQValidator { Q_OBJECT + TQ_OBJECT public: - IntValidator( TQWidget *parent, const char *name = 0 ); - IntValidator( int bottom, int top, TQWidget *parent, const char *name = 0 ); + IntValidator( TQWidget *tqparent, const char *name = 0 ); + IntValidator( int bottom, int top, TQWidget *tqparent, const char *name = 0 ); virtual ~IntValidator(); -- cgit v1.2.1