From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmix/mixdevicewidget.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kmix/mixdevicewidget.cpp') diff --git a/kmix/mixdevicewidget.cpp b/kmix/mixdevicewidget.cpp index 7885cb92..b5418303 100644 --- a/kmix/mixdevicewidget.cpp +++ b/kmix/mixdevicewidget.cpp @@ -29,14 +29,14 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include #include "mixer.h" #include "mixdevicewidget.h" @@ -50,12 +50,12 @@ * Used in KMix main window and DockWidget and PanelApplet. * It can be configured to include or exclude the recordLED and the muteLED. * The direction (horizontal, vertical) can be configured and whether it should - * be "small" (uses KSmallSlider instead of QSlider then). + * be "small" (uses KSmallSlider instead of TQSlider then). */ MixDeviceWidget::MixDeviceWidget(Mixer *mixer, MixDevice* md, bool small, Qt::Orientation orientation, - QWidget* parent, ViewBase* mw, const char* name) : - QWidget( parent, name ), m_mixer(mixer), m_mixdevice( md ), m_mixerwidget( mw ), + TQWidget* parent, ViewBase* mw, const char* name) : + TQWidget( parent, name ), m_mixer(mixer), m_mixdevice( md ), m_mixerwidget( mw ), m_disabled( false ), _orientation( orientation ), m_small( small ) { _mdwActions = new KActionCollection( this ); @@ -99,20 +99,20 @@ void MixDeviceWidget::setVolume( int /*channel*/, int /*vol*/ ) { /* is virtual void MixDeviceWidget::setVolume( Volume /*vol*/ ) { /* is virtual */ } void MixDeviceWidget::update() { /* is virtual */ } void MixDeviceWidget::showContextMenu() { /* is virtual */ } -void MixDeviceWidget::setColors( QColor , QColor , QColor ) { /* is virtual */ } +void MixDeviceWidget::setColors( TQColor , TQColor , TQColor ) { /* is virtual */ } void MixDeviceWidget::setIcons( bool ) { /* is virtual */ } void MixDeviceWidget::setLabeled( bool ) { /* is virtual */ } -void MixDeviceWidget::setMutedColors( QColor , QColor , QColor ) { /* is virtual */ } +void MixDeviceWidget::setMutedColors( TQColor , TQColor , TQColor ) { /* is virtual */ } -void MixDeviceWidget::mousePressEvent( QMouseEvent *e ) +void MixDeviceWidget::mousePressEvent( TQMouseEvent *e ) { if ( e->button()==RightButton ) showContextMenu(); else { - QWidget::mousePressEvent(e); + TQWidget::mousePressEvent(e); } } -- cgit v1.2.3