[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KStandardDirs::locate() no worky ?
From:       Stephan Kulow <coolo () kde ! org>
Date:       2009-05-12 11:30:44
Message-ID: 200905121330.45250.coolo () kde ! org
[Download RAW message or body]

Am Dienstag 12 Mai 2009 schrieb David Boosalis:
> I am having trouble implementing KStandardDirs::locate();
>
> Here is what I have:
>
>  QString pathToDesktopFile = KStandardDirs::locate("apps",
>                                                   "konqueror");

That will be share/applications/konqueror - and I doubt you have such a file.

But what you want to do is KToolInvocation::invokeBrowser("www.sun.com");

See 
http://techbase.kde.org/Development/Architecture/KDE4/Starting_Other_Programs

Greetings, Stephan

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic