X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPlot2d%2FPlot2d_Curve.h;h=703a9cdf038e52226ba497116b276bb478e091b9;hb=f16039b1923ca92906d4112a3bb0dbd431192807;hp=bbb969679a629b71696eed2b7dd0d64aad38e76e;hpb=c857c8b3eeaa8b0fe217479b2bf51a89aa5947bf;p=modules%2Fgui.git diff --git a/src/Plot2d/Plot2d_Curve.h b/src/Plot2d/Plot2d_Curve.h index bbb969679..703a9cdf0 100755 --- a/src/Plot2d/Plot2d_Curve.h +++ b/src/Plot2d/Plot2d_Curve.h @@ -2,12 +2,11 @@ #define PLOT2D_CURVE_H #include "Plot2d.h" - +#include +#include #include -#include -#include -#include +class QColor; typedef struct { @@ -53,7 +52,7 @@ public: void setAutoAssign( bool on ); bool isAutoAssign() const; - void setColor( const QColor color ); + void setColor( const QColor& color ); QColor getColor() const; void setMarker( MarkerType marker ); MarkerType getMarker() const; @@ -78,4 +77,6 @@ protected: pointList myPoints; }; +typedef QPtrList curveList; + #endif