summaryrefslogtreecommitdiffstats
path: root/src/kernel/qfont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qfont.cpp')
-rw-r--r--src/kernel/qfont.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/qfont.cpp b/src/kernel/qfont.cpp
index 66ba453..a4a998b 100644
--- a/src/kernel/qfont.cpp
+++ b/src/kernel/qfont.cpp
@@ -63,9 +63,9 @@
// #define QFONTCACHE_DEBUG
#ifdef QFONTCACHE_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 QFont::setPointSize( int pointSize )
if ( pointSize <= 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QFont::setPointSize: Point size <= 0 (%d)", pointSize );
+ tqWarning( "QFont::setPointSize: Point size <= 0 (%d)", pointSize );
#endif
return;
@@ -758,7 +758,7 @@ void QFont::setPointSizeFloat( float pointSize )
{
if ( pointSize <= 0.0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QFont::setPointSize: Point size <= 0 (%f)", pointSize );
+ tqWarning( "QFont::setPointSize: Point size <= 0 (%f)", pointSize );
#endif
return;
}
@@ -795,7 +795,7 @@ void QFont::setPixelSize( int pixelSize )
{
if ( pixelSize <= 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QFont::setPixelSize: Pixel size <= 0 (%d)", pixelSize );
+ tqWarning( "QFont::setPixelSize: Pixel size <= 0 (%d)", pixelSize );
#endif
return;
}
@@ -892,7 +892,7 @@ void QFont::setWeight( int weight )
if ( weight < 0 || weight > 99 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QFont::setWeight: Value out of range (%d)", weight );
+ tqWarning( "QFont::setWeight: Value out of range (%d)", weight );
#endif
return;
@@ -1203,7 +1203,7 @@ void QFont::setStretch( int factor )
{
if ( factor < 1 || factor > 4000 ) {
#ifdef QT_CHECK_RANGE
- qWarning( "QFont::setStretch(): parameter '%d' out of range", factor );
+ tqWarning( "QFont::setStretch(): parameter '%d' out of range", factor );
#endif // QT_CHECK_RANGE
return;
@@ -1658,7 +1658,7 @@ bool QFont::fromString(const QString &descrip)
if ( !count || ( count > 2 && count < 9 ) || count > 11 ) {
#ifdef QT_CHECK_STATE
- qWarning("QFont::fromString: invalid description '%s'",
+ tqWarning("QFont::fromString: invalid description '%s'",
descrip.isEmpty() ? "(empty)" : descrip.latin1());
#endif
@@ -1917,7 +1917,7 @@ QFontMetrics::QFontMetrics( const QPainter *p )
{
#if defined(CHECK_STATE)
if ( !painter->isActive() )
- qWarning( "QFontMetrics: Get font metrics between QPainter::begin() "
+ tqWarning( "QFontMetrics: Get font metrics between QPainter::begin() "
"and QPainter::end()" );
#endif
@@ -2676,7 +2676,7 @@ QFontInfo::QFontInfo( const QPainter *p )
#if defined(CHECK_STATE)
if ( !painter->isActive() )
- qWarning( "QFontInfo: Get font info between QPainter::begin() "
+ tqWarning( "QFontInfo: Get font info between QPainter::begin() "
"and QPainter::end()" );
#endif