From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: TQt4 port kdemultimedia This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmix/verticaltext.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmix/verticaltext.cpp') diff --git a/kmix/verticaltext.cpp b/kmix/verticaltext.cpp index 77bda1af..723cb75b 100644 --- a/kmix/verticaltext.cpp +++ b/kmix/verticaltext.cpp @@ -24,10 +24,10 @@ #include -VerticalText::VerticalText(TQWidget * parent, const char * name, WFlags f) : TQWidget(parent,name,f) +VerticalText::VerticalText(TQWidget * tqparent, const char * name, WFlags f) : TQWidget(tqparent,name,f) { - resize(20,100 /*parent->height() */ ); - setMinimumSize(20,10); // neccesary for smooth integration into layouts (we only care for the widths). + resize(20,100 /*tqparent->height() */ ); + setMinimumSize(20,10); // neccesary for smooth integration into tqlayouts (we only care for the widths). } VerticalText::~VerticalText() { @@ -46,7 +46,7 @@ void VerticalText::paintEvent ( TQPaintEvent * /*event*/ ) { paint.drawText( -height()+2, width(), TQString::fromUtf8(name()) ); } -TQSize VerticalText::sizeHint() const { +TQSize VerticalText::tqsizeHint() const { return TQSize(20,100); // !! UGLY. Should be reworked } -- cgit v1.2.1