summaryrefslogtreecommitdiffstats
path: root/kig/misc/coordinate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/misc/coordinate.cpp')
-rw-r--r--kig/misc/coordinate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kig/misc/coordinate.cpp b/kig/misc/coordinate.cpp
index f2c272f2..86cf8eab 100644
--- a/kig/misc/coordinate.cpp
+++ b/kig/misc/coordinate.cpp
@@ -25,7 +25,7 @@
using namespace std;
-Coordinate Coordinate::fromQPoint( const TQPoint& p )
+Coordinate Coordinate::fromTQPoint( const TQPoint& p )
{
return Coordinate( p.x(), p.y() );
}
@@ -159,10 +159,10 @@ const Coordinate Coordinate::normalize( double l ) const
const Coordinate Coordinate::round() const
{
- return Coordinate( qRound( x ), qRound( y ) );
+ return Coordinate( tqRound( x ), tqRound( y ) );
}
-TQPoint Coordinate::toQPoint() const
+TQPoint Coordinate::toTQPoint() const
{
Coordinate t = round();
return TQPoint( (int) t.x, (int) t.y );