[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:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-11-27 12:04:38
[Download RAW message or body]

On Tue, Nov 27, 2001 at 02:50:52PM +0100, Marc Mutz wrote:
> 
> I want to use a KURLRequester to let the user specify an editor. How can 
> I request that only executables (in the sense that the current user can 
> execute them) be shown.
> setFilter("application/x-executable")?
> or do I have to include all shell scripts, python scripts, perl scripts, 
> ...., too?

Good question. I guess you want to filter for the "x-bit", instead of mimetypes,
but that's not possible yet. It will be possible, once I (or someone else if
anyone has time) integrate the KFileFilter class everywhere.

Cheers
Carsten Pfeiffer
 
>> 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