CPbk2StoreProperty Class Reference
class CPbk2StoreProperty : public CBase |
Phonebook 2 contact store property. Responsible for presenting contact store related information.
Constructor & Destructor Documentation
CPbk2StoreProperty()
CPbk2StoreProperty | ( | ) | [private] |
Member Functions Documentation
AppendViewDefinitionL(CPbk2StoreViewDefinition *)
Appends a new view definition.
Parameters
CPbk2StoreViewDefinition * aViewDefinition | View definition to append. Ownership changes. Client must release the ownership after the call. |
ConstructFieldPropertiesL(TInt)
void | ConstructFieldPropertiesL | ( | TInt | aFieldPropertyArrayResId | ) | [private] |
Parameters
TInt aFieldPropertyArrayResId | |
ConstructL(TResourceReader &)
ConstructL(const CPbk2StoreProperty &)
CreateLocalizedTextsL(const CPbk2StoreProperty &)
CreateStoreSpecificFieldPropertiesL(const MVPbkFieldTypeList &)
Returns the store specific field properties. The store property contains a link to the field property array. If the field property resource has been defined then those properties are returned. The related field types must be given to create properties because each property links to one single field type.
Parameters
const MVPbkFieldTypeList & aFieldTypeList | In most cases this is the Virtual Phonebook master field type list because it contains all the field types. |
FieldPropertiesResId()
IMPORT_C TInt | FieldPropertiesResId | ( | ) | const |
Returns the resource id of the store's field property array.
PHONEBOOK2_FIELD_PROPERTY_ARRAY
FindView(TPbk2ContactViewType)
Flags()
Returns store property flags.
Pbk2StoreProperty.hrh
MemoryInfoTypes()
IMPORT_C TUint32 | MemoryInfoTypes | ( | ) | const |
Returns a set of info types that define what information is requested from the store's MVPbkContactStoreInfo interface.
Pbk2StoreProperty.hrh
NewL()
Creates a new instance of this class.
NewLC(TResourceReader &)
Creates a new instance of this class.
PHONEBOOK2_STORE_PROPERTY
Parameters
TResourceReader & aReader | Resource reader pointed to a PHONEBOOK2_STORE_PROPERTY resource. |
NewLC(const CPbk2StoreProperty &)
Creates a new instance of this class.
RetrieveContentLC(TPbk2ContentId)
Returns a content object that is mapped to the requested context. Ownership of the returned object is passed. The client is able to acquire content to a certain context using this method. The client can pass information of the context to the content generation implementation. The client is then responsible for finding the contents type dynamically.
SetFieldPropertiesResId(TInt)
IMPORT_C void | SetFieldPropertiesResId | ( | TInt | aFieldPropertiesResId | ) | |
Sets the store specific field property array resource id.
Parameters
TInt aFieldPropertiesResId | Resource id of a PHONEBOOK2_FIELD_PROPERTY_ARRAY resource. |
SetFlags(TUint32)
IMPORT_C void | SetFlags | ( | TUint32 | aFlags | ) | |
Sets the store property flags. Overwrites existing flags.
Pbk2StoreProperty.hrh
Parameters
TUint32 aFlags | Store property flags to set. |
SetMemoryInfoTypes(TUint32)
IMPORT_C void | SetMemoryInfoTypes | ( | TUint32 | aInfoTypes | ) | |
Sets the info types that define which data is requested from the MVPbkContactStoreInfo interface.
Pbk2StoreProperty.hrh
Parameters
TUint32 aInfoTypes | Memory info types. |
SetStoreNameL(const TDesC &)
IMPORT_C void | SetStoreNameL | ( | const TDesC & | aStoreName | ) | |
Sets the name for the store. The name is used in the UI.
Parameters
const TDesC & aStoreName | Name for the store. |
SetStoreUriL(const TDesC &)
IMPORT_C void | SetStoreUriL | ( | const TDesC & | aStoreUri | ) | |
Sets the store URI for the property.
Parameters
const TDesC & aStoreUri | The URI that is used to load the store from the Virtual Phonebook. |
StoreName()
IMPORT_C const TDesC & | StoreName | ( | ) | const |
Returns the name of the store.
StoreUri()
Returns the store URI of the property.
Views()
Returns an array of view definitions for the store.
Member Data Documentation
TInt
iFieldPropertiesResId
TInt
| iFieldPropertiesResId | [private] |
RPointerArray< const CPbk2LocalizedText > iLocalizedTexts
RPointerArray< const CPbk2LocalizedText > | iLocalizedTexts | [private] |
HBufC * iStoreName
HBufC * | iStoreName | [private] |
HBufC * iStoreUri
HBufC * | iStoreUri | [private] |
RPointerArray< const CPbk2StoreViewDefinition > iStoreViews
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.