diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmix/viewsliders.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-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/viewsliders.cpp')
-rw-r--r-- | kmix/viewsliders.cpp | 16 |
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 ) { |