[Kde-pim] Review Request 109263: Add convenience method Collection::displayName()

Frank Osterfeld frank.osterfeld at kdemail.net
Sun Mar 3 17:07:30 GMT 2013


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

(Updated March 3, 2013, 5:07 p.m.)


Review request for Akonadi, Dan Vrátil and Volker Krause.


Changes
-------

Oups, was based on the wrong branch. Also removed the Akonadi::


Description
-------

Add convenience method Collection::displayName()

The method returns the EntityDisplayAttribute::displayName() if set,
and name() as fallback. That should help to get more consistent
collection titles in the UI, where currently sometimes the displayName
and sometimes name() is used.


Diffs (updated)
-----

  akonadi/collection.h 9f91c29 
  akonadi/collection.cpp b8dfa9e 

Diff: http://git.reviewboard.kde.org/r/109263/diff/


Testing
-------


Thanks,

Frank Osterfeld

_______________________________________________
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