Create a KMimeTypeChooser dialog.
caption - The title of the dialog
text - A Text to display above the list
selectedMimeTypes - A list of mimetype names, theese will be
checked in the list if they exist.
patterns will be added to the list view.
visuals - A OR'd KMimetypeChooser.Visuals enum to decide which data
and buttons to display.
defaultGroup - The group to open when no groups are selected (like
"text"). If not provided, no group is opened. If groupsToShow
is provided and defaultGroup is not a member of that, it is ignored.
groupsToShow - a list of mimetype groups to show. If empty, all
groups are shown.
parent - The parent widget to use
|