qml trash

Aaron J. Seigo aseigo at kde.org
Mon Jun 10 09:38:41 UTC 2013


On Monday, June 10, 2013 00:39:20 Heena Mahour wrote:
> Hey ,
> okay ,now the thing left here is empty trash in which I am not getting how
> to implement :

that you can do with plasmoid.runCommand("ktrash", ["--empty"]);

it is documented here:

http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-LaunchApp


-- 
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130610/e2e140dc/attachment.sig>


More information about the Plasma-devel mailing list