summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-subclass3-main-cpp.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-28 10:17:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-28 10:17:01 +0900
commit5fffa30386502b5423e45c2ed5e6af756b11c7b4 (patch)
treefa17e10b048e8e13433b861cbe98cf895b2324c7 /doc/html/sql-overview-subclass3-main-cpp.html
parent04913ce7a46fd027856e83a96205fdc388742a19 (diff)
downloadtqt3-5fffa30386502b5423e45c2ed5e6af756b11c7b4.tar.gz
tqt3-5fffa30386502b5423e45c2ed5e6af756b11c7b4.zip
Rename nt* sql related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/sql-overview-subclass3-main-cpp.html')
-rw-r--r--doc/html/sql-overview-subclass3-main-cpp.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/sql-overview-subclass3-main-cpp.html b/doc/html/sql-overview-subclass3-main-cpp.html
index b53d3a68a..f63ae8c20 100644
--- a/doc/html/sql-overview-subclass3-main-cpp.html
+++ b/doc/html/sql-overview-subclass3-main-cpp.html
@@ -43,24 +43,24 @@ body { background: #ffffff; color: black; }
*****************************************************************************/
#include "main.h"
-#include &lt;<a href="qdatatable-h.html">ntqdatatable.h</a>&gt;
+#include &lt;<a href="tqdatatable-h.html">tqdatatable.h</a>&gt;
<a name="f23"></a>InvoiceItemCursor::InvoiceItemCursor() :
- <a href="ntqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" )
+ <a href="tqsqlcursor.html">TQSqlCursor</a>( "invoiceitem" )
{
- <a href="qsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String );
- <a href="ntqsqlcursor.html#append">append</a>( productName );
- <a href="ntqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="qsqlfieldinfo.html#name">name</a>(), TRUE );
+ <a href="tqsqlfieldinfo.html">TQSqlFieldInfo</a> productName( "productname", TQVariant::String );
+ <a href="tqsqlcursor.html#append">append</a>( productName );
+ <a href="tqsqlcursor.html#setCalculated">setCalculated</a>( productName.<a href="tqsqlfieldinfo.html#name">name</a>(), TRUE );
}
-TQVariant InvoiceItemCursor::<a href="ntqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> &amp; name )
+TQVariant InvoiceItemCursor::<a href="tqsqlcursor.html#calculateField">calculateField</a>( const <a href="ntqstring.html">TQString</a> &amp; name )
{
if ( name == "productname" ) {
- <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" +
- <a href="ntqsqlrecord.html#field">field</a>( "pricesid" )-&gt;value().toString() );
- if ( query.<a href="ntqsqlquery.html#next">next</a>() )
- return query.<a href="ntqsqlquery.html#value">value</a>( 0 );
+ <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT name FROM prices WHERE id=" +
+ <a href="tqsqlrecord.html#field">field</a>( "pricesid" )-&gt;value().toString() );
+ if ( query.<a href="tqsqlquery.html#next">next</a>() )
+ return query.<a href="tqsqlquery.html#value">value</a>( 0 );
}
return TQVariant( TQString::null );
@@ -74,15 +74,15 @@ int main( int argc, char *argv[] )
if ( createConnections() ) {
InvoiceItemCursor invoiceItemCursor;
- <a href="ntqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="ntqdatatable.html">TQDataTable</a>( &amp;invoiceItemCursor );
+ <a href="tqdatatable.html">TQDataTable</a> *invoiceItemTable = new <a href="tqdatatable.html">TQDataTable</a>( &amp;invoiceItemCursor );
app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( invoiceItemTable );
- invoiceItemTable-&gt;<a href="ntqdatatable.html#addColumn">addColumn</a>( "productname", "Product" );
- invoiceItemTable-&gt;<a href="ntqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" );
- invoiceItemTable-&gt;<a href="ntqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" );
+ invoiceItemTable-&gt;<a href="tqdatatable.html#addColumn">addColumn</a>( "productname", "Product" );
+ invoiceItemTable-&gt;<a href="tqdatatable.html#addColumn">addColumn</a>( "quantity", "Quantity" );
+ invoiceItemTable-&gt;<a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" );
- invoiceItemTable-&gt;<a href="ntqdatatable.html#refresh">refresh</a>();
+ invoiceItemTable-&gt;<a href="tqdatatable.html#refresh">refresh</a>();
invoiceItemTable-&gt;<a href="ntqwidget.html#show">show</a>();
return app.<a href="ntqapplication.html#exec">exec</a>();