equal
deleted
inserted
replaced
33 } |
33 } |
34 |
34 |
35 void QCPixSearcherPrivate::Construct( QString aDefaultSearchField ) |
35 void QCPixSearcherPrivate::Construct( QString aDefaultSearchField ) |
36 { |
36 { |
37 qt_symbian_throwIfError( iSearchSession.Connect() );//throw exception on error. |
37 qt_symbian_throwIfError( iSearchSession.Connect() );//throw exception on error. |
|
38 QT_TRAP_THROWING( |
38 TBuf<KMaxStringLength> defaultSearchField( aDefaultSearchField.utf16() ); |
39 TBuf<KMaxStringLength> defaultSearchField( aDefaultSearchField.utf16() ); |
39 QT_TRAP_THROWING( iSearcher = CCPixSearcher::NewL( iSearchSession, defaultSearchField ) ); |
40 iSearcher = CCPixSearcher::NewL( iSearchSession, defaultSearchField ) |
|
41 ); //end of QT_TRAP_THROWING |
40 } |
42 } |
41 |
43 |
42 QCPixSearcherPrivate::~QCPixSearcherPrivate() |
44 QCPixSearcherPrivate::~QCPixSearcherPrivate() |
43 { |
45 { |
44 delete iSearcher; |
46 delete iSearcher; |