Salome HOME
Transaction management in operations modifed.
[modules/gui.git] / src / Plot2d / Plot2d_Curve.h
index bbb969679a629b71696eed2b7dd0d64aad38e76e..703a9cdf038e52226ba497116b276bb478e091b9 100755 (executable)
@@ -2,12 +2,11 @@
 #define PLOT2D_CURVE_H
 
 #include "Plot2d.h"
-
+#include <qvaluelist.h>
+#include <qptrlist.h>
 #include <qwt_plot.h>
 
-#include <qcolor.h>
-#include <qstring.h>
-#include <qvaluelist.h>
+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<Plot2d_Curve> curveList;
+
 #endif