From 0a6e0958c03e41c87b15557b6f407874f20c2f8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:39:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kig/misc/rect.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kig/misc/rect.cc') diff --git a/kig/misc/rect.cc b/kig/misc/rect.cc index dc28de82..183f50f8 100644 --- a/kig/misc/rect.cc +++ b/kig/misc/rect.cc @@ -153,9 +153,9 @@ void Rect::scale( const double r ) } -QRect Rect::toQRect() const +TQRect Rect::toQRect() const { - return QRect(mBottomLeft.toQPoint(), topRight().toQPoint()); + return TQRect(mBottomLeft.toQPoint(), topRight().toQPoint()); } Coordinate Rect::bottomLeft() const @@ -253,7 +253,7 @@ Rect Rect::normalized() const return t; } -Rect Rect::fromQRect( const QRect& r ) +Rect Rect::fromQRect( const TQRect& r ) { return Rect( r.left(), r.top(), r.right(), r.bottom() ); } -- cgit v1.2.3