diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:30:19 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:30:19 -0600 |
commit | 90f1f50f00651f7bc9f8acf50556968b4288400d (patch) | |
tree | 8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /tdm | |
parent | 1c37295608c6d783b2b710f423befbcfb0068bbd (diff) | |
download | tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdm')
-rw-r--r-- | tdm/kfrontend/kgverify.cpp | 2 | ||||
-rw-r--r-- | tdm/kfrontend/tdmclock.cpp | 4 | ||||
-rw-r--r-- | tdm/kfrontend/themer/tdmitem.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tdm/kfrontend/kgverify.cpp b/tdm/kfrontend/kgverify.cpp index c78d20b9e..46b89e9c5 100644 --- a/tdm/kfrontend/kgverify.cpp +++ b/tdm/kfrontend/kgverify.cpp @@ -230,7 +230,7 @@ KGVerify::scheduleAutoLogin( bool initial ) timedLeft = _autoLoginDelay; deadTicks = 0; } else { - timedLeft = QMAX( _autoLoginDelay - TIMED_GREET_TO, MIN_TIMED_TO ); + timedLeft = TQMAX( _autoLoginDelay - TIMED_GREET_TO, MIN_TIMED_TO ); deadTicks = DEAD_TIMED_TO; } updateStatus(); 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() ); diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp index 006a77d49..f5eabdb56 100644 --- a/tdm/kfrontend/themer/tdmitem.cpp +++ b/tdm/kfrontend/themer/tdmitem.cpp @@ -362,7 +362,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) if (area.intersects( rect )) { TQRect contentsRect = area.intersect( rect ); - contentsRect.moveBy( QMIN( 0, -area.x() ), QMIN( 0, -area.y() ) ); + contentsRect.moveBy( TQMIN( 0, -area.x() ), TQMIN( 0, -area.y() ) ); drawContents( p, contentsRect ); } |