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

List:       kde-commits
Subject:    Re: playground/pim/krss
From:       Frank Osterfeld <frank () kdab ! com>
Date:       2009-05-26 6:41:55
Message-ID: 200905260841.56200.frank () kdab ! com
[Download RAW message or body]

> SVN commit 972610 by divanov:
>
> Reintroduce item monitoring, fine-grained this time since
> it affects performance a lot

> -        explicit ItemListing( const QList<Item>& item, QObject* parent=0
> ); +        explicit ItemListing( const QList<Item>& items, const
> Akonadi::ItemFetchScope& fetchScope, +                             
>[...]
> -        void connectToFeed( const Feed* );
> +        void connectToFeed( const boost::shared_ptr<const Feed>& feed );
> +        void setFetchScope( const Akonadi::ItemFetchScope& fetchScope );
> +        Akonadi::ItemFetchScope& fetchScope();

Should that really be a reference? It looks like one can change the fetch 
scope behind the back of the ItemListing? Probably there should be a setter 
instead.

-- 
Frank Osterfeld | frank@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
[prev in list] [next in list] [prev in thread] [next in thread] 

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