summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpointarray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqpointarray.cpp')
-rw-r--r--qtinterface/tqpointarray.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/qtinterface/tqpointarray.cpp b/qtinterface/tqpointarray.cpp
index 46eedec..10a9285 100644
--- a/qtinterface/tqpointarray.cpp
+++ b/qtinterface/tqpointarray.cpp
@@ -21,3 +21,20 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <tqpointarray.h>
+
+#ifdef USE_QT4
+
+/*!
+ \internal
+ Constructs a point array with \a nPoints points, taken from the
+ \a points array.
+
+ Equivalent to setPoints(nPoints, points).
+*/
+
+Q3PointArray::Q3PointArray( int nPoints, const QCOORD *points )
+{
+ setPoints( nPoints, points );
+}
+
+#endif // USE_QT4 \ No newline at end of file