diff options
Diffstat (limited to 'doc/html/sql-overview-retrieve1-main-cpp.html')
-rw-r--r-- | doc/html/sql-overview-retrieve1-main-cpp.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/sql-overview-retrieve1-main-cpp.html b/doc/html/sql-overview-retrieve1-main-cpp.html index 934567c64..5981dfe42 100644 --- a/doc/html/sql-overview-retrieve1-main-cpp.html +++ b/doc/html/sql-overview-retrieve1-main-cpp.html @@ -42,21 +42,21 @@ 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="qsqlquery-h.html">qsqlquery.h</a>> +#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> +#include <<a href="qsqlquery-h.html">ntqsqlquery.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="qsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); - if ( query.<a href="qsqlquery.html#isActive">isActive</a>() ) { - while ( query.<a href="qsqlquery.html#next">next</a>() ) { - <a href="qapplication.html#qDebug">qDebug</a>( query.<a href="qsqlquery.html#value">value</a>(0).toString() + ": " + - query.<a href="qsqlquery.html#value">value</a>(1).toString() ); + <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" ); + if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) { + while ( query.<a href="ntqsqlquery.html#next">next</a>() ) { + <a href="ntqapplication.html#qDebug">qDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " + + query.<a href="ntqsqlquery.html#value">value</a>(1).toString() ); } } } |