Bug 159051 - Custom filter in KFileDialog
Summary: Custom filter in KFileDialog
Status: RESOLVED INTENTIONAL
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-10 01:14 UTC by Ben Boeckel
Modified: 2018-04-13 17:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.