diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
commit | b1057f437bf65300831a0ccb45b920787c6b318d (patch) | |
tree | f8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /kmix/verticaltext.cpp | |
parent | 4ddfca384ced9ad654213aef9dc2c3973720b980 (diff) | |
download | tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip |
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
Diffstat (limited to 'kmix/verticaltext.cpp')
-rw-r--r-- | kmix/verticaltext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 <kdebug.h> -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 } |