[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Mimetypes and associated programs
From: Ralf Schneider <ralf () tapfere-schneiderleins ! de>
Date: 2003-02-26 9:05:26
[Download RAW message or body]
Am Mittwoch, 26. Februar 2003 09:56 schrieb Kevin Krammer:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mittwoch, 26. Februar 2003 08:42, Ralf Schneider wrote:
> > Where does KDE store the information which application is started when
> > I click on a PDF file in konqueror? I have to develop a Qt application
> > that should use the KDE associations for viewing external documents
> > (e.g. PDF or PS files).
> >
> > Any hints?
>
> You could have a look at KRun in kdelibs/kio/
I did that already, but the mechanism with service types and mime types is not
quite easy to understand and to transform into a Qt program :-)
> Another and maybe easier option is to let kfmclient do the work.
> You just execute kfmclient with the file in question:
> #> kfmclient exec some.pdf
> #> kfmclient exec some.jpg
That's what I was looking for! Thanks!
Ralf.
>> 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