diff options
Diffstat (limited to 'kmix/mixdevicewidget.cpp')
-rw-r--r-- | kmix/mixdevicewidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmix/mixdevicewidget.cpp b/kmix/mixdevicewidget.cpp index b5418303..b7e3b3ce 100644 --- a/kmix/mixdevicewidget.cpp +++ b/kmix/mixdevicewidget.cpp @@ -54,12 +54,12 @@ */ MixDeviceWidget::MixDeviceWidget(Mixer *mixer, MixDevice* md, bool small, Qt::Orientation orientation, - TQWidget* parent, ViewBase* mw, const char* name) : - TQWidget( parent, name ), m_mixer(mixer), m_mixdevice( md ), m_mixerwidget( mw ), + TQWidget* tqparent, ViewBase* mw, const char* name) : + TQWidget( tqparent, name ), m_mixer(mixer), m_mixdevice( md ), m_mixerwidget( mw ), m_disabled( false ), _orientation( orientation ), m_small( small ) { _mdwActions = new KActionCollection( this ); - m_keys = new KGlobalAccel( this, "Keys" ); + m_keys = new KGlobalAccel( TQT_TQOBJECT(this), "Keys" ); } MixDeviceWidget::~MixDeviceWidget() @@ -109,7 +109,7 @@ void MixDeviceWidget::setMutedColors( TQColor , TQColor , TQColor ) { /* is virt void MixDeviceWidget::mousePressEvent( TQMouseEvent *e ) { - if ( e->button()==RightButton ) + if ( e->button()==Qt::RightButton ) showContextMenu(); else { TQWidget::mousePressEvent(e); |