From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- src/kernel/qfontdatabase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/qfontdatabase.cpp') diff --git a/src/kernel/qfontdatabase.cpp b/src/kernel/qfontdatabase.cpp index 96cc1118b..1138dfefe 100644 --- a/src/kernel/qfontdatabase.cpp +++ b/src/kernel/qfontdatabase.cpp @@ -1238,7 +1238,7 @@ TQFontDatabase::findFont( TQFont::Script script, const TQFontPrivate *fp, if ( fp ) { #if defined(Q_WS_X11) fe->fontDef.pointSize = - qRound(10. * qt_pointSize(fe->fontDef.pixelSize, fp->paintdevice, fp->screen)); + tqRound(10. * qt_pointSize(fe->fontDef.pixelSize, fp->paintdevice, fp->screen)); #elif defined(Q_WS_WIN) fe->fontDef.pointSize = int( double( fe->fontDef.pixelSize ) * 720.0 / GetDeviceCaps(shared_dc,LOGPIXELSY) ); @@ -1726,7 +1726,7 @@ TQValueList TQFontDatabase::pointSizes( const TQString &family, if (size->pixelSize != 0 && size->pixelSize != USHRT_MAX) { #ifdef Q_WS_X11 - const uint pointSize = qRound(qt_pointSize(size->pixelSize, 0, -1)); + const uint pointSize = tqRound(qt_pointSize(size->pixelSize, 0, -1)); #else const uint pointSize = size->pixelSize; // embedded uses 72dpi #endif @@ -1827,7 +1827,7 @@ TQValueList TQFontDatabase::smoothSizes( const TQString &family, if ( size->pixelSize != 0 && size->pixelSize != USHRT_MAX ) { #ifdef Q_WS_X11 - const uint pointSize = qRound(qt_pointSize(size->pixelSize, 0, -1)); + const uint pointSize = tqRound(qt_pointSize(size->pixelSize, 0, -1)); #else const uint pointSize = size->pixelSize; // embedded uses 72dpi #endif -- cgit v1.2.1