From kde-usability Mon May 19 09:09:10 2003 From: David Faure Date: Mon, 19 May 2003 09:09:10 +0000 To: kde-usability Subject: Re: [Patch] #29984 Change file permission using octal numbers X-MARC-Message: https://marc.info/?l=kde-usability&m=105334779632018 On Sunday 18 May 2003 19:06, Waldo Bastian wrote: > > I think that it is needed in the simple dialog though, since it is frequently > > required when downloading installation scripts. Unless, maybe, someone > > tells me an easy way to find out whether a KFileItem is an executable > > (either ELF binary or #! script). Then it could be hidden for all others. > > If/when our mimetypes support Is-Also we can mark the corresponding mimetypes > as being "also application/x-executable" or something like that. The current method is copying or calling: bool BrowserRun::isExecutable( const QString &serviceType ) { return ( serviceType == "application/x-desktop" || serviceType == "application/x-executable" || serviceType == "application/x-msdos-program" || serviceType == "application/x-shellscript" ); } -- David FAURE, faure@kde.org, sponsored by TrollTech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). Qtella users - stability patches at http://blackie.dk/~dfaure/qtella.html _______________________________________________ kde-usability mailing list kde-usability@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-usability