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/sql.doc | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/sql.doc')
-rw-r--r-- | doc/sql.doc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/sql.doc b/doc/sql.doc index bfd85e8e9..43ebfdec2 100644 --- a/doc/sql.doc +++ b/doc/sql.doc @@ -222,7 +222,7 @@ QSqlDatabase class can create a connection which is used by default for all SQL operations. If multiple database connections are required these can easily be set up. -\l QSqlDatabase requires the \c qsqldatabase.h header file. +\l QSqlDatabase requires the \c ntqsqldatabase.h header file. \target Connecting_to_a_Single_Database \section1 Connecting to a Single Database @@ -363,7 +363,7 @@ the transaction, and then either QSqlDatabase::commit() or \caption From \l sql/overview/basicbrowsing/main.cpp In the example above we've added an additional header file, -\c qsqlquery.h. The first query we create, \c target, uses the default +\c ntqsqlquery.h. The first query we create, \c target, uses the default database and is initially empty. For the second query, \c q, we specify the "ORACLE" database that we want to retrieve records from. Both the database connections were set up in the createConnections() function we @@ -513,7 +513,7 @@ follows this one we show how to link widgets to database cursors. Once we have a knowledge of both cursors and data-aware widgets we can discuss \link #Subclassing_QSqlCursor subclassing QSqlCursor \endlink. -The \l QSqlCursor class requires the \c qsqlcursor.h header file. +The \l QSqlCursor class requires the \c ntqsqlcursor.h header file. \target Retrieving_Records \section2 Retrieving Records @@ -815,7 +815,7 @@ examples provides additional information. \printline \caption From \l sql/overview/table1/main.cpp -Data-Aware tables require the \c qdatatable.h and \c qsqlcursor.h header +Data-Aware tables require the \c ntqdatatable.h and \c ntqsqlcursor.h header files. We create our application object, call createConnections() and create the cursor. We create the \l QDataTable passing it a pointer to the cursor, and set the autoPopulate flag to TRUE. Next we make our \l @@ -868,8 +868,8 @@ designer-manual.book Qt Designer\endlink manual for more details. \caption From \l sql/overview/form1/main.cpp We include the header files for the widgets that we need. We also -include \c qsqldatabase.h and \c qsqlcursor.h as usual, but we now add -\c qsqlform.h. +include \c ntqsqldatabase.h and \c ntqsqlcursor.h as usual, but we now add +\c ntqsqlform.h. The form will be presented as a dialog so we subclass \l QDialog with our own FormDialog class. We use a \l QLineEdit for the salary so that |