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

List:       kde-panel-devel
Subject:    Re: [Panel-devel] Applet updating
From:       Percy Leonhardt <mailings () eris23 ! de>
Date:       2007-09-16 19:33:07
Message-ID: 200709162133.07597.mailings () eris23 ! de
[Download RAW message or body]

On Sunday 16 September 2007, Petri Damsten wrote:
> OK. Still feels a little confusing to me. DataEngines like TimeEngine
> don't 'create' source just call setData and there doesn't seem to be
> function to just create one if you don't have data (other than calling
> setData with some empty values)

Hi,

I am using

    Plasma::DataContainer* dc = new Plasma::DataContainer( this );
    dc->setObjectName(name);
    addSource( dc );

in sourceRequested to create a new source.

	Percy
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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