summaryrefslogtreecommitdiffstats
path: root/tdeioslave/thumbnail
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
committerDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
commit90f1f50f00651f7bc9f8acf50556968b4288400d (patch)
tree8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /tdeioslave/thumbnail
parent1c37295608c6d783b2b710f423befbcfb0068bbd (diff)
downloadtdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz
tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdeioslave/thumbnail')
-rw-r--r--tdeioslave/thumbnail/textcreator.cpp4
-rw-r--r--tdeioslave/thumbnail/thumbnail.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/tdeioslave/thumbnail/textcreator.cpp b/tdeioslave/thumbnail/textcreator.cpp
index 322c944a2..13f3ba83f 100644
--- a/tdeioslave/thumbnail/textcreator.cpp
+++ b/tdeioslave/thumbnail/textcreator.cpp
@@ -122,9 +122,9 @@ bool TextCreator::create(const TQString &path, int width, int height, TQImage &i
TQRect rect;
int rest = m_pixmap.width() - (numCharsPerLine * chSize.width());
- xborder = QMAX( xborder, rest/2); // center horizontally
+ xborder = TQMAX( xborder, rest/2); // center horizontally
rest = m_pixmap.height() - (numLines * chSize.height());
- yborder = QMAX( yborder, rest/2); // center vertically
+ yborder = TQMAX( yborder, rest/2); // center vertically
// end centering
int x = xborder, y = yborder; // where to paint the characters
diff --git a/tdeioslave/thumbnail/thumbnail.cpp b/tdeioslave/thumbnail/thumbnail.cpp
index 0e6b24880..cc2eefbc3 100644
--- a/tdeioslave/thumbnail/thumbnail.cpp
+++ b/tdeioslave/thumbnail/thumbnail.cpp
@@ -348,9 +348,9 @@ void ThumbnailProtocol::get(const KURL &url)
TQImage icon = getIcon();
int x = img.width() - icon.width() - 4;
- x = QMAX( x, 0 );
+ x = TQMAX( x, 0 );
int y = img.height() - icon.height() - 6;
- y = QMAX( y, 0 );
+ y = TQMAX( y, 0 );
KImageEffect::blendOnLower( x, y, icon, img );
}