From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: TQt4 port kdemultimedia This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmix/viewsliders.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmix/viewsliders.cpp') diff --git a/kmix/viewsliders.cpp b/kmix/viewsliders.cpp index 80142f5c..1191f202 100644 --- a/kmix/viewsliders.cpp +++ b/kmix/viewsliders.cpp @@ -21,7 +21,7 @@ #include "viewsliders.h" -// Qt +// TQt #include #include @@ -37,8 +37,8 @@ * correctly because init() does not get called. * See ViewInput and ViewOutput for "real" implementations. */ -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) +ViewSliders::ViewSliders(TQWidget* tqparent, const char* name, const TQString & caption, Mixer* mixer, ViewBase::ViewFlags vflags) + : ViewBase(tqparent, name, caption, mixer, WStyle_Customize|WStyle_NoBorder, vflags) { if ( _vflags & ViewBase::Vertical ) { _layoutMDW = new TQVBoxLayout(this); @@ -93,8 +93,8 @@ TQWidget* ViewSliders::add(MixDevice *md) true, // Show Mute LED true, // Show Record LED false, // Small - orientation, // Orientation - this, // parent + orientation, // Qt::Orientation + this, // tqparent this, // View widget md->name().latin1() ); @@ -102,9 +102,9 @@ TQWidget* ViewSliders::add(MixDevice *md) return mdw; } -TQSize ViewSliders::sizeHint() const { - // kdDebug(67100) << "ViewSliders::sizeHint(): NewSize is " << _layoutMDW->sizeHint() << "\n"; - return( _layoutMDW->sizeHint() ); +TQSize ViewSliders::tqsizeHint() const { + // kdDebug(67100) << "ViewSliders::tqsizeHint(): NewSize is " << _layoutMDW->tqsizeHint() << "\n"; + return( _layoutMDW->tqsizeHint() ); } void ViewSliders::constructionFinished() { -- cgit v1.2.1