diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
commit | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (patch) | |
tree | f248b71f55539d6689a4cbe086d5d8cc146c8998 /kmix/mdwenum.cpp | |
parent | f59dfa08651a47f21d004e8e4cb5020b8035287e (diff) | |
download | tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.tar.gz tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kmix/mdwenum.cpp')
-rw-r--r-- | kmix/mdwenum.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmix/mdwenum.cpp b/kmix/mdwenum.cpp index 90ac1350..8ec363ba 100644 --- a/kmix/mdwenum.cpp +++ b/kmix/mdwenum.cpp @@ -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(); + return TQWidget::sizeHint(); } } |