equal
deleted
inserted
replaced
134 CpixDocument* tmp = 0; |
134 CpixDocument* tmp = 0; |
135 QT_TRAP_THROWING( tmp = CpixDocFromCSearchDocument( iPvtImpl->iSearcher->GetDocumentL( aIndex ) ) ); |
135 QT_TRAP_THROWING( tmp = CpixDocFromCSearchDocument( iPvtImpl->iSearcher->GetDocumentL( aIndex ) ) ); |
136 PERF_GETDOC_ENDLOG |
136 PERF_GETDOC_ENDLOG |
137 return tmp; |
137 return tmp; |
138 } |
138 } |
|
139 |
|
140 CpixDocument** CpixSearcher::batchdocument( int aIndex,int& aReturnDoc, int aCount ) |
|
141 { |
|
142 PERF_GETDOC_RESTART_TIMER |
|
143 CpixDocument** tmp = 0; |
|
144 QT_TRAP_THROWING( tmp = CpixBatchDocFromCSearchDocument( aReturnDoc, iPvtImpl->iSearcher->GetBatchDocumentL( aIndex, aReturnDoc, aCount )) ); |
|
145 PERF_GETDOC_ENDLOG |
|
146 return tmp; |
|
147 } |
139 |
148 |
140 void CpixSearcher::documentAsync( int aIndex ) |
149 void CpixSearcher::documentAsync( int aIndex ) |
141 { |
150 { |
142 PERF_TIME_NOW("Async get document start") |
151 PERF_TIME_NOW("Async get document start") |
143 QT_TRAP_THROWING( iPvtImpl->iSearcher->GetDocumentL( aIndex, *iPvtImpl ) ); |
152 QT_TRAP_THROWING( iPvtImpl->iSearcher->GetDocumentL( aIndex, *iPvtImpl ) ); |
144 } |
153 } |
|
154 |
|
155 void CpixSearcher::batchdocumentAsync( int aIndex, int aCount ) |
|
156 { |
|
157 PERF_TIME_NOW("Async batch get document start") |
|
158 QT_TRAP_THROWING( iPvtImpl->iSearcher->GetBatchDocumentL( aIndex, *iPvtImpl, aCount ) ); |
|
159 } |
145 |
160 |
146 void CpixSearcher::cancelSearch() |
161 void CpixSearcher::cancelSearch() |
147 { |
162 { |
148 iPvtImpl->iSearcher->Cancel(); |
163 iPvtImpl->iSearcher->Cancel(); |
149 } |
164 } |