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

Kevin Krammer kevin.krammer at gmx.at
Wed Aug 29 21:04:51 BST 2007


On Wednesday 29 August 2007, Tobias Koenig wrote:
> 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.

Just wanted to be sure.

Found another candiate (already comitted):
static KConfig *AddressLineEdit::config();

Declaration in Header, not defined anywhere :)

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/20070829/3985517a/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