Changes: Sanitize error handling in scalar query builder
authorAdrien Bustany <adrien.bustany@nokia.com>
Mon, 21 Mar 2011 11:42:47 +0000 (13:42 +0200)
committerMathias Hasselmann <mathias@openismus.com>
Wed, 23 Mar 2011 14:32:35 +0000 (15:32 +0100)
commit8b6d19e3441781b8475a2c19fff75e019f91bf14
tree10d7468ccce4d2512920b5694c8eff852944e2cb
parenteb3aef07e9bce1c35b21f239f9ab052386595420
Changes: Sanitize error handling in scalar query builder

RevBy: TrustMe
Details:
This commit makes all the functions that can fail in the scalar QB
return a QContactManager::Error, instead of returning a boolean
(sometimes) and setting an error in m_error (for the few methods which
used to do it). Since m_error is not used anymore, the error() method is
removed.
src/dao/scalarquerybuilder.cpp
src/dao/scalarquerybuilder.h
src/engine/contactfetchrequest.cpp
src/engine/contactidfetchrequest.cpp