summaryrefslogtreecommitdiffstats
path: root/kmix/mdwswitch.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:07 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 18:07:29 +0200
commitcc17a105bc9cf5683ff3f208214068c571fcde59 (patch)
treeb96dcddb68759dec0d35273e6b79f0c7520be820 /kmix/mdwswitch.cpp
parent558317e518c5c27b0788242b8b9e828fbabb5b89 (diff)
downloadtdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.tar.gz
tdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3c299dfe48c0060272c2966fff599b3b417e2ee4)
Diffstat (limited to 'kmix/mdwswitch.cpp')
-rw-r--r--kmix/mdwswitch.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmix/mdwswitch.cpp b/kmix/mdwswitch.cpp
index 056bca57..d16be452 100644
--- a/kmix/mdwswitch.cpp
+++ b/kmix/mdwswitch.cpp
@@ -79,11 +79,11 @@ void MDWSwitch::createWidgets()
{
if ( _orientation == Qt::Vertical ) {
_layout = new TQVBoxLayout( this );
- _layout->tqsetAlignment(TQt::AlignHCenter);
+ _layout->setAlignment(TQt::AlignHCenter);
}
else {
_layout = new TQHBoxLayout( this );
- _layout->tqsetAlignment(TQt::AlignVCenter);
+ _layout->setAlignment(TQt::AlignVCenter);
}
TQToolTip::add( this, m_mixdevice->name() );
@@ -164,13 +164,13 @@ void MDWSwitch::showContextMenu()
menu->popup( pos );
}
-TQSize MDWSwitch::tqsizeHint() const {
+TQSize MDWSwitch::sizeHint() const {
if ( _layout != 0 ) {
- return _layout->tqsizeHint();
+ return _layout->sizeHint();
}
else {
// tqlayout not (yet) created
- return TQWidget::tqsizeHint();
+ return TQWidget::sizeHint();
}
}