equal
deleted
inserted
replaced
179 } |
179 } |
180 |
180 |
181 /*! Cleans up the memory used by this request */ |
181 /*! Cleans up the memory used by this request */ |
182 QContactAbstractRequest::~QContactAbstractRequest() |
182 QContactAbstractRequest::~QContactAbstractRequest() |
183 { |
183 { |
184 if (d_ptr) { |
184 delete d_ptr; |
185 QMutexLocker ml(&d_ptr->m_mutex); |
|
186 QContactManagerEngine *engine = QContactManagerData::engine(d_ptr->m_manager); |
|
187 ml.unlock(); |
|
188 if (engine) { |
|
189 engine->requestDestroyed(this); |
|
190 } |
|
191 |
|
192 delete d_ptr; |
|
193 } |
|
194 } |
185 } |
195 |
186 |
196 /*! |
187 /*! |
197 Returns true if the request is in the \c QContactAbstractRequest::InactiveState state; otherwise, returns false |
188 Returns true if the request is in the \c QContactAbstractRequest::InactiveState state; otherwise, returns false |
198 |
189 |