summaryrefslogtreecommitdiffstats
path: root/src/gui/general/Spline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/general/Spline.h')
-rw-r--r--src/gui/general/Spline.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/general/Spline.h b/src/gui/general/Spline.h
index 63946a5..292c2b3 100644
--- a/src/gui/general/Spline.h
+++ b/src/gui/general/Spline.h
@@ -29,7 +29,7 @@
#include "base/FastVector.h"
-class QPoint;
+class TQPoint;
class PointList;
@@ -41,27 +41,27 @@ namespace Rosegarden
class Spline
{
public:
- typedef FastVector<QPoint> PointList;
+ typedef FastVector<TQPoint> PointList;
/**
* Calculate a set of polyline points to approximate
* a Bezier spline. Caller takes ownership of returned
* heap-allocated container.
*/
- static PointList *calculate(const QPoint &start, const QPoint &finish,
+ static PointList *calculate(const TQPoint &start, const TQPoint &finish,
const PointList &controlPoints,
- QPoint &topLeft, QPoint &bottomRight);
+ TQPoint &topLeft, TQPoint &bottomRight);
private:
static void calculateSegment
(PointList *acc,
- const QPoint &start, const QPoint &finish, const QPoint &control,
- QPoint &topLeft, QPoint &bottomRight);
+ const TQPoint &start, const TQPoint &finish, const TQPoint &control,
+ TQPoint &topLeft, TQPoint &bottomRight);
static void calculateSegmentSub
(PointList *acc,
- const QPoint &start, const QPoint &finish, const QPoint &control, int n,
- QPoint &topLeft, QPoint &bottomRight);
+ const TQPoint &start, const TQPoint &finish, const TQPoint &control, int n,
+ TQPoint &topLeft, TQPoint &bottomRight);
};