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-subclass1-main-cpp.html | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/html/sql-overview-subclass1-main-cpp.html') diff --git a/doc/html/sql-overview-subclass1-main-cpp.html b/doc/html/sql-overview-subclass1-main-cpp.html index b58fb9168..d097dafde 100644 --- a/doc/html/sql-overview-subclass1-main-cpp.html +++ b/doc/html/sql-overview-subclass1-main-cpp.html @@ -42,31 +42,31 @@ body { background: #ffffff; color: black; } ** *****************************************************************************/ -#include <qapplication.h> -#include <qsqldatabase.h> -#include <qsqlcursor.h> -#include <qdatatable.h> +#include <ntqapplication.h> +#include <ntqsqldatabase.h> +#include <ntqsqlcursor.h> +#include <ntqdatatable.h> #include "../connection.h" int main( int argc, char *argv[] ) { - TQApplication app( argc, argv ); + TQApplication app( argc, argv ); if ( createConnections() ) { - TQSqlCursor invoiceItemCursor( "invoiceitem" ); + TQSqlCursor invoiceItemCursor( "invoiceitem" ); - TQDataTable *invoiceItemTable = new TQDataTable( &invoiceItemCursor ); + TQDataTable *invoiceItemTable = new TQDataTable( &invoiceItemCursor ); - app.setMainWidget( invoiceItemTable ); + app.setMainWidget( invoiceItemTable ); - invoiceItemTable->addColumn( "pricesid", "PriceID" ); - invoiceItemTable->addColumn( "quantity", "Quantity" ); - invoiceItemTable->addColumn( "paiddate", "Paid" ); + invoiceItemTable->addColumn( "pricesid", "PriceID" ); + invoiceItemTable->addColumn( "quantity", "Quantity" ); + invoiceItemTable->addColumn( "paiddate", "Paid" ); - invoiceItemTable->refresh(); - invoiceItemTable->show(); + invoiceItemTable->refresh(); + invoiceItemTable->show(); - return app.exec(); + return app.exec(); } return 1; -- cgit v1.2.1