summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-connect1-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql-overview-connect1-main-cpp.html')
-rw-r--r--doc/html/sql-overview-connect1-main-cpp.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/sql-overview-connect1-main-cpp.html b/doc/html/sql-overview-connect1-main-cpp.html
index 98e1a8b5f..7eaf1ef0b 100644
--- a/doc/html/sql-overview-connect1-main-cpp.html
+++ b/doc/html/sql-overview-connect1-main-cpp.html
@@ -42,22 +42,22 @@ 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="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="qsqldatabase-h.html">ntqsqldatabase.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 );
- <a href="qsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="qsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER );
- defaultDB-&gt;<a href="qsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME );
- defaultDB-&gt;<a href="qsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER );
- defaultDB-&gt;<a href="qsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD );
- defaultDB-&gt;<a href="qsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST );
+ <a href="ntqsqldatabase.html">TQSqlDatabase</a> *defaultDB = TQSqlDatabase::<a href="ntqsqldatabase.html#addDatabase">addDatabase</a>( DB_SALES_DRIVER );
+ defaultDB-&gt;<a href="ntqsqldatabase.html#setDatabaseName">setDatabaseName</a>( DB_SALES_DBNAME );
+ defaultDB-&gt;<a href="ntqsqldatabase.html#setUserName">setUserName</a>( DB_SALES_USER );
+ defaultDB-&gt;<a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD );
+ defaultDB-&gt;<a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST );
- if ( defaultDB-&gt;<a href="qsqldatabase.html#open">open</a>() ) {
+ if ( defaultDB-&gt;<a href="ntqsqldatabase.html#open">open</a>() ) {
// Database successfully opened; we can now issue SQL commands.
}