qml trash

Aaron J. Seigo aseigo at kde.org
Sun Jun 9 12:51:42 UTC 2013


On Sunday, June 9, 2013 16:23:31 Heena Mahour wrote:
> Hey all ,one more query is that  in order to open trash:/ what should I
> write in engine: and connectedSources

you should not be using a DataEngine for this, but rather plasmoid.openUrl.

here's the good news: it works perfectly here. i start the plasmoid, click on 
it and sure enough -> the trash folder opens in dolphin.

so i'm not sure why it is not working for you. what version of KDE SC are you 
using? (e.g. what does this say when run from a console: kde4-config --version)

also, please be careful with the formating of the source code. i see you are 
mixing tabs and spaces, not indenting things consistently, etc. we can not 
merge the code until it is consistent and follows the coding standards.

for reference:

	http://community.kde.org/Plasma/QMLStyle
	http://techbase.kde.org/Policies/Kdelibs_Coding_Style


-- 
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/20130609/0a5aa41c/attachment.sig>


More information about the Plasma-devel mailing list