diff options
Diffstat (limited to 'src/kernel/qfontdatabase.cpp')
-rw-r--r-- | src/kernel/qfontdatabase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<int> 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<int> 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 |