class MPbk2ContactUiControl |
Phonebook 2 contact UI control interface. The contact UI control can display three types of items: A. Contacts B. Contact fields C. Command placeholders (the user can launch the command by clicking or opening the command list item. The command placeholders always appear at the top of the list. At a certain moment the UI control can show both A and C in the list.
TAny * | ContactUiControlExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
TUid |
TBool | ContactsMarked | ( | ) | const [pure virtual] |
Returns ETrue if there are marked contacts.
void | DynInitMenuPaneL | ( | TInt | aResourceId, |
CEikMenuPane * | aMenuPane | |||
) | const [pure virtual] |
Updates the control specific menu items. Call from control owner's DynInitMenuPaneL.
TInt aResourceId | The resource id of the menu pane. |
CEikMenuPane * aMenuPane | The menu pane. |
const TDesC & | FindTextL | ( | ) | [pure virtual] |
Gets the text in the find box. Returns KNullDesC if not applicable or there is no text in the box.
TInt | FocusedContactIndex | ( | ) | const [pure virtual] |
Returns the currently focused contact index or KErrNotFound if this control does not support contact level focus.
const MVPbkBaseContact * | FocusedContactL | ( | ) | const [pure virtual] |
Returns the currently focused contact.
const MVPbkBaseContactField * | FocusedField | ( | ) | const [pure virtual] |
Returns the currently focused contact field or NULL if this control does not support field level focus.
TInt | FocusedFieldIndex | ( | ) | const [pure virtual] |
Returns the currently focused contact field index or KErrNotFound if this control does not support field level focus.
const MVPbkStoreContact * | FocusedStoreContact | ( | ) | const [pure virtual] |
Returns the currently focused contact as a store contact. If the UI control does not have an access to store contacts returns NULL.
const MVPbkViewContact * | FocusedViewContactL | ( | ) | const [pure virtual] |
Returns the currently focused contact as a view contact. If the UI control does not have an access to view contacts returns NULL.
TInt | GetMenuFilteringFlagsL | ( | ) | const [pure virtual] |
Gets control's menu filtering flags.
TInt | NumberOfContactFields | ( | ) | const [pure virtual] |
Returns the number of contact fields in the UI control.
TInt | NumberOfContacts | ( | ) | const [pure virtual] |
Returns the number of contacts in the UI control.
MPbk2ContactUiControl * | ParentControl | ( | ) | const [pure virtual] |
Returns the parent control of this control or NULL if this is the control at the bottom. Ownership is not given.
void | ProcessCommandL | ( | TInt | aCommandId | ) | const [pure virtual] |
Offers the command to the control.
TInt aCommandId | The id of the selected command. |
void | RegisterCommand | ( | MPbk2Command * | aCommand | ) | [pure virtual] |
Registers a command to the UI control. Does not pass ownership.
MPbk2Command * aCommand | Command that is registered to the UI control. |
void | RestoreControlStateL | ( | CPbk2ViewState * | aState | ) | [pure virtual] |
Restores the control state to given state, except the focused contact.
CPbk2ViewState * aState | The state to restore. |
CArrayPtr < MVPbkContactStore > * | SelectedContactStoresL | ( | ) | const [pure virtual] |
Returns an array of selected contact stores if the control is a store list control. Other controls return NULL.
MPbk2ContactLinkIterator * | SelectedContactsIteratorL | ( | ) | const [pure virtual] |
Returns an iterator for currently selected contacts. Client gets the ownership of the iterator. If there are no selected contacts, returns NULL.
MVPbkContactLinkArray * | SelectedContactsL | ( | ) | const [pure virtual] |
Returns an array of currently selected contacts. If there are no selected contacts, returns NULL. NOTE! When having lots of contacts marked, this function might cause OOM situation. Use SelectedContactsIteratorL() instead.
MVPbkContactLinkArray * | SelectedContactsOrFocusedContactL | ( | ) | const [pure virtual] |
Returns an array of currently selected contacts. If there are no selected contacts, returns the focused contact. If there are no contacts, returns NULL. NOTE! When having lots of contacts marked, this function might cause OOM situation. Use SelectedContactsIteratorL() instead.
void | SetBlank | ( | TBool | aBlank | ) | [pure virtual] |
Blanks/unblanks the control. Use when there are massive updates to the databases to avoid flickering.
TBool aBlank | ETrue blanks the control, EFalse unblanks it. |
void | SetFocusedContactIndexL | ( | TInt | aIndex | ) | [pure virtual] |
Sets focused contact index, if negative the top contact is focused.
TInt aIndex | The index of the contact to focus. |
void | SetFocusedContactL | ( | const MVPbkBaseContact & | aContact | ) | [pure virtual] |
Sets the focused contact. Doesn't do anything if the contact does not exist in the control.
const MVPbkBaseContact & aContact | Contact to focus. |
void | SetFocusedContactL | ( | const MVPbkContactBookmark & | aContactBookmark | ) | [pure virtual] |
Sets the focused contact. Doesn't do anything if the contact does not exist in the control.
const MVPbkContactBookmark & aContactBookmark | Contact to focus. |
void | SetFocusedContactL | ( | const MVPbkContactLink & | aContactLink | ) | [pure virtual] |
Sets the focused contact. Doesn't do anything if the contact does not exist in the control.
const MVPbkContactLink & aContactLink | Contact to focus. |
void | SetFocusedFieldIndex | ( | TInt | aIndex | ) | [pure virtual] |
Sets focused field index, if negative the top field is focused.
TInt aIndex | The index of the field to focus. |
void | SetSelectedContactL | ( | TInt | aIndex, |
TBool | aSelected | |||
) | [pure virtual] |
Selects or deselects a contact in the control. If the control doesn't support this functionality then it doesn't do anything.
void | SetSelectedContactL | ( | const MVPbkContactBookmark & | aContactBookmark, |
TBool | aSelected | |||
) | [pure virtual] |
Selects or deselects a contact in the control. If the control doesn't support this functionality then it doesn't do anything.
const MVPbkContactBookmark & aContactBookmark | Identifies the selected contact. If contact is not found from the control then nothing is done. |
TBool aSelected | If ETrue the contact at the given index is set to selected, otherwise the contact will be deselected. |
void | SetSelectedContactL | ( | const MVPbkContactLink & | aContactLink, |
TBool | aSelected | |||
) | [pure virtual] |
Selects or deselects a contact in the control. If the control doesn't support this functionality then it doesn't do anything.
const MVPbkContactLink & aContactLink | Identifies the selected contact. If contact is not found from the control then nothing is done. |
TBool aSelected | If ETrue the contact at the given index is set to selected, otherwise the contact will be deselected. |
void | SetTextL | ( | const TDesC & | aText | ) | [pure virtual] |
Sets a text for a control.
const TDesC & aText | New text for the control |
void | UpdateAfterCommandExecution | ( | ) | [pure virtual] |
Updates control to the state it should be in after a command execution.
AknSelectionService::HandleMarkableListUpdateAfterCommandExecution
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.