diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
| commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
| tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/general/Spline.h | |
| parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
| download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip | |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/general/Spline.h')
| -rw-r--r-- | src/gui/general/Spline.h | 16 |
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); }; |
