CApListItem Class Reference
class CApListItem : public CBase |
Representation of a list item.< This class is used to hold the main information of an access point. It is used in CApSelect.
Public Member Functions |
---|
| ~CApListItem() |
IMPORT_C TApBearerType | BearerType() |
IMPORT_C void | CopyFromL(const CApListItem &) |
IMPORT_C TBool | IsReadOnly() |
TBool
| IsVpnAp() |
IMPORT_C const TDesC & | Name() |
IMPORT_C CApListItem * | NewLC() |
IMPORT_C CApListItem * | NewLC(TCommsDbIspType, TUint32, const TDesC &, TApBearerType) |
IMPORT_C CApListItem * | NewLC(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &, TBool) |
IMPORT_C CApListItem * | NewLC(CApListItem *) |
IMPORT_C void | SetItemL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType) |
IMPORT_C void | SetItemL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &) |
void | SetVpnFlag(TBool) |
IMPORT_C const TDesC & | StartPage() |
IMPORT_C TCommsDbIspType | Type() |
IMPORT_C TUint32 | Uid() |
Constructor & Destructor Documentation
CApListItem()
IMPORT_C | CApListItem | ( | ) | [protected] |
~CApListItem()
IMPORT_C | ~CApListItem | ( | ) | [virtual] |
Member Functions Documentation
BearerType()
Gets the bearer-type of the current access point
ConstructL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType)
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Second-phase constructor.
Parameters
TCommsDbIspType aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
TUint32 aUid | The ID of the access point |
const TDesC & aName | The name of the access point |
TApBearerType aBearerType | The bearer type of the access point |
ConstructL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &)
Second-phase constructor.
Parameters
TCommsDbIspType aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
TUint32 aUid | The ID of the access point |
const TDesC & aName | The name of the access point |
TApBearerType aBearerType | The bearer type of the access point |
const TDesC & aStartPage | |
ConstructL()
IMPORT_C void | ConstructL | ( | ) | [protected] |
Second-phase constructor.
CopyFromL(const CApListItem &)
Copies the data from another CApListItem Substitutes the "Assignment operator."
CreateExtraL()
void | CreateExtraL | ( | ) | [protected] |
IsReadOnly()
IMPORT_C TBool | IsReadOnly | ( | ) | const |
Returns whether the access point is read-only or not.
IsVpnAp()
Returnes whether the given access point is a VPN ap or not.
Name()
IMPORT_C const TDesC & | Name | ( | ) | |
Gets the name of the 'current' access point Ownership of the returned text is not passed.
NewLC()
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
NewLC(TCommsDbIspType, TUint32, const TDesC &, TApBearerType)
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.
Parameters
TCommsDbIspType aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
TUint32 aUid | The ID of the access point |
const TDesC & aName | The name of the access point |
TApBearerType aBearerType | The bearer type of the access point |
NewLC(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &, TBool)
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
Parameters
TCommsDbIspType aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
TUint32 aUid | The ID of the access point |
const TDesC & aName | The name of the access point |
TApBearerType aBearerType | The bearer type of the access point |
const TDesC & aStartPage | |
TBool aReadOnly = ETrue | Whether the given item is read-only or not |
NewLC(CApListItem *)
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
SetItemL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType)
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Sets item values of the access point. Leaves on failure.
Parameters
TCommsDbIspType aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
TUint32 aUid | The ID of the access point |
const TDesC & aName | The name of the access point |
TApBearerType aBearerType | The bearer type of the access point |
SetItemL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &)
Sets item values of the access point. Leaves on failure.
Parameters
TCommsDbIspType aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
TUint32 aUid | The ID of the access point |
const TDesC & aName | The name of the access point |
TApBearerType aBearerType | The bearer type of the access point |
const TDesC & aStartpage | The starting page of the access point |
SetVpnFlag(TBool)
void | SetVpnFlag | ( | TBool | aIsVpn | ) | |
Sets whether the given access point is a VPN ap or not.
StartPage()
IMPORT_C const TDesC & | StartPage | ( | ) | const |
Returns the startpage of the current access point if any, otherwise, an empty string is returned. Ownership of the returned text is not passed.
Type()
Gets the ISP-type of the current access point
Uid()
Gets the UID of the current access point
Member Data Documentation
TApBearerType
iBearerType
TCommsDbIspType
iIspType
The type of the access point (Internet only, Wap only, Internet AND Wap)
HBufC * iStartPage
HBufC * | iStartPage | [private] |
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.