CPropertyList Class Reference
class CPropertyList : public CRepositoryAccessor
|
The database holds a set of registered custom properties. Each folder, bookmark and the database itself has a list of custom property values. This class represents one of these lists of values.
Public Member Functions
|
|
~CPropertyList
()
|
TInt
|
GetCustomProperty
(
TUid
,
TInt
&)
|
TInt
|
GetCustomProperty
(
TUid
,
TReal
&)
|
TInt
|
GetCustomProperty
(
TUid
,
TDes
&)
|
TInt
|
GetCustomProperty
(
TUid
,
TDes8
&)
|
TUint32
|
IndexBase
()
|
CPropertyList
*
|
NewL
(
CRepository
&,
CPropertyReg
&,
CPropertyReg::TPropertyGroup
,
TUint32
)
|
void
|
Reset
()
|
void
|
SetCustomPropertyL
(
TUid
,
TInt
)
|
void
|
SetCustomPropertyL
(
TUid
,
TReal
)
|
void
|
SetCustomPropertyL
(
TUid
, const
TDesC
&)
|
void
|
SetCustomPropertyL
(
TUid
, const
TDesC8
&)
|
void
|
SetIdFromIndexBase
(
TUint32
)
|
void
|
TransLoadL
()
|
void
|
TransNewL
()
|
void
|
TransRemoveL
()
|
void
|
TransSaveL
()
|
Constructor & Destructor Documentation
CPropertyList(CRepository &, CPropertyReg &, CPropertyReg::TPropertyGroup, TUint32)
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
GetCustomProperty(TUid, TInt &)
TInt
|
GetCustomProperty
|
(
|
TUid
|
aPropertyId,
|
|
TInt
&
|
aValue
|
|
)
|
const
|
GetCustomProperty(TUid, TReal &)
TInt
|
GetCustomProperty
|
(
|
TUid
|
aPropertyId,
|
|
TReal
&
|
aValue
|
|
)
|
const
|
GetCustomProperty(TUid, TDes &)
TInt
|
GetCustomProperty
|
(
|
TUid
|
aPropertyId,
|
|
TDes
&
|
aValue
|
|
)
|
const
|
GetCustomProperty(TUid, TDes8 &)
TInt
|
GetCustomProperty
|
(
|
TUid
|
aPropertyId,
|
|
TDes8
&
|
aValue
|
|
)
|
const
|
NewL(CRepository &, CPropertyReg &, CPropertyReg::TPropertyGroup, TUint32)
PropertyIndex(TUid, Bookmark::TPropertyType)
TInt
|
PropertyIndex
|
(
|
TUid
|
aPropertyId,
|
|
Bookmark::TPropertyType
|
aType
|
|
)
|
const [private]
|
Parameters
TUid
aPropertyId
|
|
Bookmark::TPropertyType
aType
|
|
SetCustomPropertyL(TUid, TInt)
void
|
SetCustomPropertyL
|
(
|
TUid
|
aPropertyId,
|
|
TInt
|
aValue
|
|
)
|
|
SetCustomPropertyL(TUid, TReal)
void
|
SetCustomPropertyL
|
(
|
TUid
|
aPropertyId,
|
|
TReal
|
aValue
|
|
)
|
|
SetCustomPropertyL(TUid, const TDesC &)
void
|
SetCustomPropertyL
|
(
|
TUid
|
aPropertyId,
|
|
const
TDesC
&
|
aValue
|
|
)
|
|
SetCustomPropertyL(TUid, const TDesC8 &)
void
|
SetCustomPropertyL
|
(
|
TUid
|
aPropertyId,
|
|
const
TDesC8
&
|
aValue
|
|
)
|
|
SetIdFromIndexBase(TUint32)
void
|
SetIdFromIndexBase
|
(
|
TUint32
|
aIndexBase
|
)
|
[virtual]
|
TransLoadL()
void
|
TransLoadL
|
(
|
)
|
[virtual]
|
TransNewL()
void
|
TransNewL
|
(
|
)
|
[virtual]
|
TransRemoveL()
void
|
TransRemoveL
|
(
|
)
|
[virtual]
|
TransSaveL()
void
|
TransSaveL
|
(
|
)
|
[virtual]
|
UpdateValueListItemL(TInt, Bookmark::TPropertyType, const TAny *)
void
|
UpdateValueListItemL
|
(
|
TInt
|
aIndex,
|
|
Bookmark::TPropertyType
|
aType,
|
|
const
TAny
*
|
aValue
|
|
)
|
[private]
|
Parameters
TInt
aIndex
|
|
Bookmark::TPropertyType
aType
|
|
const
TAny
* aValue
|
|
Member Data Documentation
CPropertyReg::TPropertyGroup
iGroup
CPropertyReg & iPropertyRegister
TCustomPropertyList
iPropertyValues
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.