Changes: Improve errorMap handling and cleanup save request flow a bit
authorMathias Hasselmann <mathias@openismus.com>
Thu, 17 Jun 2010 11:18:51 +0000 (13:18 +0200)
committerMathias Hasselmann <mathias@openismus.com>
Fri, 18 Jun 2010 09:59:52 +0000 (11:59 +0200)
commit2fc7c62333b69c53a289b53eab30df19e4be8199
treef62ccb2da1634b31b85696f9215cac7809420c8b
parentbf6c4da6a7dc1a3805ca427d2bf9060f24398ec1
Changes: Improve errorMap handling and cleanup save request flow a bit

RevBy: TrustMe
Details:

 * src/engine/contactsaverequest2.cpp:
 * src/engine/contactsaverequest2.h: Add createContactSuccess() and
   saveContactSuccess() to make incrementing m_contactOffset less confusing.
   Fully fill the errorMap on start and only remove entries on success so that
   API users see which contacts have not been saved yet.
src/engine/contactsaverequest2.cpp
src/engine/contactsaverequest2.h