summaryrefslogtreecommitdiffstats
path: root/kmix/kmixerwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/kmixerwidget.cpp')
-rw-r--r--kmix/kmixerwidget.cpp14
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() );