summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-extract-main-cpp.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/sql-overview-extract-main-cpp.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/sql-overview-extract-main-cpp.html')
-rw-r--r--doc/html/sql-overview-extract-main-cpp.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/sql-overview-extract-main-cpp.html b/doc/html/sql-overview-extract-main-cpp.html
index 68bdc82c..3d6408fd 100644
--- a/doc/html/sql-overview-extract-main-cpp.html
+++ b/doc/html/sql-overview-extract-main-cpp.html
@@ -42,33 +42,33 @@ body { background: #ffffff; color: black; }
**
*****************************************************************************/
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#include &lt;<a href="qsqldatabase-h.html">qsqldatabase.h</a>&gt;
-#include &lt;<a href="qsqlcursor-h.html">qsqlcursor.h</a>&gt;
+#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 "../connection.h"
int main( int argc, char *argv[] )
{
- <a href="qapplication.html">TQApplication</a> app( argc, argv, FALSE );
+ <a href="ntqapplication.html">TQApplication</a> app( argc, argv, FALSE );
if ( createConnections() ) {
- <a href="qsqlcursor.html">TQSqlCursor</a> cur( "creditors" );
+ <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "creditors" );
- <a href="qstringlist.html">TQStringList</a> orderFields = TQStringList() &lt;&lt; "surname" &lt;&lt; "forename";
- <a href="qsqlindex.html">TQSqlIndex</a> order = cur.<a href="qsqlcursor.html#index">index</a>( orderFields );
+ <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="qstringlist.html">TQStringList</a> filterFields = TQStringList() &lt;&lt; "surname" &lt;&lt; "city";
- <a href="qsqlindex.html">TQSqlIndex</a> filter = cur.<a href="qsqlcursor.html#index">index</a>( filterFields );
- cur.<a href="qsqlrecord.html#setValue">setValue</a>( "surname", "Chirac" );
- cur.<a href="qsqlrecord.html#setValue">setValue</a>( "city", "Paris" );
+ <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" );
- cur.<a href="qsqlcursor.html#select">select</a>( filter, order );
+ cur.<a href="ntqsqlcursor.html#select">select</a>( filter, order );
- while ( cur.<a href="qsqlquery.html#next">next</a>() ) {
- int id = cur.<a href="qsqlquery.html#value">value</a>( "id" ).toInt();
- <a href="qstring.html">TQString</a> name = cur.<a href="qsqlquery.html#value">value</a>( "forename" ).toString() + " " +
- cur.<a href="qsqlquery.html#value">value</a>( "surname" ).toString();
- <a href="qapplication.html#qDebug">qDebug</a>( TQString::<a href="qstring.html#number">number</a>( id ) + ": " + name );
+ 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();
+ <a href="ntqapplication.html#qDebug">qDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name );
}
}