summaryrefslogtreecommitdiffstats
path: root/tdeui/kurllabel.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-28 13:28:01 -0600
committerDarrell Anderson <[email protected]>2013-11-28 13:28:01 -0600
commit72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch)
tree2d3beea645819ba70a32c19a092a874f4e89c399 /tdeui/kurllabel.cpp
parentb46a7c35c167304acc48675b979ca8b32bc3d293 (diff)
downloadtdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz
tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdeui/kurllabel.cpp')
-rw-r--r--tdeui/kurllabel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/kurllabel.cpp b/tdeui/kurllabel.cpp
index 749b4f5b5..539984466 100644
--- a/tdeui/kurllabel.cpp
+++ b/tdeui/kurllabel.cpp
@@ -410,14 +410,14 @@ TQRect KURLLabel::activeRect() const
int hAlign = TQApplication::horizontalAlignment( alignment() );
int indentX = (hAlign && indent()>0) ? indent() : 0;
TQFontMetrics fm(font());
- r.setWidth( QMIN(fm.width(text()), r.width()));
+ r.setWidth( TQMIN(fm.width(text()), r.width()));
if ( hAlign & AlignLeft )
r.moveLeft(r.left() + indentX);
if ( hAlign & AlignCenter )
r.moveLeft((contentsRect().width()-r.width())/2+margin());
if ( hAlign & AlignRight )
r.moveLeft(contentsRect().width()-r.width()-indentX+margin());
- int add = QMIN(3, margin());
+ int add = TQMIN(3, margin());
r = TQRect(r.left()-add, r.top()-add, r.width()+2*add, r.height()+2*add);
return r;
}