From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkscan/sizeindicator.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libkscan/sizeindicator.h') diff --git a/libkscan/sizeindicator.h b/libkscan/sizeindicator.h index d49c60b5..0d248fec 100644 --- a/libkscan/sizeindicator.h +++ b/libkscan/sizeindicator.h @@ -37,10 +37,11 @@ class TQPainter; * user that he is doing something obvious. */ -class SizeIndicator: public QLabel +class SizeIndicator: public TQLabel { Q_OBJECT - // Q_PROPERTY( KGammaTable *gt READ getGt WRITE setGt ) + TQ_OBJECT + // TQ_PROPERTY( KGammaTable *gt READ getGt WRITE setGt ) public: /** @@ -49,7 +50,7 @@ public: * @param crit: Critical value, not yet used. */ - SizeIndicator( TQWidget *parent, long thres = DEFAULT_THRESHOLD, + SizeIndicator( TQWidget *tqparent, long thres = DEFAULT_THRESHOLD, long crit = DEFAULT_CRITICAL ); /** * destructor does not really do much yet. -- cgit v1.2.1