summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-extract-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-extract-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-extract-main-cpp.html')
-rw-r--r--doc/html/sql-overview-extract-main-cpp.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/sql-overview-extract-main-cpp.html b/doc/html/sql-overview-extract-main-cpp.html
index 142a427c1..bf555d29f 100644
--- a/doc/html/sql-overview-extract-main-cpp.html
+++ b/doc/html/sql-overview-extract-main-cpp.html
@@ -43,8 +43,8 @@ body { background: #ffffff; color: black; }
*****************************************************************************/
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
-#include &lt;<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>&gt;
-#include &lt;<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>&gt;
+#include &lt;<a href="tqsqldatabase-h.html">tqsqldatabase.h</a>&gt;
+#include &lt;<a href="tqsqlcursor-h.html">tqsqlcursor.h</a>&gt;
#include "../connection.h"
int main( int argc, char *argv[] )
@@ -52,22 +52,22 @@ int main( int argc, char *argv[] )
<a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE );
if ( createConnections() ) {
- <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "creditors" );
+ <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "creditors" );
<a href="ntqstringlist.html">TQStringList</a> orderFields = TQStringList() &lt;&lt; "surname" &lt;&lt; "forename";
- <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( orderFields );
+ <a href="tqsqlindex.html">TQSqlIndex</a> order = cur.<a href="tqsqlcursor.html#index">index</a>( orderFields );
<a href="ntqstringlist.html">TQStringList</a> filterFields = TQStringList() &lt;&lt; "surname" &lt;&lt; "city";
- <a href="ntqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="ntqsqlcursor.html#index">index</a>( filterFields );
- cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "surname", "Chirac" );
- cur.<a href="ntqsqlrecord.html#setValue">setValue</a>( "city", "Paris" );
+ <a href="tqsqlindex.html">TQSqlIndex</a> filter = cur.<a href="tqsqlcursor.html#index">index</a>( filterFields );
+ cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "surname", "Chirac" );
+ cur.<a href="tqsqlrecord.html#setValue">setValue</a>( "city", "Paris" );
- cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order );
+ cur.<a href="tqsqlcursor.html#select">select</a>( filter, order );
- while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) {
- int id = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt();
- <a href="ntqstring.html">TQString</a> name = cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() + " " +
- cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString();
+ while ( cur.<a href="tqsqlquery.html#next">next</a>() ) {
+ int id = cur.<a href="tqsqlquery.html#value">value</a>( "id" ).toInt();
+ <a href="ntqstring.html">TQString</a> name = cur.<a href="tqsqlquery.html#value">value</a>( "forename" ).toString() + " " +
+ cur.<a href="tqsqlquery.html#value">value</a>( "surname" ).toString();
<a href="ntqapplication.html#qDebug">tqDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name );
}
}