summaryrefslogtreecommitdiffstats
path: root/kmix/viewsliders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/viewsliders.cpp')
-rw-r--r--kmix/viewsliders.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmix/viewsliders.cpp b/kmix/viewsliders.cpp
index 87d1eb4f..80142f5c 100644
--- a/kmix/viewsliders.cpp
+++ b/kmix/viewsliders.cpp
@@ -22,8 +22,8 @@
#include "viewsliders.h"
// Qt
-#include <qlayout.h>
-#include <qwidget.h>
+#include <tqlayout.h>
+#include <tqwidget.h>
// KDE
#include <kdebug.h>
@@ -37,14 +37,14 @@
* correctly because init() does not get called.
* See ViewInput and ViewOutput for "real" implementations.
*/
-ViewSliders::ViewSliders(QWidget* parent, const char* name, const QString & caption, Mixer* mixer, ViewBase::ViewFlags vflags)
+ViewSliders::ViewSliders(TQWidget* parent, const char* name, const TQString & caption, Mixer* mixer, ViewBase::ViewFlags vflags)
: ViewBase(parent, name, caption, mixer, WStyle_Customize|WStyle_NoBorder, vflags)
{
if ( _vflags & ViewBase::Vertical ) {
- _layoutMDW = new QVBoxLayout(this);
+ _layoutMDW = new TQVBoxLayout(this);
}
else {
- _layoutMDW = new QHBoxLayout(this);
+ _layoutMDW = new TQHBoxLayout(this);
}
/*
* Do not call init(). Call init() only for "end usage" classes.
@@ -83,7 +83,7 @@ int ViewSliders::advice() {
}
}
-QWidget* ViewSliders::add(MixDevice *md)
+TQWidget* ViewSliders::add(MixDevice *md)
{
Qt::Orientation orientation = (_vflags & ViewBase::Vertical) ? Qt::Horizontal : Qt::Vertical;
MixDeviceWidget *mdw =
@@ -102,7 +102,7 @@ QWidget* ViewSliders::add(MixDevice *md)
return mdw;
}
-QSize ViewSliders::sizeHint() const {
+TQSize ViewSliders::sizeHint() const {
// kdDebug(67100) << "ViewSliders::sizeHint(): NewSize is " << _layoutMDW->sizeHint() << "\n";
return( _layoutMDW->sizeHint() );
}
@@ -114,7 +114,7 @@ void ViewSliders::constructionFinished() {
void ViewSliders::refreshVolumeLevels() {
// kdDebug(67100) << "ViewSliders::refreshVolumeLevels()\n";
- QWidget *mdw = _mdws.first();
+ TQWidget *mdw = _mdws.first();
MixDevice* md;
for ( md = _mixSet->first(); md != 0; md = _mixSet->next() ) {
if ( mdw == 0 ) {