summaryrefslogtreecommitdiffstats
path: root/src/kernel/qfontdatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qfontdatabase.cpp')
-rw-r--r--src/kernel/qfontdatabase.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/qfontdatabase.cpp b/src/kernel/qfontdatabase.cpp
index e326657..8639190 100644
--- a/src/kernel/qfontdatabase.cpp
+++ b/src/kernel/qfontdatabase.cpp
@@ -57,16 +57,16 @@
//#define QFONTDATABASE_DEBUG
#ifdef QFONTDATABASE_DEBUG
-# define FD_DEBUG qDebug
+# define FD_DEBUG tqDebug
#else
-# define FD_DEBUG if (FALSE) qDebug
+# define FD_DEBUG if (FALSE) tqDebug
#endif
//#define FONT_MATCH_DEBUG
#ifdef FONT_MATCH_DEBUG
-# define FM_DEBUG qDebug
+# define FM_DEBUG tqDebug
#else
-# define FM_DEBUG if (FALSE) qDebug
+# define FM_DEBUG if (FALSE) tqDebug
#endif
#if defined(Q_CC_MSVC) && !defined(Q_CC_MSVC_NET)
@@ -307,7 +307,7 @@ QtFontStyle *QtFontFoundry::style( const QtFontStyle::Key &key, bool create )
if ( !create )
return 0;
-// qDebug("adding key (weight=%d, italic=%d, oblique=%d stretch=%d) at %d", key.weight, key.italic, key.oblique, key.stretch, pos );
+// tqDebug("adding key (weight=%d, italic=%d, oblique=%d stretch=%d) at %d", key.weight, key.italic, key.oblique, key.stretch, pos );
if ( !(count % 8) )
styles = (QtFontStyle **)
realloc( styles, (((count+8) >> 3 ) << 3) * sizeof( QtFontStyle * ) );
@@ -439,7 +439,7 @@ QtFontFamily *QFontDatabasePrivate::family( const QString &f, bool create )
if ( res < 0 )
pos++;
- // qDebug("adding family %s at %d total=%d", f.latin1(), pos, count);
+ // tqDebug("adding family %s at %d total=%d", f.latin1(), pos, count);
if ( !(count % 8) )
families = (QtFontFamily **)
realloc( families,
@@ -1343,7 +1343,7 @@ int main( int argc, char **argv )
QStringList families = fdb.families();
for ( QStringList::Iterator f = families.begin(); f != families.end(); ++f ) {
QString family = *f;
- qDebug( family );
+ tqDebug( family );
QStringList styles = fdb.styles( family );
for ( QStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) {
QString style = *s;
@@ -1354,7 +1354,7 @@ int main( int argc, char **argv )
dstyle += QString::number( *points ) + " ";
}
dstyle = dstyle.left( dstyle.length() - 1 ) + ")";
- qDebug( dstyle );
+ tqDebug( dstyle );
}
}
return 0;