From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmix/viewgrid.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmix/viewgrid.cpp') diff --git a/kmix/viewgrid.cpp b/kmix/viewgrid.cpp index dd4ede97..59f03906 100644 --- a/kmix/viewgrid.cpp +++ b/kmix/viewgrid.cpp @@ -22,7 +22,7 @@ #include "viewgrid.h" // Qt -#include +#include // KDE #include @@ -35,17 +35,17 @@ /** */ -ViewGrid::ViewGrid(QWidget* parent, const char* name, const QString & caption, Mixer* mixer, ViewBase::ViewFlags vflags) +ViewGrid::ViewGrid(TQWidget* parent, const char* name, const TQString & caption, Mixer* mixer, ViewBase::ViewFlags vflags) : ViewBase(parent, name, caption, mixer, WStyle_Customize|WStyle_NoBorder, vflags) { m_spacingHorizontal = 5; m_spacingVertical = 5; if ( _vflags & ViewBase::Vertical ) { - //_layoutMDW = new QVBoxLayout(this); + //_layoutMDW = new TQVBoxLayout(this); } else { - //_layoutMDW = new QHBoxLayout(this); + //_layoutMDW = new TQHBoxLayout(this); } init(); } @@ -80,7 +80,7 @@ int ViewGrid::advice() { } } -QWidget* ViewGrid::add(MixDevice *md) +TQWidget* ViewGrid::add(MixDevice *md) { MixDeviceWidget *mdw = 0; if ( md->isEnum() ) { @@ -126,7 +126,7 @@ QWidget* ViewGrid::add(MixDevice *md) return mdw; } -QSize ViewGrid::sizeHint() const { +TQSize ViewGrid::sizeHint() const { // kdDebug(67100) << "ViewGrid::sizeHint(): NewSize is " << _layoutMDW->sizeHint() << "\n"; return( m_sizeHint); } @@ -147,7 +147,7 @@ void ViewGrid::refreshVolumeLevels() { m_testingX = 0; m_testingY = 0; - QWidget *mdw = _mdws.first(); + TQWidget *mdw = _mdws.first(); MixDevice* md; for ( md = _mixSet->first(); md != 0; md = _mixSet->next() ) { if ( mdw == 0 ) { @@ -188,7 +188,7 @@ void ViewGrid::configurationUpdate() { m_testingX = 0; m_testingY = 0; - for (QWidget *qw = _mdws.first(); qw !=0; qw = _mdws.next() ) { + for (TQWidget *qw = _mdws.first(); qw !=0; qw = _mdws.next() ) { if ( qw->inherits("MixDeviceWidget")) { MixDeviceWidget* mdw = static_cast(qw); -- cgit v1.2.1