[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] libkabc API problems
From:       Cornelius Schumacher <schumacher () kde ! org>
Date:       2002-09-29 22:59:52
[Download RAW message or body]

On Sunday 29 September 2002 23:54, Tobias Koenig wrote:
> On Sun, Sep 29, 2002 at 11:09:09PM +0200, Cornelius Schumacher wrote:
> >
> > But distribution lists are not part of the address book. They are
> > in a layer on top of it, so an application interested in changes of
> > distribution lists should connect to a signal of the distribution
> > list classes and not to one of AddressBook.
>
> Ok, then DistributionListManager would be the best place, but I can't
> add the new member variable mDirWatcher, since there is no d-pointer
> in this class :[

Argl, that's bad. On the other hand, DistributionListManager isn't a 
QObject, so it couldn't emit a signal anyway without breaking binary 
compatibility.

Let's add a small class DistributionListWatcher, which contains the 
watching code and is able to emit a "changed" signal. We can integrate 
this class with DistributionListManager in KDE 4.0.

Where is the change notification for distribution lists needed, by the 
way?

-- 
Cornelius Schumacher <schumacher@kde.org>
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic