diff options
Diffstat (limited to 'src/sql/qdatatable.cpp')
-rw-r--r-- | src/sql/qdatatable.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sql/qdatatable.cpp b/src/sql/qdatatable.cpp index f300c43e5..3fbdc3260 100644 --- a/src/sql/qdatatable.cpp +++ b/src/sql/qdatatable.cpp @@ -112,10 +112,10 @@ public: #ifdef QT_DEBUG_DATATABLE void qt_debug_buffer( const TQString& msg, TQSqlRecord* cursor ) { - qDebug("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"); - qDebug(msg); + tqDebug("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"); + tqDebug(msg); for ( uint j = 0; j < cursor->count(); ++j ) { - qDebug(cursor->field(j)->name() + " type:" + TQString(cursor->field(j)->value().typeName()) + " value:" + cursor->field(j)->value().toString() ); + tqDebug(cursor->field(j)->name() + " type:" + TQString(cursor->field(j)->value().typeName()) + " value:" + cursor->field(j)->value().toString() ); } } #endif @@ -1047,7 +1047,7 @@ bool TQDataTable::insertCurrent() return FALSE; if ( !sqlCursor()->canInsert() ) { #ifdef QT_CHECK_RANGE - qWarning("TQDataTable::insertCurrent: insert not allowed for %s", + tqWarning("TQDataTable::insertCurrent: insert not allowed for %s", sqlCursor()->name().latin1() ); #endif endInsert(); @@ -1121,7 +1121,7 @@ bool TQDataTable::updateCurrent() return FALSE; if ( sqlCursor()->primaryIndex().count() == 0 ) { #ifdef QT_CHECK_RANGE - qWarning("TQDataTable::updateCurrent: no primary index for %s", + tqWarning("TQDataTable::updateCurrent: no primary index for %s", sqlCursor()->name().latin1() ); #endif endUpdate(); @@ -1129,7 +1129,7 @@ bool TQDataTable::updateCurrent() } if ( !sqlCursor()->canUpdate() ) { #ifdef QT_CHECK_RANGE - qWarning("TQDataTable::updateCurrent: updates not allowed for %s", + tqWarning("TQDataTable::updateCurrent: updates not allowed for %s", sqlCursor()->name().latin1() ); #endif endUpdate(); @@ -1195,7 +1195,7 @@ bool TQDataTable::deleteCurrent() return FALSE; if ( sqlCursor()->primaryIndex().count() == 0 ) { #ifdef QT_CHECK_RANGE - qWarning("TQDataTable::deleteCurrent: no primary index %s", + tqWarning("TQDataTable::deleteCurrent: no primary index %s", sqlCursor()->name().latin1() ); #endif return FALSE; |