summaryrefslogtreecommitdiffstats
path: root/ksim/library/label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/library/label.cpp')
-rw-r--r--ksim/library/label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksim/library/label.cpp b/ksim/library/label.cpp
index 4aa12b0..91c23a6 100644
--- a/ksim/library/label.cpp
+++ b/ksim/library/label.cpp
@@ -232,7 +232,7 @@ void KSim::Label::drawText(TQPainter *painter, const TQRect &rect,
if (!pixmap().isNull())
location.setX(pixmap().width() + 5);
- tqstyle().drawItem(painter, location, AlignCenter, colorGroup(), true,
+ style().drawItem(painter, location, AlignCenter, colorGroup(), true,
0, text, -1, &color);
}
@@ -242,7 +242,7 @@ void KSim::Label::drawPixmap(TQPainter *painter, const TQRect &rect,
TQRect location(rect);
location.setWidth(pixmap.width());
- tqstyle().drawItem(painter, location, AlignCenter, colorGroup(), true,
+ style().drawItem(painter, location, AlignCenter, colorGroup(), true,
pixmap.isNull() ? 0 : &pixmap, TQString());
}