connectionutilities/ConnectionDialogs/ConnectionUiUtilities/src/cellulardataconfirmation.cpp
equal
deleted
inserted
replaced
91 |
91 |
92 // The variant map is needed to construct the dialog correctly, |
92 // The variant map is needed to construct the dialog correctly, |
93 // information whether we are in home network is needed |
93 // information whether we are in home network is needed |
94 if ( aHomeNetwork ) |
94 if ( aHomeNetwork ) |
95 { |
95 { |
96 choices.Append( EMsgQueryAutomatically ); |
96 choices.AppendL( EMsgQueryAutomatically ); |
97 choices.Append( EMsgQueryThisTime ); |
97 choices.AppendL( EMsgQueryThisTime ); |
98 choices.Append( EMsgQueryCancelled ); |
98 choices.AppendL( EMsgQueryCancelled ); |
99 } |
99 } |
100 else |
100 else |
101 { |
101 { |
102 choices.Append( EMsgQueryThisTime ); |
102 choices.AppendL( EMsgQueryThisTime ); |
103 choices.Append( EMsgQueryAutomatically ); |
103 choices.AppendL( EMsgQueryAutomatically ); |
104 choices.Append( EMsgQueryCancelled ); |
104 choices.AppendL( EMsgQueryCancelled ); |
105 } |
105 } |
106 |
106 |
107 // Observer is needed in order to get the user inputs |
107 // Observer is needed in order to get the user inputs |
108 iObserver = CDeviceDialogObserver::NewL( this ); |
108 iObserver = CDeviceDialogObserver::NewL( this ); |
109 iDialog = CHbDeviceDialogSymbian::NewL(); |
109 iDialog = CHbDeviceDialogSymbian::NewL(); |