summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/tdmclock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/kfrontend/tdmclock.cpp')
-rw-r--r--tdm/kfrontend/tdmclock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdm/kfrontend/tdmclock.cpp b/tdm/kfrontend/tdmclock.cpp
index fa17456e2..f9a7122b8 100644
--- a/tdm/kfrontend/tdmclock.cpp
+++ b/tdm/kfrontend/tdmclock.cpp
@@ -115,7 +115,7 @@ void KdmClock::paintEvent( TQPaintEvent * )
time.second() );
else
buf.sprintf( "%02d:%02d", time.hour(), time.minute() );
- mFont.setPointSize( QMIN( (int)(width()/buf.length()*1.5),height() ) );
+ mFont.setPointSize( TQMIN( (int)(width()/buf.length()*1.5),height() ) );
paint.setFont( mFont );
paint.setPen( backgroundColor() );
paint.drawText( contentsRect(),AlignHCenter|AlignVCenter, buf,-1,0,0 );
@@ -123,7 +123,7 @@ void KdmClock::paintEvent( TQPaintEvent * )
*/
TQPointArray pts;
TQPoint cp = contentsRect().center() - TQPoint( 2,2 );
- int d = QMIN( contentsRect().width()-15,contentsRect().height()-15 );
+ int d = TQMIN( contentsRect().width()-15,contentsRect().height()-15 );
paint.setPen( foregroundColor() );
paint.setBrush( foregroundColor() );