CApListItem Class Reference

#include <mw/ApListItem.h>

class CApListItem : public CBase

Inherits from

  • CApListItem

    Detailed Description

    Representation of a list item.< This class is used to hold the main information of an access point. It is used in CApSelect.

    Constructor & Destructor Documentation

    CApListItem ( )

    IMPORT_CCApListItem()[protected]

    C++ default constructor.

    Deprecated

    ~CApListItem ( )

    IMPORT_C~CApListItem()[virtual]

    Destructor.

    Deprecated

    Member Function Documentation

    BearerType ( )

    IMPORT_C TApBearerTypeBearerType()

    Gets the bearer-type of the current access point Deprecated

    Returns: The bearer-type of the current access point.

    ConstructL ( TCommsDbIspType, TUint32, const TDesC &, TApBearerType )

    IMPORT_C voidConstructL(TCommsDbIspTypeaIspType,
    TUint32aUid,
    const TDesC &aName,
    TApBearerTypeaBearerType
    )[protected]

    NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Second-phase constructor. Deprecated

    ParameterDescription
    aIspTypeThe type of the access point (Internet only, Wap only, Internet AND Wap)
    aUidThe ID of the access point
    aNameThe name of the access point
    aBearerTypeThe bearer type of the access point

    ConstructL ( TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC & )

    IMPORT_C voidConstructL(TCommsDbIspTypeaIspType,
    TUint32aUid,
    const TDesC &aName,
    TApBearerTypeaBearerType,
    const TDesC &aStartPage
    )[protected]

    Second-phase constructor. Deprecated

    ParameterDescription
    aIspTypeThe type of the access point (Internet only, Wap only, Internet AND Wap)
    aUidThe ID of the access point
    aNameThe name of the access point
    aBearerTypeThe bearer type of the access point

    ConstructL ( )

    IMPORT_C voidConstructL()[protected]

    Second-phase constructor.

    Deprecated

    CopyFromL ( const CApListItem & )

    IMPORT_C voidCopyFromL(const CApListItem &aCopyFrom)

    Copies the data from another CApListItem Substitutes the "Assignment operator." Deprecated

    Returns: No return value.

    CreateExtraL ( )

    voidCreateExtraL()[protected]

    Construct the extra data.

    IsReadOnly ( )

    IMPORT_C TBoolIsReadOnly()const

    Returns whether the access point is read-only or not. Deprecated

    Returns: Whether the access point is read-only or not.

    IsVpnAp ( )

    TBool IsVpnAp()const

    Returnes whether the given access point is a VPN ap or not.

    Returns: 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. Deprecated

    Returns: The name of the current access point

    NewLC ( )

    IMPORT_C CApListItem *NewLC()[static]

    Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated

    Returns: The constructed CApListItem.

    NewLC ( TCommsDbIspType, TUint32, const TDesC &, TApBearerType )

    IMPORT_C CApListItem *NewLC(TCommsDbIspTypeaIspType,
    TUint32aUid,
    const TDesC &aName,
    TApBearerTypeaBearerType
    )[static]

    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. Deprecated

    ParameterDescription
    aIspTypeThe type of the access point (Internet only, Wap only, Internet AND Wap)
    aUidThe ID of the access point
    aNameThe name of the access point
    aBearerTypeThe bearer type of the access point

    Returns: The constructed CApListItem.

    NewLC ( TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &, TBool )

    IMPORT_C CApListItem *NewLC(TCommsDbIspTypeaIspType,
    TUint32aUid,
    const TDesC &aName,
    TApBearerTypeaBearerType,
    const TDesC &aStartPage,
    TBoolaReadOnly = ETrue
    )[static]

    Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated

    ParameterDescription
    aIspTypeThe type of the access point (Internet only, Wap only, Internet AND Wap)
    aUidThe ID of the access point
    aNameThe name of the access point
    aBearerTypeThe bearer type of the access point
    aReadOnlyWhether the given item is read-only or not

    Returns: The constructed CApListItem.

    NewLC ( CApListItem * )

    IMPORT_C CApListItem *NewLC(CApListItem *aItem)[static]

    Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated

    ParameterDescription
    aItema pointer to a CApListItem.

    Returns: The constructed CApListItem.

    SetItemL ( TCommsDbIspType, TUint32, const TDesC &, TApBearerType )

    IMPORT_C voidSetItemL(TCommsDbIspTypeaIspType,
    TUint32aUid,
    const TDesC &aName,
    TApBearerTypeaBearerType
    )

    NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Sets item values of the access point. Leaves on failure. Deprecated

    ParameterDescription
    aIspTypeThe type of the access point (Internet only, Wap only, Internet AND Wap)
    aUidThe ID of the access point
    aNameThe name of the access point
    aBearerTypeThe bearer type of the access point

    SetItemL ( TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC & )

    IMPORT_C voidSetItemL(TCommsDbIspTypeaIspType,
    TUint32aUid,
    const TDesC &aName,
    TApBearerTypeaBearerType,
    const TDesC &aStartpage
    )

    Sets item values of the access point. Leaves on failure. Deprecated

    ParameterDescription
    aIspTypeThe type of the access point (Internet only, Wap only, Internet AND Wap)
    aUidThe ID of the access point
    aNameThe name of the access point
    aBearerTypeThe bearer type of the access point
    aStartpageThe starting page of the access point

    SetVpnFlag ( TBool )

    voidSetVpnFlag(TBoolaIsVpn)

    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. Deprecated

    Returns: The startpage of the current access point.

    Type ( )

    IMPORT_C TCommsDbIspTypeType()

    Gets the ISP-type of the current access point Deprecated

    Returns: The ISP-type of the current access point.

    Uid ( )

    IMPORT_C TUint32Uid()

    Gets the UID of the current access point Deprecated

    Returns: The UID of the current access point