[Kde-pim] kabc/distributionlist: Entry class returns references

Kevin Krammer kevin.krammer at gmx.at
Thu Aug 30 10:30:21 BST 2007


On Thursday 30 August 2007, Tobias Koenig wrote:
> On Thu, Aug 30, 2007 at 10:33:34AM +0200, Kevin Krammer wrote:
> > Hi Tobias,
>
> Hi Kevin,
>
> > the inner class Enrtry of DistributionList returns email and addressee as
> > references. Do you think it is still possible to change that to "return
> > copy"?
>
> Yes, but then you have to add a setEmail() and setAddressee() function
> as well and search for all occurences in the kde code to change it!

Hmm, the methods are "const"
I'll leave them for now and just commit the API dox.

Will try to hunt all uses of the methods down later and then send a patch for 
review.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070830/b520267d/attachment.sig>
-------------- next part --------------
_______________________________________________
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