There's no reason why Akonadi agents should not have a name like resources. To add this an retain BC, the two methods agentName() and setAgentName() are added and used in ResourceBase if someone calls name() or setName() there. A name change is still reflected by the nameChanged() signal in ResourceBase as well as agentNameChanged in AgentBase.
svn path=/trunk/KDE/kdepimlibs/; revision=984886