summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kcurve.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kcurve.cc')
-rw-r--r--chalk/ui/kcurve.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/ui/kcurve.cc b/chalk/ui/kcurve.cc
index 47f9934a..84613974 100644
--- a/chalk/ui/kcurve.cc
+++ b/chalk/ui/kcurve.cc
@@ -146,7 +146,7 @@ void KCurve::paintEvent(TQPaintEvent *)
pm.fill();
// Draw grid separators.
- p1.setPen(TQPen::TQPen(TQt::gray, 1, TQt::SolidLine));
+ p1.setPen(TQPen(TQt::gray, 1, TQt::SolidLine));
p1.drawLine(wWidth/3, 0, wWidth/3, wHeight);
p1.drawLine(2*wWidth/3, 0, 2*wWidth/3, wHeight);
p1.drawLine(0, wHeight/3, wWidth, wHeight/3);
@@ -154,7 +154,7 @@ void KCurve::paintEvent(TQPaintEvent *)
// Draw curve.
double curvePrevVal = getCurveValue(0.0);
- p1.setPen(TQPen::TQPen(TQt::black, 1, TQt::SolidLine));
+ p1.setPen(TQPen(TQt::black, 1, TQt::SolidLine));
for (x = 0 ; x < wWidth ; x++)
{
double curveX;
@@ -184,13 +184,13 @@ void KCurve::paintEvent(TQPaintEvent *)
if(p == m_grab_point)
{
- p1.setPen(TQPen::TQPen(TQt::red, 3, TQt::SolidLine));
+ p1.setPen(TQPen(TQt::red, 3, TQt::SolidLine));
p1.drawEllipse( int(curveX * wWidth) - 2,
wHeight - 2 - int(curveY * wHeight), 4, 4 );
}
else
{
- p1.setPen(TQPen::TQPen(TQt::red, 1, TQt::SolidLine));
+ p1.setPen(TQPen(TQt::red, 1, TQt::SolidLine));
p1.drawEllipse( int(curveX * wWidth) - 3,
wHeight - 3 - int(curveY * wHeight), 6, 6 );