diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /src/kernel/qfont.cpp | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'src/kernel/qfont.cpp')
-rw-r--r-- | src/kernel/qfont.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/qfont.cpp b/src/kernel/qfont.cpp index ed2555228..be0275151 100644 --- a/src/kernel/qfont.cpp +++ b/src/kernel/qfont.cpp @@ -63,9 +63,9 @@ // #define TQFONTCACHE_DEBUG #ifdef TQFONTCACHE_DEBUG -# define FC_DEBUG qDebug +# define FC_DEBUG tqDebug #else -# define FC_DEBUG if (FALSE) qDebug +# define FC_DEBUG if (FALSE) tqDebug #endif @@ -733,7 +733,7 @@ void TQFont::setPointSize( int pointSize ) if ( pointSize <= 0 ) { #if defined(QT_CHECK_RANGE) - qWarning( "TQFont::setPointSize: Point size <= 0 (%d)", pointSize ); + tqWarning( "TQFont::setPointSize: Point size <= 0 (%d)", pointSize ); #endif return; @@ -758,7 +758,7 @@ void TQFont::setPointSizeFloat( float pointSize ) { if ( pointSize <= 0.0 ) { #if defined(QT_CHECK_RANGE) - qWarning( "TQFont::setPointSize: Point size <= 0 (%f)", pointSize ); + tqWarning( "TQFont::setPointSize: Point size <= 0 (%f)", pointSize ); #endif return; } @@ -795,7 +795,7 @@ void TQFont::setPixelSize( int pixelSize ) { if ( pixelSize <= 0 ) { #if defined(QT_CHECK_RANGE) - qWarning( "TQFont::setPixelSize: Pixel size <= 0 (%d)", pixelSize ); + tqWarning( "TQFont::setPixelSize: Pixel size <= 0 (%d)", pixelSize ); #endif return; } @@ -892,7 +892,7 @@ void TQFont::setWeight( int weight ) if ( weight < 0 || weight > 99 ) { #if defined(QT_CHECK_RANGE) - qWarning( "TQFont::setWeight: Value out of range (%d)", weight ); + tqWarning( "TQFont::setWeight: Value out of range (%d)", weight ); #endif return; @@ -1203,7 +1203,7 @@ void TQFont::setStretch( int factor ) { if ( factor < 1 || factor > 4000 ) { #ifdef QT_CHECK_RANGE - qWarning( "TQFont::setStretch(): parameter '%d' out of range", factor ); + tqWarning( "TQFont::setStretch(): parameter '%d' out of range", factor ); #endif // QT_CHECK_RANGE return; @@ -1658,7 +1658,7 @@ bool TQFont::fromString(const TQString &descrip) if ( !count || ( count > 2 && count < 9 ) || count > 11 ) { #ifdef QT_CHECK_STATE - qWarning("TQFont::fromString: invalid description '%s'", + tqWarning("TQFont::fromString: invalid description '%s'", descrip.isEmpty() ? "(empty)" : descrip.latin1()); #endif @@ -1917,7 +1917,7 @@ TQFontMetrics::TQFontMetrics( const TQPainter *p ) { #if defined(CHECK_STATE) if ( !painter->isActive() ) - qWarning( "TQFontMetrics: Get font metrics between TQPainter::begin() " + tqWarning( "TQFontMetrics: Get font metrics between TQPainter::begin() " "and TQPainter::end()" ); #endif @@ -2676,7 +2676,7 @@ TQFontInfo::TQFontInfo( const TQPainter *p ) #if defined(CHECK_STATE) if ( !painter->isActive() ) - qWarning( "TQFontInfo: Get font info between TQPainter::begin() " + tqWarning( "TQFontInfo: Get font info between TQPainter::begin() " "and TQPainter::end()" ); #endif |