CAknsStringItemDef Class Reference
class CAknsStringItemDef : public CAknsItemDef
|
String item definition. String item definition consists of (in addition to base class data) a single string value. Item type for string item definitions is
EAknsITString
This is a public class with exported functions. The class is not intended for derivation outside the library.
AknSkinSrv.lib
Constructor & Destructor Documentation
CAknsStringItemDef(const TAknsItemType, const TAknsItemID &)
C++ constructor for internal use. Constructs an string item definition object with given ID.
Parameters
const
TAknsItemType
aType
|
Type of the definition object. While this is always EAknsITString for CAknsStringItemDef objects, derived classes may specify other values.
|
const
TAknsItemID
& aID
|
Item ID of the new item definition.
|
~CAknsStringItemDef()
~CAknsStringItemDef
|
(
|
)
|
[virtual]
|
Member Functions Documentation
NewL(const TAknsItemID &)
Two-phased constructor. Constructs a new string item definition object.
-
Since
-
2.6
-
Exceptions:
-
If allocation fails, function leaves with a system-wide error code.
SetStringL(const TDesC &)
IMPORT_C void
|
SetStringL
|
(
|
const
TDesC
&
|
aString
|
)
|
|
Sets the string, content of the descriptor is copied into an internal buffer. If
CAknsStringItemDef
object already owns a filename descriptor, it is deleted.
-
Since
-
2.6
-
Exceptions:
-
If allocation fails, function leaves with a system-wide error code.
Parameters
const
TDesC
& aString
|
Reference to the descriptor containing new value. Content of the descriptor is copied into an internal buffer owned by CAknsStringItemDef.
|
String()
IMPORT_C const
TDesC
&
|
String
|
(
|
)
|
const
|
Returns a reference to the string value of this item definition.
Member Data Documentation
HBufC * iString
HBufC
*
|
iString
|
[protected]
|
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.