<div dir="ltr">Hey ,<div>okay ,now the thing left here is empty trash in which I am not getting how to implement :</div><div> KStandardDirs<span style="color:rgb(0,0,0)">::</span>findExe<span style="color:rgb(0,0,0)">(</span><span style="color:rgb(0,128,0)">"ktrash"</span><span style="color:rgb(0,0,0)">)</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,0)"><<</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"--empty"</span><span style="color:rgb(0,0,0)">;</span></div>


<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,0,0)">m_emptyProcess</span><span style="color:rgb(0,0,0)">-></span>start<span style="color:rgb(0,0,0)">();</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,0)">in javascript (or c++ ? ) </span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,0)">I will push the rest of the changes I made in some time as it is giving an error of remote rejected .</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,0)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,0)">Regards</span></pre></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Jun 9, 2013 at 8:20 PM, Kevin Krammer <span dir="ltr"><<a href="mailto:krammer@kde.org" target="_blank">krammer@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sunday, 2013-06-09, Marco Martin wrote:<br>
> On Sunday 09 June 2013, Aaron J. Seigo wrote:<br>
> > QMetaObject::invokeMethod: No such method<br>
> > QDeclarativeFlow_QML_0::action_trash()<br>
> ><br>
> > there were other errors in there as well. all are visible by using<br>
> > plasmoidviewer. i'll push some fixes in a moment that you can look at.<br>
><br>
> i guess that for emptying the trash a c++ service will have to be created?<br>
<br>
</div>Unless you have the option to run an executable with arguments, in which case<br>
you could run<br>
ktrash --empty<br>
<br>
Cheers,<br>
Kevin<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Kevin Krammer, KDE developer, xdg-utils developer<br>
KDE user support, developer mentoring<br>
</font></span><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div style="text-align:left"><div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255)"><span style="font-family:'lucida console',sans-serif">-Heena</span></span></div>
<div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255);font-family:'lucida console',sans-serif;font-size:small">Season of kde'12 participant<br>
</span></div><div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255);font-family:'lucida console',sans-serif;font-size:small">Delhi College of Engineering(COE),India<br>
</span></div><div><span style="background-color:rgb(255,255,255);line-height:15px"><font face="lucida console, sans-serif"><a href="http://about.me/heena.mahour" target="_blank">http://about.me/heena.mahour</a></font></span></div>
<div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255)"><span style="font-family:'lucida console',sans-serif;font-size:small"><a href="http://heenamahour.blogspot.in/" style="color:blue!important" target="_blank">http://heenamahour.blogspot.in</a><br>
</span></span></div><div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span style="background-color:rgb(255,255,255)"><br></span></div></div>
</div>