summaryrefslogtreecommitdiffstats
path: root/src/kernel/qfontdatabase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/kernel/qfontdatabase.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
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 09846b029..af4cf5993 100644
--- a/src/kernel/qfontdatabase.cpp
+++ b/src/kernel/qfontdatabase.cpp
@@ -57,16 +57,16 @@
//#define TQFONTDATABASE_DEBUG
#ifdef TQFONTDATABASE_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 @@ TQtFontStyle *TQtFontFoundry::style( const TQtFontStyle::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 = (TQtFontStyle **)
realloc( styles, (((count+8) >> 3 ) << 3) * sizeof( TQtFontStyle * ) );
@@ -439,7 +439,7 @@ TQtFontFamily *TQFontDatabasePrivate::family( const TQString &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 = (TQtFontFamily **)
realloc( families,
@@ -1343,7 +1343,7 @@ int main( int argc, char **argv )
TQStringList families = fdb.families();
for ( TQStringList::Iterator f = families.begin(); f != families.end(); ++f ) {
TQString family = *f;
- qDebug( family );
+ tqDebug( family );
TQStringList styles = fdb.styles( family );
for ( TQStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) {
TQString style = *s;
@@ -1354,7 +1354,7 @@ int main( int argc, char **argv )
dstyle += TQString::number( *points ) + " ";
}
dstyle = dstyle.left( dstyle.length() - 1 ) + ")";
- qDebug( dstyle );
+ tqDebug( dstyle );
}
}
return 0;