[Kde-pim] kabc/addressbook: public dpointer in iterators

Tobias Koenig tokoe at kde.org
Wed Aug 29 21:00:13 BST 2007


On Wed, Aug 29, 2007 at 09:07:44PM +0200, Kevin Krammer wrote:
> Hi Tobias,
Hi Kevin,

> KABC::AddressBook's iterator classes have their d-pointer in the "public" 
> section of their declaration.
> 
> Since the respective Private class declaration is only visible in 
> addressbook.cpp, can I make them private and add AddressBook as a friend 
> class instead?
Yes of course.

Ciao,
Tobias
-- 
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070829/c2b2d0c0/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