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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/misc/coordinate.cpp b/kig/misc/coordinate.cpp
index 13501bc9..f2c272f2 100644
--- a/kig/misc/coordinate.cpp
+++ b/kig/misc/coordinate.cpp
@@ -17,7 +17,7 @@
#include "coordinate.h"
-#include <qglobal.h>
+#include <tqglobal.h>
#include <cmath>
#include <kdebug.h>
@@ -25,7 +25,7 @@
using namespace std;
-Coordinate Coordinate::fromQPoint( const QPoint& p )
+Coordinate Coordinate::fromQPoint( const TQPoint& p )
{
return Coordinate( p.x(), p.y() );
}
@@ -162,10 +162,10 @@ const Coordinate Coordinate::round() const
return Coordinate( qRound( x ), qRound( y ) );
}
-QPoint Coordinate::toQPoint() const
+TQPoint Coordinate::toQPoint() const
{
Coordinate t = round();
- return QPoint( (int) t.x, (int) t.y );
+ return TQPoint( (int) t.x, (int) t.y );
}
Coordinate Coordinate::invalidCoord()