equal
deleted
inserted
replaced
226 } |
226 } |
227 return result; |
227 return result; |
228 } |
228 } |
229 |
229 |
230 // ----------------------------------------------------------------------------- |
230 // ----------------------------------------------------------------------------- |
|
231 // CMPXFileNameQueryDlg::OfferKeyEventL |
|
232 // |
|
233 // ----------------------------------------------------------------------------- |
|
234 // |
|
235 TKeyResponse CMPXFileNameQueryDlg::OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ) |
|
236 { |
|
237 TKeyResponse response = EKeyWasNotConsumed; |
|
238 // consume 'enter' so it won't acknowledge the dialog |
|
239 if ( aType == EEventKey && aKeyEvent.iCode == EKeyEnter ) |
|
240 { |
|
241 response = EKeyWasConsumed; |
|
242 } |
|
243 else |
|
244 { |
|
245 response = CAknTextQueryDialog::OfferKeyEventL(aKeyEvent, aType); |
|
246 } |
|
247 return response; |
|
248 } |
|
249 |
|
250 // ----------------------------------------------------------------------------- |
231 // CMPXFileNameQueryDlg::IsValidName |
251 // CMPXFileNameQueryDlg::IsValidName |
232 // ----------------------------------------------------------------------------- |
252 // ----------------------------------------------------------------------------- |
233 // |
253 // |
234 TBool CMPXFileNameQueryDlg::IsValidName( |
254 TBool CMPXFileNameQueryDlg::IsValidName( |
235 const TDesC& aDriveAndPath, const TDesC& aName, TBool aIsFolder ) const |
255 const TDesC& aDriveAndPath, const TDesC& aName, TBool aIsFolder ) const |