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

List:       kde-panel-devel
Subject:    Re: Add multiple feeds to rssnow (Qml) plasmoid
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-12-17 9:37:09
Message-ID: 201112171037.09346.notmart () gmail ! com
[Download RAW message or body]

On Saturday 17 December 2011, Antonis Tsiapaliokas wrote:
> Hello
> 
> I am creating a patch, for adding multiple feeds to rssnow (Qml) plasmoid,
> but i have stuck and i need some help.
> The c++ plasmoid is using signals and custom slots to add/remove feeds from
> the plasmoid.
> And here is where i stuck. How exactly can i add a custom "slot" to the
> rssnow (Qml) plasmoid without using c++?
> 

to be able to have multiple feeds, just do the right things in the 
configurationChanged() function (in javascript, main qml file)

to have slots, just implement an onSignal: function 

or if you need to connect to a signal from another item, use the Connections 
item:
http://developer.qt.nokia.com/doc/qt-4.8/qml-connections.html

Cheers, 
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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