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

List:       kde-devel
Subject:    Re: How to teach KURLRequester/KFileDialog to filter for executables?
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2001-11-27 17:45:49
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 27 November 2001 12:52, David Faure wrote:
<snip>
> bool KonqRun::isExecutable( const QString &serviceType )
> {
>     return ( serviceType == "application/x-desktop" ||
>              serviceType == "application/x-executable" ||
>              serviceType == "application/x-shellscript" );
> }

Thanks. So I will use that for now and add a "FIXME: use x-bit when 
available"...

> Strange, I don't know what happens with python, perl, etc. scripts...
> Either they come up as one of the above, or they're currently omitted
> and nobody noticed :}

Maybe it would be a start to define what app/x-executable really 
means... It's only listed file extension is .exe, and all the other 
types I can think of (except a.out and elf) have their own mimetypes...
So it is supposed to mean "a.out or elf or <add your systems binary 
foramt here>", no?

Marc

- -- 
Ein Grundrecht auf Sicherheit steht bewusst nicht in der Verfassung.
  -- Sabine Leutheusser-Schnarrenberger (ehem. Bundesjustizministerin)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8A+4a3oWD+L2/6DgRAieeAKCXMnsLFfbKJYRCMWwhzc2MeX6qywCfRAft
k/tNnwErcFKPZqYKljdbilc=
=SQ7A
-----END PGP SIGNATURE-----


>> 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