diff options
Diffstat (limited to 'src/sql/qsqlmanager_p.cpp')
-rw-r--r-- | src/sql/qsqlmanager_p.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/sql/qsqlmanager_p.cpp b/src/sql/qsqlmanager_p.cpp index 68360dc..0d80286 100644 --- a/src/sql/qsqlmanager_p.cpp +++ b/src/sql/qsqlmanager_p.cpp @@ -307,10 +307,10 @@ static int compare_recs( const QSqlRecord* buf1, const QSqlRecord* buf2, #ifdef QT_DEBUG_DATAMANAGER static void debug_datamanager_buffer( const QString& msg, QSqlRecord* cursor ) { - qDebug("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"); - qDebug( "%s", msg.latin1() ); + tqDebug("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"); + tqDebug( "%s", msg.latin1() ); for ( uint j = 0; j < cursor->count(); ++j ) { - qDebug( "%s", (cursor->field(j)->name() + " type:" + tqDebug( "%s", (cursor->field(j)->name() + " type:" + QString(cursor->field(j)->value().typeName()) + " value:" + cursor->field(j)->value().toString()) .latin1() ); @@ -348,7 +348,7 @@ update. For example: bool QSqlCursorManager::findBuffer( const QSqlIndex& idx, int atHint ) { #ifdef QT_DEBUG_DATAMANAGER - qDebug("QSqlCursorManager::findBuffer:"); + tqDebug("QSqlCursorManager::findBuffer:"); #endif QSqlCursor* cur = cursor(); if ( !cur ) @@ -363,7 +363,7 @@ bool QSqlCursorManager::findBuffer( const QSqlIndex& idx, int atHint ) QSqlRecord* buf = cur->editBuffer(); bool indexEquals = FALSE; #ifdef QT_DEBUG_DATAMANAGER - qDebug(" Checking hint..."); + tqDebug(" Checking hint..."); #endif /* check the hint */ if ( cur->seek( atHint ) ) @@ -371,7 +371,7 @@ bool QSqlCursorManager::findBuffer( const QSqlIndex& idx, int atHint ) if ( !indexEquals ) { #ifdef QT_DEBUG_DATAMANAGER - qDebug(" Checking current page..."); + tqDebug(" Checking current page..."); #endif /* check current page */ int pageSize = 20; @@ -389,7 +389,7 @@ bool QSqlCursorManager::findBuffer( const QSqlIndex& idx, int atHint ) if ( !indexEquals && cur->driver()->hasFeature( QSqlDriver::QuerySize ) && cur->sort().count() ) { #ifdef QT_DEBUG_DATAMANAGER - qDebug(" Using binary search..."); + tqDebug(" Using binary search..."); #endif // binary search based on record buffer and current sort fields int lo = 0; @@ -442,7 +442,7 @@ bool QSqlCursorManager::findBuffer( const QSqlIndex& idx, int atHint ) if ( !indexEquals ) { #ifdef QT_DEBUG_DATAMANAGER - qDebug(" Using brute search..."); + tqDebug(" Using brute search..."); #endif #ifndef QT_NO_CURSOR QApplication::setOverrideCursor( Qt::waitCursor ); @@ -465,7 +465,7 @@ bool QSqlCursorManager::findBuffer( const QSqlIndex& idx, int atHint ) #endif } #ifdef QT_DEBUG_DATAMANAGER - qDebug(" Done, result:" + QString::number( indexEquals ) ); + tqDebug(" Done, result:" + QString::number( indexEquals ) ); #endif return indexEquals; } |