[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Help with plasmoid development.
From: Arthur Taborda <arthur.hvt () gmail ! com>
Date: 2013-02-17 1:08:16
Message-ID: CAGRsUUDyUOyuDgEAXSdnYeLToSc8fv03-J5=i0BZ5hW8b2=BOQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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 :)
My plasmoid is in KDE Look and in github:
http://kde-apps.org/content/show.php/Tomatoid?content=152459
https://github.com/arthurtaborda/Tomatoid
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:
function notify(summary, body) {
var engine = dataEngine("notifications");
var service = engine.serviceForSource("notification");
var op = service.operationDescription("createNotification");
op["appName"] = tomatoid.appName;
op["appIcon"] = "chronometer"
op["summary"] = summary;
op["body"] = body;
op["timeout"] = 7000;
service.startOperationCall(op);
console.log(op)
}
I don't receive any error messages.
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.
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?
Thanks for your help. :)
--
Arthur Taborda
[Attachment #5 (text/html)]
<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>
_______________________________________________
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