summaryrefslogtreecommitdiffstats
path: root/tdeioslave/thumbnail
diff options
context:
space:
mode:
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 );
}