summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/ControlItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/ControlItem.cpp')
-rw-r--r--src/gui/rulers/ControlItem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/rulers/ControlItem.cpp b/src/gui/rulers/ControlItem.cpp
index 8eb17ed..332542e 100644
--- a/src/gui/rulers/ControlItem.cpp
+++ b/src/gui/rulers/ControlItem.cpp
@@ -44,8 +44,8 @@ ControlItem::ControlItem(ControlRuler* ruler, ElementAdapter* elementAdapter,
width = DefaultWidth/4; // avoid invisible zero-duration items
}
setWidth(width);
- setPen(TQPen(Qt::black, BorderThickness));
- setBrush(Qt::blue);
+ setPen(TQPen(TQt::black, BorderThickness));
+ setBrush(TQt::blue);
setX(xx);
setY(canvas()->height());
@@ -186,8 +186,8 @@ void ControlItem::setSelected(bool s)
{
TQCanvasItem::setSelected(s);
- if (s) setPen(TQPen(Qt::red, BorderThickness));
- else setPen(TQPen(Qt::black, BorderThickness));
+ if (s) setPen(TQPen(TQt::red, BorderThickness));
+ else setPen(TQPen(TQt::black, BorderThickness));
canvas()->update();
}