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

List:       kde-panel-devel
Subject:    Re: Help with plasmoid development.
From:       Arthur Taborda <arthur.hvt () gmail ! com>
Date:       2013-02-18 21:09:12
Message-ID: CAGRsUUBaX3BimxAPK9SRGpKkxxeScGAn1sXtevw6u5hu7yYhuQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Please, can someone help me with these little issues? I would be really
grateful.

Thanks.


2013/2/16 Arthur Taborda <arthur.hvt@gmail.com>

> 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
>



-- 
Arthur Taborda

[Attachment #5 (text/html)]

<div dir="ltr"><div>Please, can someone help me with these little issues? I would be \
really grateful.<br><br></div>Thanks.<br><div class="gmail_extra"><br><br><div \
class="gmail_quote">2013/2/16 Arthur Taborda <span dir="ltr">&lt;<a \
href="mailto:arthur.hvt@gmail.com" \
target="_blank">arthur.hvt@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><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" \
target="_blank">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" \
target="_blank">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(&quot;notifications&quot;);<br>    var service = \
engine.serviceForSource(&quot;notification&quot;);<br>


    var op = service.operationDescription(&quot;createNotification&quot;);<br>    \
op[&quot;appName&quot;] = tomatoid.appName;<br>    op[&quot;appIcon&quot;] = \
&quot;chronometer&quot;<br>    op[&quot;summary&quot;] = summary;<br>


    op[&quot;body&quot;] = body;<br>    op[&quot;timeout&quot;] = 7000;<br><br>    \
service.startOperationCall(op);<br><br>    console.log(op)<br>}<br><br>I don&#39;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. :)<span class="HOEnZb"><font \
color="#888888"><br clear="all">


<div><br>-- <br>Arthur Taborda
</div></font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Arthur Taborda
</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