class KFileFilterCombo |
|
|
Creates a new filter combo box.
parent - The parent widget. |
|
Returns the current filter, either something like "*.cpp *.h" or the current mimetype, like "text/html", or a list of those, like " "text/html text/plain image/png", all separated with one space. |
|
Returns the default filter, used when an empty filter is set.
See also setDefaultFilter |
|
|
This signal is emitted whenever the filter has been changed. |
|
Returns all filters (this can be a list of patterns or a list of mimetypes) |
|
Sets the current filter. Filter must match one of the filter items passed before to this widget. |
|
This method allows you to set a default-filter, that is used when an
empty filter is set. Make sure you call this before calling
setFilter().
By default, this is set to i18n("*|All Files") See also defaultFilter |
|
Sets the filter string. |
|
Sets a list of mimetypes. If defaultType is set, it will be set as the current item. Otherwise, a first item showing all the mimetypes will be created. |
|
Returns true if the filter's first item is the list of all mimetypes |