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

List:       kde-commits
Subject:    Re: KDE/kdeplasma-addons/applets/rememberthemilk
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-10-18 18:17:54
Message-ID: 200910182017.55063.notmart () gmail ! com
[Download RAW message or body]

On Sunday 18 October 2009, Chani wrote:
> >    Plasma::Applet::init();
> > +  setAssociatedApplicationUrls(KUrl("http://remeberthemilk.com"));
> >  }
> 
> Urls, plural? but it only takes one?
> 
it takes a KUrl::List, then passing a single one is just like  
setAssociatedApplicationUrls(KUrl::List(KUrl("http://remeberthemilk.com")));

actually i see that method is nearly always used with a single one, i'm 
starting to wonder if accepting only one would have been more than enough...

-- 
Marco Martin
[prev in list] [next in list] [prev in thread] [next in thread] 

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