diff options
author | Kavindra Devi Palaraja <kavindra.palaraja@nokia.com> | 2009-06-03 17:00:30 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-06-04 10:58:34 +0200 |
commit | f9b628bafb07476e895075422e877c11fc86e22a (patch) | |
tree | e59228b7ef3f7e04fd6b96ee0680f93ae0521858 /doc/addressbook-sdk.qdoc | |
parent | b184c8c3472bdfaf5cc9f27d73f2cbc791caa274 (diff) | |
download | qt-creator-f9b628bafb07476e895075422e877c11fc86e22a.tar.gz |
Fixes: Doc - starting on modifying Part 3
RevBy: TrustMe
Diffstat (limited to 'doc/addressbook-sdk.qdoc')
-rw-r--r-- | doc/addressbook-sdk.qdoc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/addressbook-sdk.qdoc b/doc/addressbook-sdk.qdoc index 643f6d0b7e..7514052c0e 100644 --- a/doc/addressbook-sdk.qdoc +++ b/doc/addressbook-sdk.qdoc @@ -418,3 +418,35 @@ as you like. */ + + +/*! + \page tutorials-addressbook-sdk-part3.html + \previouspage Address Book 2 - Adding Addresses + \contentspage {Address Book Tutorial}{Contents} + \nextpage \l{examples/addressbook-sdk/part4}{Chapter 4} + \example examples/addressbook-sdk/part3 + \title Address Book 3 - Navigating between Entries} + + The address book application is now half complete. We need to add some + functions to navigate between contacts. But first, we have to decide what + sort of a data structure we would like to use to hold these contacts. + + In Chapter 2, we used a QMap of key-value pairs with the contact's name as + the \e key, and the contact's address as the \e value. This works well for + our case. However, in order to navigate and display each entry, a little + bit of enhancement is needed. + + We enhance the QMap by making it replicate a data structure similar to a + circularly-linked list, where all elements are connected, including the + first element and the last element. The figure below illustrates this data + structure; + + \image addressbook-tutorial-part3-linkedlist.png + + + \section1 Placing Widgets on the Form + + \section1 The AddressBook Class + +*/ |