From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/sql-overview-retrieve2-main-cpp.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/html/sql-overview-retrieve2-main-cpp.html') diff --git a/doc/html/sql-overview-retrieve2-main-cpp.html b/doc/html/sql-overview-retrieve2-main-cpp.html index 144166f17..479ad26a4 100644 --- a/doc/html/sql-overview-retrieve2-main-cpp.html +++ b/doc/html/sql-overview-retrieve2-main-cpp.html @@ -42,22 +42,22 @@ body { background: #ffffff; color: black; } ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) { - TQApplication app( argc, argv ); + TQApplication app( argc, argv ); if ( createConnections() ) { - TQSqlCursor cur( "staff" ); // Specify the table/view name - cur.select(); // We'll retrieve every record - while ( cur.next() ) { - qDebug( cur.value( "id" ).toString() + ": " + - cur.value( "surname" ).toString() + " " + - cur.value( "salary" ).toString() ); + TQSqlCursor cur( "staff" ); // Specify the table/view name + cur.select(); // We'll retrieve every record + while ( cur.next() ) { + qDebug( cur.value( "id" ).toString() + ": " + + cur.value( "surname" ).toString() + " " + + cur.value( "salary" ).toString() ); } } -- cgit v1.2.1