Re: Passing arguments to application when using KRun::runApplication

2017-10-13 Thread Nate Graham
Don't thank me, thank Kai; he wrote it! Nate On 10/13/2017 05:52 PM, Rodrigo Pelorosso wrote: That's amazing, thank you Nate! On Fri, Oct 13, 2017 at 10:35 PM, Nate Graham > wrote: You probably want KIO::highlightInFileManager(), which was made for exac

Re: Passing arguments to application when using KRun::runApplication

2017-10-13 Thread Rodrigo Pelorosso
That's amazing, thank you Nate! On Fri, Oct 13, 2017 at 10:35 PM, Nate Graham wrote: > You probably want KIO::highlightInFileManager(), which was made for > exactly this purpose. > > Nate > > > > On 10/13/2017 03:55 PM, Rodrigo Pelorosso wrote: > >> Hi! >> >> I have a KService that I've found us

Re: Passing arguments to application when using KRun::runApplication

2017-10-13 Thread Nate Graham
You probably want KIO::highlightInFileManager(), which was made for exactly this purpose. Nate On 10/13/2017 03:55 PM, Rodrigo Pelorosso wrote: Hi! I have a KService that I've found using KMimeTypeTrader::self()->preferredService and let's say I know it's Dolphin. I'd like to run Dolphin t

Passing arguments to application when using KRun::runApplication

2017-10-13 Thread Rodrigo Pelorosso
Hi! I have a KService that I've found using KMimeTypeTrader::self()->preferredService and let's say I know it's Dolphin. I'd like to run Dolphin telling it to open a folder and select a file in particular. I know that from the command line I could do dolphin --select /home/silencer/lines.svg So