diff options
Diffstat (limited to 'doc/html/designer-manual-8.html')
-rw-r--r-- | doc/html/designer-manual-8.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/designer-manual-8.html b/doc/html/designer-manual-8.html index 38b207de7..7a6e4d6f9 100644 --- a/doc/html/designer-manual-8.html +++ b/doc/html/designer-manual-8.html @@ -331,7 +331,7 @@ bool createConnections() // Who is this book's author? <a href="tqsqlquery.html">TQSqlQuery</a> query( "SELECT surname FROM author WHERE id='" + buffer-><a href="tqsqlrecord.html#value">value</a>( "authorid" ).toString() + "';" ); - <a href="ntqstring.html">TQString</a> author = ""; + <a href="tqstring.html">TQString</a> author = ""; if ( query.<a href="tqsqlquery.html#next">next</a>() ) author = query.<a href="tqsqlquery.html#value">value</a>( 0 ).toString(); // Set the ComboBox to the right author @@ -367,7 +367,7 @@ bool createConnections() } </pre> <li> <p>We use a single function for storing author id's and returning them so that we can use a static data structure.</p> -<pre> void EditBookForm::mapAuthor( const <a href="ntqstring.html">TQString</a> & name, int & id, bool populate ) +<pre> void EditBookForm::mapAuthor( const <a href="tqstring.html">TQString</a> & name, int & id, bool populate ) { if ( populate ) authorMap[ name ] = id; @@ -381,7 +381,7 @@ bool createConnections() { int id = buffer-><a href="tqsqlrecord.html#value">value</a>( "authorid" ).toInt(); for ( int i = 0; i < ComboBoxAuthor->count(); i++ ) { - <a href="ntqstring.html">TQString</a> author = ComboBoxAuthor->text( i ); + <a href="tqstring.html">TQString</a> author = ComboBoxAuthor->text( i ); if ( authorMap.contains( author ) && authorMap[author] == id ) { ComboBoxAuthor->setCurrentItem( i ) ; break; |