summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGRectImpl.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /ksvg/impl/SVGRectImpl.cc
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/impl/SVGRectImpl.cc')
-rw-r--r--ksvg/impl/SVGRectImpl.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksvg/impl/SVGRectImpl.cc b/ksvg/impl/SVGRectImpl.cc
index 1f6c0d51..3889ec79 100644
--- a/ksvg/impl/SVGRectImpl.cc
+++ b/ksvg/impl/SVGRectImpl.cc
@@ -20,7 +20,7 @@
#include <kdebug.h>
-#include <qrect.h>
+#include <tqrect.h>
#include "SVGRectImpl.h"
@@ -40,7 +40,7 @@ SVGRectImpl::SVGRectImpl()
m_height = 0;
}
-SVGRectImpl::SVGRectImpl(const QRect &other)
+SVGRectImpl::SVGRectImpl(const TQRect &other)
{
(*this) = other;
}
@@ -89,13 +89,13 @@ float SVGRectImpl::height() const
return m_height;
}
-QRect SVGRectImpl::qrect() const
+TQRect SVGRectImpl::qrect() const
{
// ceil() so the integer rectangle contains the whole real one.
- return QRect(int(m_x), int(m_y), int(ceil(m_width)), int(ceil(m_height)));
+ return TQRect(int(m_x), int(m_y), int(ceil(m_width)), int(ceil(m_height)));
}
-SVGRectImpl &SVGRectImpl::operator=(const QRect &other)
+SVGRectImpl &SVGRectImpl::operator=(const TQRect &other)
{
m_x = other.x();
m_y = other.y();