diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:25 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:25 -0600 |
commit | f59dfa08651a47f21d004e8e4cb5020b8035287e (patch) | |
tree | 0582273566661474af14fe8f1737cfe1e6527d46 /kmix/mdwswitch.cpp | |
parent | 83fbc82a101309e171089f0d5ed080f82a367345 (diff) | |
download | tdemultimedia-f59dfa08651a47f21d004e8e4cb5020b8035287e.tar.gz tdemultimedia-f59dfa08651a47f21d004e8e4cb5020b8035287e.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 83fbc82a101309e171089f0d5ed080f82a367345.
Diffstat (limited to 'kmix/mdwswitch.cpp')
-rw-r--r-- | kmix/mdwswitch.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmix/mdwswitch.cpp b/kmix/mdwswitch.cpp index fc2149f2..056bca57 100644 --- a/kmix/mdwswitch.cpp +++ b/kmix/mdwswitch.cpp @@ -21,7 +21,7 @@ #include <tqcursor.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqobject.h> #include <tqslider.h> #include <tqtooltip.h> @@ -79,11 +79,11 @@ void MDWSwitch::createWidgets() { if ( _orientation == Qt::Vertical ) { _layout = new TQVBoxLayout( this ); - _layout->setAlignment(TQt::AlignHCenter); + _layout->tqsetAlignment(TQt::AlignHCenter); } else { _layout = new TQHBoxLayout( this ); - _layout->setAlignment(TQt::AlignVCenter); + _layout->tqsetAlignment(TQt::AlignVCenter); } TQToolTip::add( this, m_mixdevice->name() ); @@ -164,13 +164,13 @@ void MDWSwitch::showContextMenu() menu->popup( pos ); } -TQSize MDWSwitch::sizeHint() const { +TQSize MDWSwitch::tqsizeHint() const { if ( _layout != 0 ) { - return _layout->sizeHint(); + return _layout->tqsizeHint(); } else { - // layout not (yet) created - return TQWidget::sizeHint(); + // tqlayout not (yet) created + return TQWidget::tqsizeHint(); } } |