Bug 159051

Summary: Custom filter in KFileDialog
Product: [Applications] kfile Reporter: Ben Boeckel <bugzilla.kde>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: nate, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ben Boeckel 2008-03-10 01:14:50 UTC
Version:            (using KDE 4.0.2)
Installed from:    Fedora RPMs
OS:                Linux

I'd like to be able to filter KFileDialogs on more than just file names. Some applications may want to filter files on more than just the names. There is probably a cleaner way of doing this, but having an addCustomFilter(bool *foo(const KUrl&)) method to add to a KFileDialog that would, in addition to passing through the name filters, pass through the custom filters to hide other filters based on content, or whatever applications may need files to be set to.
Comment 1 Nate Graham 2018-04-13 17:02:29 UTC
Sorry, it doesn't seem like it would be worth it to add such a complicated and niche feature to the file dialogs.