diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/sql-overview-order1-main-cpp.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/sql-overview-order1-main-cpp.html')
-rw-r--r-- | doc/html/sql-overview-order1-main-cpp.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/sql-overview-order1-main-cpp.html b/doc/html/sql-overview-order1-main-cpp.html index 65b7291a7..4931fdb82 100644 --- a/doc/html/sql-overview-order1-main-cpp.html +++ b/doc/html/sql-overview-order1-main-cpp.html @@ -42,24 +42,24 @@ body { background: #ffffff; color: black; } ** *****************************************************************************/ -#include <<a href="qapplication-h.html">qapplication.h</a>> -#include <<a href="qsqldatabase-h.html">qsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">qsqlcursor.h</a>> +#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> +#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> #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( "staff" ); - <a href="qstringlist.html">TQStringList</a> fields = TQStringList() << "surname" << "forename"; - <a href="qsqlindex.html">TQSqlIndex</a> order = cur.<a href="qsqlcursor.html#index">index</a>( fields ); - cur.<a href="qsqlcursor.html#select">select</a>( order ); - while ( cur.<a href="qsqlquery.html#next">next</a>() ) { - <a href="qapplication.html#qDebug">qDebug</a>( cur.<a href="qsqlquery.html#value">value</a>( "id" ).toString() + ": " + - cur.<a href="qsqlquery.html#value">value</a>( "surname" ).toString() + " " + - cur.<a href="qsqlquery.html#value">value</a>( "forename" ).toString() ); + <a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); + <a href="ntqstringlist.html">TQStringList</a> fields = TQStringList() << "surname" << "forename"; + <a href="ntqsqlindex.html">TQSqlIndex</a> order = cur.<a href="ntqsqlcursor.html#index">index</a>( fields ); + cur.<a href="ntqsqlcursor.html#select">select</a>( order ); + while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) { + <a href="ntqapplication.html#qDebug">qDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " + + cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString() + " " + + cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() ); } } |