[Kde-pim] Review Request: Move name member from Akonadi::ResourceBase up to Akonadi::Agentbase

Kevin Krammer kevin.krammer at gmx.at
Sun Jun 21 17:18:20 BST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/857/#review1359
-----------------------------------------------------------



trunk/KDE/kdepimlibs/akonadi/agentbase.cpp
<http://reviewboard.kde.org/r/857/#comment864>

    I would first read Agent/Name and only fall back to Resource/Name if empty.
    
    Just in case both are actually set, so the more recent one takes precedence


- Kevin


On 2009-06-21 09:14:49, Sascha Peilicke wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/857/
> -----------------------------------------------------------
> 
> (Updated 2009-06-21 09:14:49)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> Currently only resources can have a name but there's no reason for agents to not have one too. This patch moves the corresponding member/methods/signals up the Akonadi::AgentBase class.
> 
> The name is mainly useful to distinguish multiple agents of the same type. Altough this would be possible also via their identifier, the latter lacks some sort of expressiveness (from an user's perspective) and thus does not look too nice.
> 
> I'm unable to upload a newer patch, reviewboard's buggy, find it here: http://pastebin.ca/1465254
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdepimlibs/akonadi/agentbase.h 984867 
>   trunk/KDE/kdepimlibs/akonadi/agentbase.cpp 984867 
>   trunk/KDE/kdepimlibs/akonadi/agentbase_p.h 984867 
>   trunk/KDE/kdepimlibs/akonadi/resourcebase.cpp 984867 
> 
> Diff: http://reviewboard.kde.org/r/857/diff
> 
> 
> Testing
> -------
> 
> successfully compiled kdepimlibs and kdepim, restarted akonadi server, added/removed agents and resources, set the name of an agent.
> 
> no problems so far
> 
> 
> Thanks,
> 
> Sascha
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list