API published in: S60 1st Ed
API deprecated in: S60 3rd Ed FP 2
Link against: apengine.lib
Required Capabilities
None
Exceptions
Functions modifying database (Create, Update, Delete) need WriteDeviceData. (CApDataHandler, CApUtils Setxxx functions)
#include <aplistitem.h>
It is used in CApSelect.
Public Member Functions |
|
virtual IMPORT_C | ~CApListItem () |
Destructor. |
|
IMPORT_C void | CopyFromL (const CApListItem &aCopyFrom) |
Copies the data from another CApListItem Substitutes the "Assignment operator.". |
|
IMPORT_C void | SetItemL (TCommsDbIspType aIspType, TUint32 aUid, const TDesC &aName, TApBearerType aBearerType) |
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. |
|
IMPORT_C void | SetItemL (TCommsDbIspType aIspType, TUint32 aUid, const TDesC &aName, TApBearerType aBearerType, const TDesC &aStartpage) |
Sets item values of the access point. |
|
IMPORT_C const TDesC & | Name () |
Gets the name of the 'current' access point Ownership of the returned text is not passed. |
|
IMPORT_C TUint32 | Uid () |
Gets the UID of the current access point. |
|
IMPORT_C TCommsDbIspType | Type () |
Gets the ISP-type of the current access point. |
|
IMPORT_C TApBearerType | BearerType () |
Gets the bearer-type of the current access point. |
|
IMPORT_C const TDesC & | StartPage () const |
Returns the startpage of the current access point if any, otherwise, an empty string is returned. |
|
IMPORT_C TBool | IsReadOnly () const |
Returns whether the access point is read-only or not. |
|
TBool | IsVpnAp () const |
Returnes whether the given access point is a VPN ap or not. |
|
void | SetVpnFlag (TBool aIsVpn) |
Sets whether the given access point is a VPN ap or not. |
|
Static Public Member Functions |
|
static IMPORT_C CApListItem * | NewLC () |
Two-phased constructor. |
|
static IMPORT_C CApListItem * | NewLC (TCommsDbIspType aIspType, TUint32 aUid, const TDesC &aName, TApBearerType aBearerType) |
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. |
|
static IMPORT_C CApListItem * | NewLC (TCommsDbIspType aIspType, TUint32 aUid, const TDesC &aName, TApBearerType aBearerType, const TDesC &aStartPage, TBool aReadOnly=ETrue) |
Two-phased constructor. |
|
static IMPORT_C CApListItem * | NewLC (CApListItem *aItem) |
Two-phased constructor. |
|
Protected Member Functions |
|
IMPORT_C | CApListItem () |
C++ default constructor. |
|
IMPORT_C void | ConstructL (TCommsDbIspType aIspType, TUint32 aUid, const TDesC &aName, TApBearerType aBearerType) |
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. |
|
IMPORT_C void | ConstructL (TCommsDbIspType aIspType, TUint32 aUid, const TDesC &aName, TApBearerType aBearerType, const TDesC &aStartPage) |
Second-phase constructor. |
|
IMPORT_C void | ConstructL () |
Second-phase constructor. |
|
void | CreateExtraL () |
Construct the extra data. |
|
Friends |
|
class | CApSelect |
class | TApListItemUidKey |
|
Destructor. |
|
C++ default constructor. |
|
Gets the bearer-type of the current access point.
|
|
Second-phase constructor. |
|
Second-phase constructor.
|
|
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Second-phase constructor.
|
|
Copies the data from another CApListItem Substitutes the "Assignment operator.".
|
|
Construct the extra data. |
|
Returns whether the access point is read-only or not.
|
|
Returnes whether the given access point is a VPN ap or not.
|
|
Gets the name of the 'current' access point Ownership of the returned text is not passed.
|
|
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
Sets item values of the access point. Leaves on failure.
|
|
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Sets item values of the access point. Leaves on failure.
|
|
Sets whether the given access point is a VPN ap or not. |
|
Returns the startpage of the current access point if any, otherwise, an empty string is returned. Ownership of the returned text is not passed.
|
|
Gets the ISP-type of the current access point.
|
|
Gets the UID of the current access point.
|
|
|