<div dir="ltr"><div>Hi. I am developing a pomodoro timer plasmoid in QML. The documentation unfortunately is not so helpful yet, so I need some help right now :)<br><br></div>My plasmoid is in KDE Look and in github:<br><br>
<a href="http://kde-apps.org/content/show.php/Tomatoid?content=152459">http://kde-apps.org/content/show.php/Tomatoid?content=152459</a><span style="font-weight:normal"><font><br><a href="https://github.com/arthurtaborda/Tomatoid">https://github.com/arthurtaborda/Tomatoid</a></font></span><br>
<div><br>1) My plasmoid was doing KDE Notifications just fine in 4.8 and 4.9, but
in 4.10 they are not working anymore, with the following code:<br><br>function notify(summary, body) {<br> var engine = dataEngine("notifications");<br> var service = engine.serviceForSource("notification");<br>
var op = service.operationDescription("createNotification");<br> op["appName"] = tomatoid.appName;<br> op["appIcon"] = "chronometer"<br> op["summary"] = summary;<br>
op["body"] = body;<br> op["timeout"] = 7000;<br><br> service.startOperationCall(op);<br><br> console.log(op)<br>}<br><br>I don't receive any error messages.<br><br></div><div>2) Tomatoid will have a option to show a kdialog instead of a notification when a pomodoro ends, because usually the user miss the notification. So I need to know how to show a dialog.<br>
</div><div><br></div><div>3)
I have to use some elements of Qt.multimedia in my plasmoid. Apparently, I need to install the package qt-mobility. So, how to require this package to install my plasmoid?<br><br>Thanks for your help. :)<br clear="all">
<div><br>-- <br>Arthur Taborda
</div></div></div>