diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2009-06-17 19:01:36 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2009-06-17 19:01:36 +0200 |
commit | 8c0356787a1b76472b5b1c6e5b067445773e9e7d (patch) | |
tree | abf9808d3da7a945bdff619e8867826538bd7f3c | |
parent | c3bc32620f57eae9a178e8d5ff7d973aa4e5da3f (diff) |
Addressbook tutorial review fixes.
-rw-r--r-- | doc/addressbook-sdk.qdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/addressbook-sdk.qdoc b/doc/addressbook-sdk.qdoc index 5a281e03fd..d4a0b0bea1 100644 --- a/doc/addressbook-sdk.qdoc +++ b/doc/addressbook-sdk.qdoc @@ -207,9 +207,9 @@ \snippet examples/addressbook-sdk/part1/main.cpp main function - The code constructs a new \c AddressBook widget on the heap using the - \c new keyword and invokes its \l{QWidget::}{show()} function to display - it. However, the widget will not be shown until the application's event + The code constructs a new \c AddressBook widget on the stack and + invokes its \l{QWidget::}{show()} function to display it. + However, the widget will not be shown until the application's event loop is started. This is done by calling the application's \l{QApplication::}{exec()} function. Finally, the result returned by \l{QApplication::}{exec()} is used as the \c main() function's return @@ -532,7 +532,7 @@ \c contacts and then: \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. \o If the iterator is at the beginning of \c contacts, we move it to the end. |