summaryrefslogtreecommitdiffstats
path: root/kmix/mixdevicewidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmix/mixdevicewidget.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmix/mixdevicewidget.cpp')
-rw-r--r--kmix/mixdevicewidget.cpp30
1 files changed, 15 insertions, 15 deletions
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 <kkeydialog.h>
#include <kdebug.h>
-#include <qobject.h>
-#include <qcursor.h>
-#include <qslider.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpixmap.h>
-#include <qtooltip.h>
-#include <qwmatrix.h>
+#include <tqobject.h>
+#include <tqcursor.h>
+#include <tqslider.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqpixmap.h>
+#include <tqtooltip.h>
+#include <tqwmatrix.h>
#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);
}
}