summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/actorwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /umbrello/umbrello/actorwidget.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/actorwidget.cpp')
-rw-r--r--umbrello/umbrello/actorwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/actorwidget.cpp b/umbrello/umbrello/actorwidget.cpp
index 38ddb4f5..ec997b4d 100644
--- a/umbrello/umbrello/actorwidget.cpp
+++ b/umbrello/umbrello/actorwidget.cpp
@@ -54,9 +54,9 @@ void ActorWidget::draw(TQPainter & p, int offsetX, int offsetY) {
p.drawLine(offsetX + middleX - a_width / 2, offsetY + thirdY + thirdY / 2,
offsetX + middleX + a_width / 2, offsetY + thirdY + thirdY / 2); //arms
//draw text
- p.setPen(TQPen(Qt::black));
+ p.setPen(TQPen(TQt::black));
p.drawText(offsetX + A_MARGIN, offsetY + h - fontHeight,
- w - A_MARGIN * 2, fontHeight, Qt::AlignCenter, getName());
+ w - A_MARGIN * 2, fontHeight, TQt::AlignCenter, getName());
if(m_bSelected)
drawSelected(&p, offsetX, offsetY);
}