diff options
Diffstat (limited to 'ksplashml/themeengine/standard')
-rw-r--r-- | ksplashml/themeengine/standard/wndicon.cpp | 16 | ||||
-rw-r--r-- | ksplashml/themeengine/standard/wndstatus.cpp | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/ksplashml/themeengine/standard/wndicon.cpp b/ksplashml/themeengine/standard/wndicon.cpp index 030456f4e..856547895 100644 --- a/ksplashml/themeengine/standard/wndicon.cpp +++ b/ksplashml/themeengine/standard/wndicon.cpp @@ -122,7 +122,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DW / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (3) + ((x - 1) * wid); @@ -134,7 +134,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DW / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (3) + ((x - 1) * wid); @@ -146,7 +146,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DW / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (DW - 3) - (( x ) * wid ); @@ -158,7 +158,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DW / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (DW - 3) - (( x ) * wid ); @@ -170,7 +170,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DH / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (3) + (( y - 1 ) * wid ); @@ -182,7 +182,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DH / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (DW - 3) - (( y ) * wid ); @@ -194,7 +194,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DH / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (3) + (( y - 1 ) * wid ); @@ -206,7 +206,7 @@ TQPoint WndIcon::determinePosition() nSlot = ( DH / wid ); while( x > nSlot ) { - x = QMAX(0,x-nSlot); + x = TQMAX(0,x-nSlot); y++; } X = (DW - 3) - (( y ) * wid ); diff --git a/ksplashml/themeengine/standard/wndstatus.cpp b/ksplashml/themeengine/standard/wndstatus.cpp index b3a2e69f9..9eb8be9a0 100644 --- a/ksplashml/themeengine/standard/wndstatus.cpp +++ b/ksplashml/themeengine/standard/wndstatus.cpp @@ -72,7 +72,7 @@ WndStatus::WndStatus( TQPalette /*pal*/, TQWidget *widg = new TQWidget( this ); setStretchFactor(widg,50); - setFixedSize( rect.width(), QMAX(m_progress->height(),m_label->height()) ); + setFixedSize( rect.width(), TQMAX(m_progress->height(),m_label->height()) ); if ( atTop ) move( rect.topLeft() ); |