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 --- kcalc/kcalc_const_button.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kcalc/kcalc_const_button.h') diff --git a/kcalc/kcalc_const_button.h b/kcalc/kcalc_const_button.h index 110df3c..916d7f6 100644 --- a/kcalc/kcalc_const_button.h +++ b/kcalc/kcalc_const_button.h @@ -1,6 +1,6 @@ /* KCalc, a scientific calculator for the X window system using the - Qt widget libraries, available at no cost at http://www.troll.no + TQt widget libraries, available at no cost at http://www.troll.no Copyright (C) 1996 Bernd Johannes Wuebben wuebben@math.cornell.edu @@ -31,12 +31,13 @@ class KCalcConstButton : public KCalcButton { Q_OBJECT + TQ_OBJECT public: - KCalcConstButton(TQWidget *parent, int but_num, const char * name = 0); + KCalcConstButton(TQWidget *tqparent, int but_num, const char * name = 0); - KCalcConstButton(const TQString &label, TQWidget *parent, int but_num, const char * name = 0, + KCalcConstButton(const TQString &label, TQWidget *tqparent, int but_num, const char * name = 0, const TQString &tooltip = TQString()); TQString constant(void) const; -- cgit v1.2.3