19 #ifndef _KMIMETYPE_CHOOSER_H_
20 #define _KMIMETYPE_CHOOSER_H_
23 #include <kdialogbase.h>
63 const TQStringList &selectedMimeTypes=0,
64 const TQString &defaultGroup=TQString::null,
65 const TQStringList &groupsToShow=TQStringList(),
66 int visuals=Comments|Patterns|EditButton,
67 TQWidget *parent=0,
const char *name=0 );
73 TQStringList mimeTypes()
const;
77 TQStringList patterns()
const;
91 void slotCurrentChanged(TQListViewItem* i);
97 void slotSycocaDatabaseChanged();
105 void loadMimeTypes(
const TQStringList &selected=TQStringList() );
107 class KMimeTypeChooserPrivate *d;
153 const TQString& text=TQString::null,
154 const TQStringList &selectedMimeTypes=TQStringList(),
155 const TQString &defaultGroup=TQString::null,
156 const TQStringList &groupsToShow=TQStringList(),
158 TQWidget *parent=0,
const char *name=0 );
164 const TQString& text,
165 const TQStringList &selectedMimeTypes,
166 const TQString &defaultGroup,
167 TQWidget *parent=0,
const char *name=0 );
A Dialog to choose some mimetypes.
KMimeTypeChooser * chooser()
This widget provides a checkable list of all available mimetypes, and a list of selected ones,...
Visuals
Buttons and data for display.
@ Patterns
Show the Mimetypes Patterns field in a column ("*.html;*.htm").
@ EditButton
Show the "Edit" button, allowing to edit the selected type.
@ Comments
Show the Mimetypes Comment field in a column ("HTML Document").