[Kst] branches/work/kst/portto4/kst/src/libkstmath
Adam Treat
treat at kde.org
Tue Feb 20 19:39:30 CET 2007
SVN commit 635713 by treat:
* QBrushStyle is global to Qt
M +11 -11 kstcurvepointsymbol.cpp
--- branches/work/kst/portto4/kst/src/libkstmath/kstcurvepointsymbol.cpp #635712:635713
@@ -45,15 +45,15 @@
p->drawLine(x-s, y+s, x+s, y-s);
break;
case 1:
- p->setBrush(QBrush::NoBrush);
+ p->setBrush(Qt::NoBrush);
p->drawRect(x-s, y-s, 2*s+1, 2*s+1);
break;
case 2:
- p->setBrush(QBrush::NoBrush);
+ p->setBrush(Qt::NoBrush);
p->drawEllipse(x-s, y-s, 2*s+1, 2*s+1);
break;
case 3:
- p->setBrush(QBrush::SolidPattern);
+ p->setBrush(Qt::SolidPattern);
p->drawEllipse(x-s, y-s, 2*s+1, 2*s+1);
break;
case 4:
@@ -61,7 +61,7 @@
Q3PointArray pts(3);
pts.putPoints( 0, 3, x-s, y-s, x, y+s, x+s, y-s );
- p->setBrush(QBrush::NoBrush);
+ p->setBrush(Qt::NoBrush);
p->drawPolygon(pts);
}
break;
@@ -70,12 +70,12 @@
Q3PointArray pts(3);
pts.putPoints( 0, 3, x-s, y+s, x, y-s, x+s, y+s );
- p->setBrush(QBrush::NoBrush);
+ p->setBrush(Qt::NoBrush);
p->drawPolygon(pts);
}
break;
case 6:
- p->setBrush(QBrush::SolidPattern);
+ p->setBrush(Qt::SolidPattern);
p->drawRect(x-s, y-s, 2*s+1, 2*s+1);
break;
case 7:
@@ -93,7 +93,7 @@
Q3PointArray pts(3);
pts.putPoints( 0, 3, x-s, y-s, x, y+s, x+s, y-s );
- p->setBrush(QBrush::SolidPattern);
+ p->setBrush(Qt::SolidPattern);
p->drawPolygon(pts);
}
break;
@@ -102,7 +102,7 @@
Q3PointArray pts(3);
pts.putPoints( 0, 3, x-s, y+s, x, y-s, x+s, y+s );
- p->setBrush(QBrush::SolidPattern);
+ p->setBrush(Qt::SolidPattern);
p->drawPolygon(pts);
}
break;
@@ -114,7 +114,7 @@
x, y+s,
x-s, y,
x, y-s );
- p->setBrush(QBrush::NoBrush);
+ p->setBrush(Qt::NoBrush);
p->drawPolygon(pts);
}
break;
@@ -126,13 +126,13 @@
x, y+s,
x-s, y,
x, y-s );
- p->setBrush(QBrush::SolidPattern);
+ p->setBrush(Qt::SolidPattern);
p->drawPolygon(pts);
}
break;
}
- p->setBrush(QBrush::NoBrush);
+ p->setBrush(Qt::NoBrush);
}
More information about the Kst
mailing list