| class MNcdQueryItem : public MCatalogsBase |
Describes a query item.
A common interface for all query items. A query item defines one element of a whole query e.g. credit card number in a purchase information query.
All query items that are not optional must be answered/filled before completing a query.
| Public Member Functions | |
|---|---|
| const TDesC & | Description() |
| TBool | IsOptional() |
| const TDesC & | Label() |
| const TDesC & | Message() |
| TSemantics | Semantics() |
| TNcdInterfaceId | Type() |
| Protected Member Functions | |
|---|---|
| ~MNcdQueryItem() | |
| const TDesC & | Description | ( | ) | const [pure virtual] |
Getter for query item description. Additional longer description text about the query element, intended for context help
| TBool | IsOptional | ( | ) | const [pure virtual] |
Checks whether this query item is optional i.e. does not need to be answered/filled before the query is accepted.
| const TDesC & | Label | ( | ) | const [pure virtual] |
Getter for query item label. Labels are used to identify the what the query item is e.g. "username" or "credit card owner". Typically displayed next to the actual item.
| const TDesC & | Message | ( | ) | const [pure virtual] |
Getter for query item message. Optionally displayed in a question dialog body close to the query item. Can offer information/advice on what the user should input e.g. "Please enter the cardholder's name".
| TSemantics | Semantics | ( | ) | const [pure virtual] |
Semantics of the query item.
This can be used to act differently for semantically different query items that have the same basic type (as indicated by Type()).
Query item semantics
| ESemanticsNone |
No specific semantics specified |
| ESemanticsUnknown |
Unknown/unsupported semantics specified |
| ESemanticsMsisdn |
MSISDN (phone number) |
| ESemanticsEmailAddress |
Email address |
| ESemanticsCreditCardNumber |
Credit card number |
| ESemanticsCreditCardExpirationYear |
Credit card expiration year |
| ESemanticsCreditCardExpirationMonth |
Credit card expiration month |
| ESemanticsCreditCardOwner |
Credit card owner |
| ESemanticsCreditCardVerificationCode |
Credit card verification code |
| ESemanticsCreditCardType |
Credit card type |
| ESemanticsAddressStreet |
Street address |
| ESemanticsAddressZipCode |
ZIP code |
| ESemanticsAddressCity |
City |
| ESemanticsAddressCountry |
Country |
| ESemanticsUserName |
User name |
| ESemanticsPassword |
Password |
| ESemanticsPinCode |
PIN code |
| ESemanticsImei |
IMEI |
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.