summaryrefslogtreecommitdiffstats
path: root/kmix/viewgrid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/viewgrid.cpp')
-rw-r--r--kmix/viewgrid.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmix/viewgrid.cpp b/kmix/viewgrid.cpp
index 72bae125..1aba7fcf 100644
--- a/kmix/viewgrid.cpp
+++ b/kmix/viewgrid.cpp
@@ -126,23 +126,23 @@ TQWidget* ViewGrid::add(MixDevice *md)
return mdw;
}
-TQSize ViewGrid::sizeHint() const {
- // kdDebug(67100) << "ViewGrid::sizeHint(): NewSize is " << _layoutMDW->sizeHint() << "\n";
- return( m_sizeHint);
+TQSize ViewGrid::tqsizeHint() const {
+ // kdDebug(67100) << "ViewGrid::tqsizeHint(): NewSize is " << _layoutMDW->tqsizeHint() << "\n";
+ return( m_tqsizeHint);
}
void ViewGrid::constructionFinished() {
//_layoutMDW->activate();
- // do a manual layout
+ // do a manual tqlayout
configurationUpdate();
}
void ViewGrid::refreshVolumeLevels() {
// kdDebug(67100) << "ViewGrid::refreshVolumeLevels()\n";
- m_sizeHint.setWidth (0);
- m_sizeHint.setHeight(0);
+ m_tqsizeHint.setWidth (0);
+ m_tqsizeHint.setHeight(0);
m_testingX = 0;
m_testingY = 0;
@@ -178,12 +178,12 @@ void ViewGrid::refreshVolumeLevels() {
}
/**
- This implementation makes sure the Grid's geometry is updated
+ This implementation makes sure the Grid's tqgeometry is updated
after hiding/showing channels.
*/
void ViewGrid::configurationUpdate() {
- m_sizeHint.setWidth (0);
- m_sizeHint.setHeight(0);
+ m_tqsizeHint.setWidth (0);
+ m_tqsizeHint.setHeight(0);
m_testingX = 0;
m_testingY = 0;
@@ -195,9 +195,9 @@ void ViewGrid::configurationUpdate() {
int xPos = m_testingX * m_spacingHorizontal;
int yPos = m_testingY * m_spacingVertical ;
mdw->move( xPos, yPos );
- mdw->resize( mdw->sizeHint() );
- int xMax = xPos + mdw->width() ; if ( xMax > m_sizeHint.width() ) m_sizeHint.setWidth(xMax);
- int yMax = yPos + mdw->height(); if ( yMax > m_sizeHint.height() ) m_sizeHint.setHeight(yMax);
+ mdw->resize( mdw->tqsizeHint() );
+ int xMax = xPos + mdw->width() ; if ( xMax > m_tqsizeHint.width() ) m_tqsizeHint.setWidth(xMax);
+ int yMax = yPos + mdw->height(); if ( yMax > m_tqsizeHint.height() ) m_tqsizeHint.setHeight(yMax);
m_testingX += 5;
if ( m_testingX > 50 ) {