CConnectionUiUtilities Class Reference
class CConnectionUiUtilities : public CBase |
Public Member Functions |
---|
| ~CConnectionUiUtilities() |
IMPORT_C TBool | AlwaysAskPageL(TCuuAlwaysAskResults &) |
IMPORT_C void | CancelChangingConnectionToNote() |
IMPORT_C void | CancelConfirmMethodUsageQuery() |
IMPORT_C void | CancelConnectedViaConnMethodNote() |
IMPORT_C void | CancelConnectedViaDestAndConnMethodNote() |
IMPORT_C void | CancelEasyWepDlg() |
IMPORT_C void | CancelEasyWpaDlg() |
IMPORT_C void | CancelOffLineWlanNote() |
IMPORT_C void | CancelReconnectToMethodQuery() |
IMPORT_C void | CancelRoamingToMorePrefMethodQuery() |
IMPORT_C void | CancelSearchWLANNetwork() |
IMPORT_C TBool | ChangeConnectionL(TUint32 &, TConnectionPrefs) |
IMPORT_C void | ChangingConnectionToNote(const TUint32) |
IMPORT_C void | ChangingConnectionToNote(const TUint32, TRequestStatus &) |
IMPORT_C void | ConfirmMethodUsageQuery(const TUint32, const TUint32, TBool &, TRequestStatus &) |
IMPORT_C void | ConfirmMethodUsageQuery(TMsgQueryLinkedResults &, const TBool, TRequestStatus &) |
IMPORT_C void | ConnectedViaConnMethodNote(const TUint32) |
void | ConnectedViaConnMethodNote(const TUint32, TRequestStatus &) |
IMPORT_C void | ConnectedViaDestAndConnMethodNote(const TUint32, const TUint32) |
void | ConnectedViaDestAndConnMethodNote(const TUint32, const TUint32, TRequestStatus &) |
IMPORT_C void | ConnectingViaDiscreetPopup(const TUint32 &) |
IMPORT_C void | ConnectionErrorDiscreetPopup(const TInt &) |
IMPORT_C TBool | EasyWapiDlg(TDes *) |
IMPORT_C TBool | EasyWepDlg(TDes *) |
IMPORT_C TBool | EasyWepDlg(TDes *, TBool &) |
IMPORT_C void | EasyWepDlg(TRequestStatus &, TDes *, TBool &) |
IMPORT_C TBool | EasyWpaDlg(TDes *) |
IMPORT_C void | EasyWpaDlg(TRequestStatus &, TDes *) |
IMPORT_C CConnectionUiUtilities * | NewL() |
IMPORT_C void | NoWLANNetworksAvailableNote() |
IMPORT_C void | OffLineWlanDisabledNote() |
IMPORT_C TBool | OffLineWlanNote() |
IMPORT_C void | OffLineWlanNote(TRequestStatus &) |
IMPORT_C void | ReconnectToMethodQuery(const TUint32, TBool &, TRequestStatus &) |
IMPORT_C void | ReconnectToMethodQuery(const TUint32, const TUint32, const TBool, TMsgQueryLinkedResults &, TRequestStatus &) |
IMPORT_C void | RoamingToMorePrefMethodQuery(const TUint32, TBool &, TRequestStatus &) |
IMPORT_C void | RoamingToMorePrefMethodQuery(const TUint32, const TUint32, const TBool, TMsgQueryLinkedResults &, TRequestStatus &) |
IMPORT_C TBool | SearchWLANNetwork(TWlanSsid &) |
IMPORT_C TBool | SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &) |
IMPORT_C TBool | SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &) |
IMPORT_C TBool | SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &) |
IMPORT_C TBool | SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &, TBool &) |
IMPORT_C void | SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &) |
IMPORT_C void | SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &) |
IMPORT_C void | SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &) |
IMPORT_C void | SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &, TBool &) |
IMPORT_C TBool | SearchWLANNetworkSync(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &) |
IMPORT_C TBool | SearchWLANNetworkSync(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &) |
IMPORT_C void | ShowConnectionChangedNoteL(const TUint32 &) |
IMPORT_C void | WLANNetworkUnavailableNote() |
Constructor & Destructor Documentation
~CConnectionUiUtilities()
IMPORT_C | ~CConnectionUiUtilities | ( | ) | |
Member Functions Documentation
AlwaysAskPageL(TCuuAlwaysAskResults &)
Parameters
TCuuAlwaysAskResults & aResult | contains ECuuAlwaysAsk if always ask radio button was selected, and ECuuUserDefined if user defined radio button was selected by user It acts also as input parameter to default this setting. |
CancelChangingConnectionToNote()
IMPORT_C void | CancelChangingConnectionToNote | ( | ) | |
Cancel ChangingConnectionToNote notifier.
CancelConfirmMethodUsageQuery()
IMPORT_C void | CancelConfirmMethodUsageQuery | ( | ) | |
Cancel ConfirmMethodUsageQuery
CancelConnectedViaConnMethodNote()
IMPORT_C void | CancelConnectedViaConnMethodNote | ( | ) | |
Cancel ConnectedViaConnMethodNote notifier.
CancelConnectedViaDestAndConnMethodNote()
IMPORT_C void | CancelConnectedViaDestAndConnMethodNote | ( | ) | |
Cancel ConnectedViaDestAndConnMethodNote notifier.
CancelEasyWepDlg()
IMPORT_C void | CancelEasyWepDlg | ( | ) | |
CancelEasyWpaDlg()
IMPORT_C void | CancelEasyWpaDlg | ( | ) | |
CancelOffLineWlanNote()
IMPORT_C void | CancelOffLineWlanNote | ( | ) | |
CancelReconnectToMethodQuery()
IMPORT_C void | CancelReconnectToMethodQuery | ( | ) | |
Cancel ReconnectToMethodQuery notifier.
CancelRoamingToMorePrefMethodQuery()
IMPORT_C void | CancelRoamingToMorePrefMethodQuery | ( | ) | |
Cancel RoamingToMorePrefMethodQuery notifier.
CancelSearchWLANNetwork()
IMPORT_C void | CancelSearchWLANNetwork | ( | ) | |
ChangeConnectionL(TUint32 &, TConnectionPrefs)
Parameters
TUint32 & aIAPId | gives back the iapid of selected connection |
TConnectionPrefs aPrefs | Specifies the rank and desired direction and bearer of the connections will appear in the dialog |
ChangingConnectionToNote(const TUint32)
IMPORT_C void | ChangingConnectionToNote | ( | const TUint32 | aConnMId | ) | |
Information note is used when "Automatically" roaming is enabled. The actual connection establishment take places in the background (no wait note).
Parameters
const TUint32 aConnMId | Id of used connection method. |
ChangingConnectionToNote(const TUint32, TRequestStatus &)
Information note is used when "Automatically" roaming is enabled. The actual connection establishment take places in the background (no wait note). This is the asynchronous version of the previous one
Parameters
const TUint32 aConnMId | Id of used connection method. |
TRequestStatus & aStatus | Status object of the notifier |
ConfirmMethodUsageQuery(const TUint32, const TUint32, TBool &, TRequestStatus &)
Use void ConfirmMethodUsageQuery( const TUint32 aDestId, const TUint32 aConnMId, const TBool aNextBestExists, TMsgQueryLinkedResults& aResult, TRequestStatus& aStatus );
Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
Parameters
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
TBool & aResult | Result of user selection, ETrue if user accepted query, EFalse otherwise |
TRequestStatus & aStatus | Status object of notifier. |
ConfirmMethodUsageQuery(TMsgQueryLinkedResults &, const TBool, TRequestStatus &)
Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
ConnectedViaConnMethodNote(const TUint32)
IMPORT_C void | ConnectedViaConnMethodNote | ( | const TUint32 | aConnMId | ) | |
DEPRECATED, PLEASE USE ASYNC VERSION! Confirmation note is used after the connection has been successfully established via a connection method.
Parameters
const TUint32 aConnMId | Id of used connection method. |
ConnectedViaConnMethodNote(const TUint32, TRequestStatus &)
Confirmation note is used after the connection has been successfully established via a connection method.
Parameters
const TUint32 aConnMId | Id of used connection method. |
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
ConnectedViaDestAndConnMethodNote(const TUint32, const TUint32)
IMPORT_C void | ConnectedViaDestAndConnMethodNote | ( | const TUint32 | aDestId, |
| const TUint32 | aConnMId |
| ) | |
DEPRECATED, PLEASE USE ASYNC VERSION! Confirmation note is used after the connection has been successfully established via destination and connection method.
Parameters
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
ConnectedViaDestAndConnMethodNote(const TUint32, const TUint32, TRequestStatus &)
Confirmation note is used after the connection has been successfully established via destination and connection method.
Parameters
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
ConnectingViaDiscreetPopup(const TUint32 &)
IMPORT_C void | ConnectingViaDiscreetPopup | ( | const TUint32 & | aIAPId | ) | |
Pops up discreet popup indicating that connection is being established to the given access point. This method should only be used from the MPM in order to provide a consistent popup behavior across the platform.
Parameters
const TUint32 & aIAPId | The id of the access point. |
ConnectionErrorDiscreetPopup(const TInt &)
IMPORT_C void | ConnectionErrorDiscreetPopup | ( | const TInt & | aErrorCode | ) | |
Pops up a discreet popup indicating a connection error. Only appropriate error codes show the popup, otherwise (such as with general errors) the popup is not shown. This method should only be used from the MPM in order to provide a consistent popup behavior across the platform.
EasyWapiDlg(TDes *)
Notifier. Shows a data query prompting for WAPI pre-shared key.
Parameters
TDes * aKey | Key entered by user. Default value can be passed |
EasyWepDlg(TDes *)
Parameters
TDes * aKey | Key entered by user. Default value can be passed |
EasyWepDlg(TDes *, TBool &)
Notifier. Shows a data query, "Enter WEP key for WLAN"
Parameters
TDes * aKey | Key entered by user. Default value can be passed |
TBool & aHex | Returns ETrue if user entered hexadecimal key, EFalse, if user entered ASCII key |
EasyWepDlg(TRequestStatus &, TDes *, TBool &)
Notifier. Shows a data query, "Enter WEP key for WLAN" Async version
Parameters
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
TDes * aKey | Key entered by user. Default value can be passed |
TBool & aHex | Returns ETrue if user entered hexadecimal key, EFalse, if user entered ASCII key |
EasyWpaDlg(TDes *)
Notifier. Shows a data query, "Enter pre-shared key for WLAN"
Parameters
TDes * aKey | Key entered by user. Default value can be passed |
EasyWpaDlg(TRequestStatus &, TDes *)
Notifier. Shows a data query, "Enter pre-shared key for WLAN" Async version
Parameters
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
TDes * aKey | Key entered by user. Default value can be passed |
NewL()
Two-phased constructor. Leaves on failure.
NoWLANNetworksAvailableNote()
IMPORT_C void | NoWLANNetworksAvailableNote | ( | ) | |
Notifier. Pops up an information note: "No WLAN networks are available at the moment. Connection not available."
OffLineWlanDisabledNote()
IMPORT_C void | OffLineWlanDisabledNote | ( | ) | |
Notifier. Pops up an information note: "Operation not possible in Off-line mode"
OffLineWlanNote()
IMPORT_C TBool | OffLineWlanNote | ( | ) | |
Notifier. Shows a query, "Do you want to create a WLAN connection in
Off-line mode?"
OffLineWlanNote(TRequestStatus &)
Notifier. Shows a query, "Do you want to create a WLAN connection in
Off-line mode?"
ReconnectToMethodQuery(const TUint32, TBool &, TRequestStatus &)
Use void ReconnectToMethodQuery( const TUint32 aDestId, const TUint32 aConnMId, const TBool aNextBestExists, TMsgQueryLinkedResults& aResult, TRequestStatus& aStatus );
Confirmation query is used when current method is lost and connection is going to be established via another lower priority method.
Parameters
const TUint32 aConnMId | Id of used connection method. |
TBool & aResult | Result of user selection, ETrue if user accepted roaming, to less preferred method, EFlase otherwise |
TRequestStatus & aStatus | Status object of notifier. |
ReconnectToMethodQuery(const TUint32, const TUint32, const TBool, TMsgQueryLinkedResults &, TRequestStatus &)
Confirmation query is used when current method is lost and connection is going to be established via another lower priority method.
Parameters
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
const TBool aNextBestExists | ETrue if there is another available CM inside the destination that could be used |
TMsgQueryLinkedResults & aResult | Result of user selection |
TRequestStatus & aStatus | Status object of notifier. |
RoamingToMorePrefMethodQuery(const TUint32, TBool &, TRequestStatus &)
Use void RoamingToMorePrefMethodQuery( const TUint32 aDestId, const TUint32 aConnMId, const TBool aNextBestExists, TMsgQueryLinkedResults& aResult, TRequestStatus& aStatus );
Confirmation query is used when more preferred method becomes available
Parameters
const TUint32 aConnMId | Id of used connection method. |
TBool & aResult | Result of user selection, ETrue if user accepted roaming, to more preferred method, EFlase otherwise |
TRequestStatus & aStatus | Status object of notifier. |
RoamingToMorePrefMethodQuery(const TUint32, const TUint32, const TBool, TMsgQueryLinkedResults &, TRequestStatus &)
Confirmation query is used when more preferred method becomes available
Parameters
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
const TBool aNextBestExists | ETrue if there is another available CM inside the destination that could be used |
TMsgQueryLinkedResults & aResult | Result of user selection |
TRequestStatus & aStatus | Status object of notifier. |
SearchWLANNetwork(TWlanSsid &)
Notifier. Search available WLAN networks, and user can select one of them
Parameters
TWlanSsid & aSSID | the id of selected wlan network |
SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &)
Notifier. Seatrch available WLAN networks, and user can select one of them
SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &)
Notifier. Search available WLAN networks, and user can select one of them
SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &)
Notifier. Seatrch available WLAN networks, and user can select one of them
SearchWLANNetwork(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &, TBool &)
Notifier. Search available WLAN networks, and user can select one of them
SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &)
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &)
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &)
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
SearchWLANNetworkAsync(TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &, TBool &)
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
SearchWLANNetworkSync(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &)
Notifier. Search available WLAN networks, and user can select one of them. Totally synchronous version, to be used from Engines, not from UIs
SearchWLANNetworkSync(TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &)
Notifier. Search available WLAN networks, and user can select one of them. Totally synchronous version, to be used from Engines, not from UIs
ShowConnectionChangedNoteL(const TUint32 &)
IMPORT_C void | ShowConnectionChangedNoteL | ( | const TUint32 & | aIAPId | ) | |
Pops up an information note, about connection is changed to the given accespont
Parameters
const TUint32 & aIAPId | The id of access point which has been selected. |
WLANNetworkUnavailableNote()
IMPORT_C void | WLANNetworkUnavailableNote | ( | ) | |
Notifier. Pops up an information note: "Selected WLAN network has no coverage"
Member Data Documentation
CConnectionUiUtilitiesImpl * iImpl
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.