diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
commit | 83fbc82a101309e171089f0d5ed080f82a367345 (patch) | |
tree | c7b61083b6e2d4bfceaace9a7f018181ea36afec /kmix/mdwenum.cpp | |
parent | b248983f92b865ef74636ab5a673ae3a88f79c20 (diff) | |
download | tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmix/mdwenum.cpp')
-rw-r--r-- | kmix/mdwenum.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmix/mdwenum.cpp b/kmix/mdwenum.cpp index 90ac1350..3cf28ac4 100644 --- a/kmix/mdwenum.cpp +++ b/kmix/mdwenum.cpp @@ -21,7 +21,7 @@ #include <tqcursor.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqobject.h> #include <tqtooltip.h> @@ -75,21 +75,21 @@ void MDWEnum::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() ); //this->setStretchFactor( _layout, 0 ); //TQSizePolicy qsp( TQSizePolicy::Ignored, TQSizePolicy::Maximum); - //_layout->tqsetSizePolicy(qsp); + //_layout->setSizePolicy(qsp); //_layout->setSpacing(KDialog::spacingHint()); _label = new TQLabel( m_mixdevice->name(), this); _layout->addWidget(_label); - _label->setFixedHeight(_label->tqsizeHint().height()); + _label->setFixedHeight(_label->sizeHint().height()); _enumCombo = new KComboBox( FALSE, this, "mixerCombo" ); // ------------ fill ComboBox start ------------ int maxEnumId= m_mixdevice->enumValues().count(); @@ -98,7 +98,7 @@ void MDWEnum::createWidgets() } // ------------ fill ComboBox end -------------- _layout->addWidget(_enumCombo); - _enumCombo->setFixedHeight(_enumCombo->tqsizeHint().height()); + _enumCombo->setFixedHeight(_enumCombo->sizeHint().height()); connect( _enumCombo, TQT_SIGNAL( activated( int ) ), TQT_TQOBJECT(this), TQT_SLOT( setEnumId( int ) ) ); TQToolTip::add( _enumCombo, m_mixdevice->name() ); @@ -127,13 +127,13 @@ void MDWEnum::showContextMenu() menu->popup( pos ); } -TQSize MDWEnum::tqsizeHint() const { +TQSize MDWEnum::sizeHint() const { if ( _layout != 0 ) { - return _layout->tqsizeHint(); + return _layout->sizeHint(); } else { - // tqlayout not (yet) created - return TQWidget::tqsizeHint(); + // layout not (yet) created + return TQWidget::sizeHint(); } } |