From 5fffa30386502b5423e45c2ed5e6af756b11c7b4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 28 May 2024 10:17:01 +0900 Subject: Rename nt* sql related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/sql-overview-retrieve2-main-cpp.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 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 b1a86764a..ce4389bac 100644 --- a/doc/html/sql-overview-retrieve2-main-cpp.html +++ b/doc/html/sql-overview-retrieve2-main-cpp.html @@ -43,8 +43,8 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) @@ -52,12 +52,12 @@ int main( int argc, char *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() ) { - tqDebug( 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() ) { + tqDebug( cur.value( "id" ).toString() + ": " + + cur.value( "surname" ).toString() + " " + + cur.value( "salary" ).toString() ); } } -- cgit v1.2.3