summaryrefslogtreecommitdiffstats
path: root/src/sql/qdatatable.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-28 22:31:39 -0600
committerTimothy Pearson <[email protected]>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/sql/qdatatable.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
Diffstat (limited to 'src/sql/qdatatable.cpp')
-rw-r--r--src/sql/qdatatable.cpp14
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;