summaryrefslogtreecommitdiffstats
path: root/kmix/viewgrid.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmix/viewgrid.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-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/viewgrid.cpp')
-rw-r--r--kmix/viewgrid.cpp16
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);