qml trash

Marco Martin notmart at gmail.com
Sun Jun 9 13:57:12 UTC 2013


On Sunday 09 June 2013, Heena Mahour wrote:
> @Aaron .Yes,it is working on left clicking on it :P but on right click in
> the original c++ trash can there is a pop up menu which contains open trash
> and empty trash option ,So,for that open trash it is not working ,isn't it?
> Regards

setAction(String name, String text, String icon, String shortcut)

then implementing functions called

function action_name(){}

in the qml root item should work

> @Marco,
> Yes,And what about open trash option?

opening the trash is easy, it is already working with left click no?

> Regards
> 
> On Sun, Jun 9, 2013 at 6:42 PM, Marco Martin <notmart at gmail.com> wrote:
> > On Sunday 09 June 2013, Aaron J. Seigo wrote:
> > > QMetaObject::invokeMethod: No such method
> > > QDeclarativeFlow_QML_0::action_trash()
> > > 
> > > there were other errors in there as well. all are visible by using
> > > plasmoidviewer. i'll push some fixes in a moment that you can look at.
> > 
> > i guess that for emptying the trash a c++ service will have to be
> > created?
> > 
> > 
> > --
> > Marco Martin
> > _______________________________________________
> > Plasma-devel mailing list
> > Plasma-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/plasma-devel


-- 
Marco Martin


More information about the Plasma-devel mailing list