diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:25 -0600 |
commit | f59dfa08651a47f21d004e8e4cb5020b8035287e (patch) | |
tree | 0582273566661474af14fe8f1737cfe1e6527d46 /kmix/kmixerwidget.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/kmixerwidget.cpp')
-rw-r--r-- | kmix/kmixerwidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmix/kmixerwidget.cpp b/kmix/kmixerwidget.cpp index 3251db09..56c90d03 100644 --- a/kmix/kmixerwidget.cpp +++ b/kmix/kmixerwidget.cpp @@ -21,7 +21,7 @@ // TQt #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqslider.h> #include <tqstring.h> #include <tqtooltip.h> @@ -76,13 +76,13 @@ KMixerWidget::KMixerWidget( int _id, Mixer *mixer, const TQString &mixerName, { // No mixer found // !! Fix this: This is actually never shown! - TQBoxLayout *layout = new TQHBoxLayout( this ); + TQBoxLayout *tqlayout = new TQHBoxLayout( this ); TQString s = i18n("Invalid mixer"); if ( !mixerName.isEmpty() ) s.append(" \"").append(mixerName).append("\""); TQLabel *errorLabel = new TQLabel( s, this ); - errorLabel->setAlignment( TQLabel::AlignCenter | TQLabel::WordBreak ); - layout->addWidget( errorLabel ); + errorLabel->tqsetAlignment( TQLabel::AlignCenter | TQLabel::WordBreak ); + tqlayout->addWidget( errorLabel ); } } @@ -103,7 +103,7 @@ void KMixerWidget::createLayout(ViewBase::ViewFlags vflags) delete m_topLayout; } - // create main layout + // create main tqlayout m_topLayout = new TQVBoxLayout( this, 0, 3, "m_topLayout" ); // Create tabs of input + output + [...] @@ -136,8 +136,8 @@ void KMixerWidget::createLayout(ViewBase::ViewFlags vflags) m_balanceSlider = new TQSlider( -100, 100, 25, 0, Qt::Horizontal, this, "RightLeft" ); m_balanceSlider->setTickmarks( TQSlider::Below ); m_balanceSlider->setTickInterval( 25 ); - m_balanceSlider->setMinimumSize( m_balanceSlider->sizeHint() ); - m_balanceSlider->setFixedHeight( m_balanceSlider->sizeHint().height() ); + m_balanceSlider->setMinimumSize( m_balanceSlider->tqsizeHint() ); + m_balanceSlider->setFixedHeight( m_balanceSlider->tqsizeHint().height() ); TQLabel *mixerName = new TQLabel(this, "mixerName"); mixerName->setText( _mixer->mixerName() ); |