diff options
Diffstat (limited to 'kmix/viewgrid.cpp')
-rw-r--r-- | kmix/viewgrid.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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 <qwidget.h> +#include <tqwidget.h> // KDE #include <kdebug.h> @@ -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<MixDeviceWidget*>(qw); |