summaryrefslogtreecommitdiffstats
path: root/doc/html/sql.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-25 14:05:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-25 14:05:14 -0600
commitbd87b2af9dde0633e56a792665cdec7a9675da95 (patch)
tree372fc8bc287d9712646388e9543b291a30b9cbd6 /doc/html/sql.html
parentc5e69959c9eeb6a1396f1a60d7cf4f9781a2d47c (diff)
downloadtqt3-bd87b2af9dde0633e56a792665cdec7a9675da95.tar.gz
tqt3-bd87b2af9dde0633e56a792665cdec7a9675da95.zip
Automated update from Qt3
Diffstat (limited to 'doc/html/sql.html')
-rw-r--r--doc/html/sql.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/sql.html b/doc/html/sql.html
index fca61765..1eb65759 100644
--- a/doc/html/sql.html
+++ b/doc/html/sql.html
@@ -314,7 +314,7 @@ function in <tt>connection.h</tt>.
<a name="x2152"></a> defaultDB-&gt;<a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_SALES_PASSWD );
<a name="x2151"></a> defaultDB-&gt;<a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_SALES_HOST );
<a name="x2149"></a> if ( ! defaultDB-&gt;<a href="ntqsqldatabase.html#open">open</a>() ) {
- <a name="x2148"></a> <a href="ntqapplication.html#qWarning">qWarning</a>( "Failed to open sales database: " + defaultDB-&gt;<a href="ntqsqldatabase.html#lastError">lastError</a>().text() );
+ <a name="x2148"></a> <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open sales database: " + defaultDB-&gt;<a href="ntqsqldatabase.html#lastError">lastError</a>().text() );
return FALSE;
}
@@ -324,7 +324,7 @@ function in <tt>connection.h</tt>.
oracle-&gt;<a href="ntqsqldatabase.html#setPassword">setPassword</a>( DB_ORDERS_PASSWD );
oracle-&gt;<a href="ntqsqldatabase.html#setHostName">setHostName</a>( DB_ORDERS_HOST );
if ( ! oracle-&gt;<a href="ntqsqldatabase.html#open">open</a>() ) {
- <a href="ntqapplication.html#qWarning">qWarning</a>( "Failed to open orders database: " + oracle-&gt;<a href="ntqsqldatabase.html#lastError">lastError</a>().text() );
+ <a href="ntqapplication.html#qWarning">tqWarning</a>( "Failed to open orders database: " + oracle-&gt;<a href="ntqsqldatabase.html#lastError">lastError</a>().text() );
return FALSE;
}
@@ -570,7 +570,7 @@ retrieve data from it.
<a href="ntqsqlquery.html">TQSqlQuery</a> query( "SELECT id, surname FROM staff" );
<a name="x2175"></a> if ( query.<a href="ntqsqlquery.html#isActive">isActive</a>() ) {
<a name="x2176"></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() + ": " +
+ <a href="ntqapplication.html#qDebug">tqDebug</a>( query.<a href="ntqsqlquery.html#value">value</a>(0).toString() + ": " +
<a name="x2177"></a> query.<a href="ntqsqlquery.html#value">value</a>(1).toString() );
}
}
@@ -641,7 +641,7 @@ discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>.
<a href="ntqsqlcursor.html">TQSqlCursor</a> cur( "staff" ); // Specify the table/view name
<a name="x2178"></a> cur.<a href="ntqsqlcursor.html#select">select</a>(); // We'll retrieve every record
while ( cur.<a href="ntqsqlquery.html#next">next</a>() ) {
- <a name="x2179"></a> <a href="ntqapplication.html#qDebug">qDebug</a>( cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toString() + ": " +
+ <a name="x2179"></a> <a href="ntqapplication.html#qDebug">tqDebug</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>( "salary" ).toString() );
}
@@ -780,7 +780,7 @@ setValue() to ensure that the value used is the one we want.
<a name="x2191"></a> int id = cur.<a href="ntqsqlquery.html#value">value</a>( "id" ).toInt();
<a href="ntqstring.html">TQString</a> name = cur.<a href="ntqsqlquery.html#value">value</a>( "forename" ).toString() + " " +
cur.<a href="ntqsqlquery.html#value">value</a>( "surname" ).toString();
- <a name="x2193"></a> <a href="ntqapplication.html#qDebug">qDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name );
+ <a name="x2193"></a> <a href="ntqapplication.html#qDebug">tqDebug</a>( TQString::<a href="ntqstring.html#number">number</a>( id ) + ": " + name );
}
</pre><blockquote><p align="center"><em> From <a href="sql-overview-extract-main-cpp.html">sql/overview/extract/main.cpp</a>
</em></p>
@@ -804,7 +804,7 @@ values ourselves with the setValue() calls. The order fields are used
in the <tt>ORDER BY</tt> clause.
<p> Now we iterate through each matching record (if any). We retrieve the
contents of the id, forename and surname fields and pass them on to
-some processing function, in this example a simple <a href="ntqapplication.html#qDebug">qDebug</a>() call.
+some processing function, in this example a simple <a href="ntqapplication.html#qDebug">tqDebug</a>() call.
<p> <a name="Manipulating_Records"></a>
<h3> Manipulating Records
</h3>