summaryrefslogtreecommitdiffstats
path: root/tdeprint/kprinter.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
commit72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch)
tree2d3beea645819ba70a32c19a092a874f4e89c399 /tdeprint/kprinter.cpp
parentb46a7c35c167304acc48675b979ca8b32bc3d293 (diff)
downloadtdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz
tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdeprint/kprinter.cpp')
-rw-r--r--tdeprint/kprinter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeprint/kprinter.cpp b/tdeprint/kprinter.cpp
index 4b9a1c98f..010297e5a 100644
--- a/tdeprint/kprinter.cpp
+++ b/tdeprint/kprinter.cpp
@@ -334,14 +334,14 @@ void KPrinter::translateQtOptions()
{
// Printers can often print very close to the edges (PPD files say ImageArea==PaperDimension).
// But that doesn't mean it looks good. Apps which use setFullPage(false) assume that
- // KPrinter will give them reasonable margins, so let's QMAX with defaults from Qt in that case.
+ // KPrinter will give them reasonable margins, so let's TQMAX with defaults from Qt in that case.
// Keep this in sync with KPMarginPage::initPageSize
unsigned int it, il, ib, ir;
d->m_wrapper->margins( &it, &il, &ib, &ir );
- top = QMAX( top, (int)it );
- left = QMAX( left, (int)il );
- bottom = QMAX( bottom, (int)ib );
- right = QMAX( right, (int)ir );
+ top = TQMAX( top, (int)it );
+ left = TQMAX( left, (int)il );
+ bottom = TQMAX( bottom, (int)ib );
+ right = TQMAX( right, (int)ir );
}
d->m_wrapper->setMargins( top, left, bottom, right );
}
@@ -502,8 +502,8 @@ TQValueList<int> KPrinter::pageList() const
if (ok && p1 <= p2)
{
// clip to min/max
- p1 = QMAX(mp,p1);
- p2 = QMIN(MP,p2);
+ p1 = TQMAX(mp,p1);
+ p2 = TQMIN(MP,p2);
for (int i=p1;i<=p2;i++)
list.append(i);
}