Commit 8c035678 authored by Daniel Molkentin's avatar Daniel Molkentin

Addressbook tutorial review fixes.

parent c3bc3262
...@@ -207,9 +207,9 @@ ...@@ -207,9 +207,9 @@
\snippet examples/addressbook-sdk/part1/main.cpp main function \snippet examples/addressbook-sdk/part1/main.cpp main function
The code constructs a new \c AddressBook widget on the heap using the The code constructs a new \c AddressBook widget on the stack and
\c new keyword and invokes its \l{QWidget::}{show()} function to display invokes its \l{QWidget::}{show()} function to display it.
it. However, the widget will not be shown until the application's event However, the widget will not be shown until the application's event
loop is started. This is done by calling the application's loop is started. This is done by calling the application's
\l{QApplication::}{exec()} function. Finally, the result returned by \l{QApplication::}{exec()} function. Finally, the result returned by
\l{QApplication::}{exec()} is used as the \c main() function's return \l{QApplication::}{exec()} is used as the \c main() function's return
...@@ -532,7 +532,7 @@ ...@@ -532,7 +532,7 @@
\c contacts and then: \c contacts and then:
\list \list
\o If the iterator is at teh end of \c contacts, we clear the display \o If the iterator is at the end of \c contacts, we clear the display
and return. and return.
\o If the iterator is at the beginning of \c contacts, we move it to \o If the iterator is at the beginning of \c contacts, we move it to
the end. the end.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment