[Telepathy] tp-qt4 Observer, Approver, Handler high-level API proposal

Kenneth Rohde Christiansen kenneth.christiansen at gmail.com
Fri Apr 3 11:58:10 PDT 2009


What about

operationFinished
operationFailed ?

If it failed it didn't really finish, did it?

Kenneth

On Fri, Apr 3, 2009 at 3:17 PM, Andre Moreira Magalhaes
<andre.magalhaes at collabora.co.uk> wrote:
> Kenneth Rohde Christiansen wrote:
>>>
>>>   void setOperationFinished(uint operationHandle);
>>>   void setOperationFinishedWithError(uint operationHandle,
>>>           const QString &errorName, const QString &errorMessage);
>>>
>>
>> Why not just overload the function?
>>
>> void setOperationFinished(uint operationHandle, const QString
>> &errorName, const QString &errorMessage);
>>
>>
>
> I prefer to make them explicit, we we already use this idiom in other
> classes.
>
> What do you guys think?
>
> BR
> Andrunko
>



-- 
Kenneth Rohde Christiansen
http://kenneth.christiansen.googlepages.com


More information about the telepathy mailing list