equal
deleted
inserted
replaced
146 } |
146 } |
147 |
147 |
148 |
148 |
149 //---------------------------------------------------------------------------- |
149 //---------------------------------------------------------------------------- |
150 |
150 |
151 TBool CCreatorConnectionSettings::AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries) |
151 TBool CCreatorConnectionSettings::AskDataFromUserL(TInt aCommand) |
152 { |
152 { |
153 LOGSTRING("Creator: CCreatorConnectionSettings::AskDataFromUserL"); |
153 LOGSTRING("Creator: CCreatorConnectionSettings::AskDataFromUserL"); |
154 |
154 |
|
155 CCreatorModuleBase::AskDataFromUserL( aCommand ); |
|
156 |
155 if( aCommand == ECmdDeleteIAPs ) |
157 if( aCommand == ECmdDeleteIAPs ) |
156 { |
158 { |
157 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Connection Methods?") ); |
159 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Connection Methods?"), this, ECreatorModuleDelete ); |
158 } |
160 } |
159 else if( aCommand == ECmdDeleteCreatorIAPs ) |
161 else if( aCommand == ECmdDeleteCreatorIAPs ) |
160 { |
162 { |
161 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Connection Methods created with Creator?") ); |
163 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Connection Methods created with Creator?"), this, ECreatorModuleDelete ); |
162 } |
164 } |
163 else |
165 else |
164 { |
166 { |
165 return iEngine->GetEngineWrapper()->EntriesQueryDialog(aNumberOfEntries, _L("How many entries to create?")); |
167 return iEngine->GetEngineWrapper()->EntriesQueryDialog(&iEntriesToBeCreated, _L("How many entries to create?"), EFalse, this, ECreatorModuleStart ); |
166 } |
168 } |
167 } |
169 } |
168 |
170 |
169 |
171 |
170 //---------------------------------------------------------------------------- |
172 //---------------------------------------------------------------------------- |