summaryrefslogtreecommitdiffstats
path: root/kaddressbook/thumbnailcreator
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/thumbnailcreator')
-rw-r--r--kaddressbook/thumbnailcreator/ldifvcardcreator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/thumbnailcreator/ldifvcardcreator.cpp b/kaddressbook/thumbnailcreator/ldifvcardcreator.cpp
index 6a8e495d5..eb6b76700 100644
--- a/kaddressbook/thumbnailcreator/ldifvcardcreator.cpp
+++ b/kaddressbook/thumbnailcreator/ldifvcardcreator.cpp
@@ -184,9 +184,9 @@ bool VCard_LDIFCreator::createImageSmall()
// render the information
TQRect rect;
int rest = mPixmap.width() - (numCharsPerLine * chSize.width());
- xborder = QMAX( xborder, rest / 2 ); // center horizontally
+ xborder = TQMAX( xborder, rest / 2 ); // center horizontally
rest = mPixmap.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
@@ -207,7 +207,7 @@ bool VCard_LDIFCreator::createImageSmall()
// after starting a new line, we also jump to the next
// physical newline in the file if we don't come from one
if ( !newLine ) {
- int pos = text.find( '\n', i );
+ int pos = text.tqfind( '\n', i );
if ( pos > (int) i )
i = pos +1;
}
@@ -228,7 +228,7 @@ bool VCard_LDIFCreator::createImageSmall()
rect = mSplitter->coordinates( ch );
if ( !rect.isEmpty() )
- bitBlt( &mPixmap, TQPoint(x,y), fontPixmap, rect, Qt::CopyROP );
+ bitBlt( &mPixmap, TQPoint(x,y), fontPixmap, rect, TQt::CopyROP );
x += xOffset; // next character
}