API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknqueryvalueduration.h>
Public Types |
|
typedef CArrayFix< TTimeIntervalSeconds > | DurationArray |
Typedef for array containing TTimeIntervalSeconds items. |
|
enum | { KSafeSizeOfDescriptorForDurationFormat = 32 } |
Public Member Functions |
|
IMPORT_C | ~CAknQueryValueDurationArray () |
IMPORT_C void | SetArray (DurationArray &aArray) |
Set the array of values. |
|
IMPORT_C DurationArray * | Array () const |
Get the array of values as a TArray. |
|
IMPORT_C const HBufC * | FormatString () const |
Return the TTime format string that is used to generate MDesCArray values. |
|
IMPORT_C TInt | FormattedStringSize () const |
Return the size of a maximal time string formated using the format string that was supplied during construction of this instance.
|
|
IMPORT_C void | FormatDuration (TPtr &aText, TTimeIntervalSeconds aDuration) const |
Format a descriptor with the textual version of a duration, formated according to the format string. |
|
virtual IMPORT_C TInt | MdcaCount () const |
virtual IMPORT_C TPtrC | MdcaPoint (TInt aIndex) const |
Returns array element, converting value to text. |
|
Static Public Member Functions |
|
static IMPORT_C CAknQueryValueDurationArray * | NewL (TInt aResourceId) |
Two-phased constructor. |
|
static IMPORT_C CAknQueryValueDurationArray * | NewLC (TInt aResourceId) |
See NewL. |
|
Protected Member Functions |
|
CAknQueryValueDurationArray () | |
void | ConstructL (TInt aResourceId) |
2nd stage construction. |
|
Typedef for array containing TTimeIntervalSeconds items. |
|
|
|
|
Get the array of values as a TArray. Note that client can use any implementation of array class, but the array is treated as a TArray.
|
|
2nd stage construction. |
|
Format a descriptor with the textual version of a duration, formated according to the format string. Number of hours is not bounded.
|
|
Return the TTime format string that is used to generate MDesCArray values.
|
|
Return the size of a maximal time string formated using the format string that was supplied during construction of this instance. Two versions to eliminate compiler warnings.
|
|
|
|
Returns array element, converting value to text. WARNING: the returned pointer is only valid until the next time this method is invoked.
|
|
Two-phased constructor.
|
|
See NewL. |
|
Set the array of values. Note that client can use any implementation of array class, but must pass in a TArray generated from it (by calling the Array() method on the array class)
|