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:
Hi.
@Aaron : That works :)
Thanks
Regards
On Mon, Jun 10, 2013 at 3:08 PM, Aaron J. Seigo ase...@kde.org wrote:
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
Hey all ,one more query is that in order to open trash:/ what should I
write in engine: and connectedSources
here :
PlasmaCore.DataSource {
id: dataEngine
engine://what should be I include here among the data engine
connectedSources: [??] }
On Sun, Jun 9, 2013 at
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
On Saturday, June 8, 2013 23:50:31 Heena Mahour wrote:
Hi , I am trying to implement qml plasmoid of trash , in the action menu
for statement KRun::runUrl(KUrl(trash:/), inode/directory, 0); I
implemented it is qml like this :http://pastebin.com/raw.php?i=266L3Hx0 but
it is not opening trash
On Saturday, June 8, 2013 23:50:31 Heena Mahour wrote:
Hi , I am trying to implement qml plasmoid of trash , in the action menu
for statement KRun::runUrl(KUrl(trash:/), inode/directory, 0); I
implemented it is qml like this :http://pastebin.com/raw.php?i=266L3Hx0 but
it is not opening trash
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
@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
@Marco,
Yes,And what about open trash option?
Regards
On Sun,
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
On Sunday, 2013-06-09, Marco Martin 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
Hey ,
okay ,now the thing left here is empty trash in which I am not getting how
to implement :
KStandardDirs::findExe(ktrash) --empty;
m_emptyProcess-start();
in javascript (or c++ ? )
I will push the rest of the changes I made in some time as it is
giving an error of remote rejected .
Hi , I am trying to implement qml plasmoid of trash , in the action menu
for statement KRun::runUrl(KUrl(trash:/), inode/directory, 0); I
implemented it is qml like this :http://pastebin.com/raw.php?i=266L3Hx0 but
it is not opening trash could you tell what modifications are needed here ?
regards
bit of a shot in the dark here, but what are the .desktop permissions
set to? i'm guessing it needs some set..
--
Shaun Reich,
KDE Software Developer (kde.org)
___
Plasma-devel mailing list
Plasma-devel@kde.org
Hi,
Make sure you have requested the run application extension in the metadata
desktop file. Otherwise that call will not work.
http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-Extensions
Heena Mahour heena...@gmail.com schrieb:
Also use openUrl instead of LaunchApplication
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
15 matches
Mail list logo