summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-basicbrowsing-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-basicbrowsing-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-basicbrowsing-main-cpp.html')
-rw-r--r--doc/html/sql-overview-basicbrowsing-main-cpp.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/sql-overview-basicbrowsing-main-cpp.html b/doc/html/sql-overview-basicbrowsing-main-cpp.html
index 9cef68948..7ec94e8c1 100644
--- a/doc/html/sql-overview-basicbrowsing-main-cpp.html
+++ b/doc/html/sql-overview-basicbrowsing-main-cpp.html
@@ -42,26 +42,26 @@ 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="qsqlquery-h.html">qsqlquery.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="qsqlquery-h.html">ntqsqlquery.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="qsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="qsqldatabase.html#database">database</a>( "ORACLE" );
+ <a href="ntqsqldatabase.html">TQSqlDatabase</a> *oracledb = TQSqlDatabase::<a href="ntqsqldatabase.html#database">database</a>( "ORACLE" );
// Copy data from the oracle database to the ODBC (default)
// database
- <a href="qsqlquery.html">TQSqlQuery</a> target;
- <a href="qsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb );
- if ( query.<a href="qsqlquery.html#isActive">isActive</a>() ) {
- while ( query.<a href="qsqlquery.html#next">next</a>() ) {
- target.<a href="qsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " +
- 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> target;
+ <a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, name FROM people", oracledb );
+ if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) {
+ while ( query.<a href="ntqsqlquery.html#next">next</a>() ) {
+ target.<a href="ntqsqlquery.html#exec">exec</a>( "INSERT INTO people ( id, name ) VALUES ( " +
+ query.<a href="ntqsqlquery.html#value">value</a>(0).toString() +
+ ", '" + query.<a href="ntqsqlquery.html#value">value</a>(1).toString() + "' )" );
}
}
}