KMimeTypeChooser Class Reference
This widget provides a checkable list of all available mimetypes, and a list of selected ones, as well as a corresponding list of file extensions, an optional text and an optional edit button (not working yet). More...
#include <kmimetypechooser.h>
Inheritance diagram for KMimeTypeChooser:


Public Types | |
enum | Visuals { Comments = 1, Patterns = 2, EditButton = 4 } |
Public Slots | |
void | editMimeType () |
Public Member Functions | |
KMimeTypeChooser (const QString &text=QString::null, const QStringList &selectedMimeTypes=0, const QString &defaultGroup=QString::null, const QStringList &groupsToShow=QStringList(), int visuals=Comments|Patterns|EditButton, QWidget *parent=0, const char *name=0) | |
QStringList | mimeTypes () const |
QStringList | patterns () const |
Detailed Description
This widget provides a checkable list of all available mimetypes, and a list of selected ones, as well as a corresponding list of file extensions, an optional text and an optional edit button (not working yet).Mime types is presented in a list view, with name, comment and patterns columns.
- Author:
- Anders Lund (anders at alweb dk), jan 23, 2002
Definition at line 34 of file kmimetypechooser.h.
Member Enumeration Documentation
|
Buttons and data for display.
Definition at line 42 of file kmimetypechooser.h. |
Constructor & Destructor Documentation
|
Create a new KMimeTypeChooser.
Definition at line 50 of file kmimetypechooser.cpp. References editMimeType(). |
Member Function Documentation
|
Definition at line 217 of file kmimetypechooser.cpp. |
|
Definition at line 229 of file kmimetypechooser.cpp. References KMimeType::defaultMimeType(), and KMimeType::mimeType(). |
|
edit the current mimetype Uses KRun to start the KDE mimetype editor for editing the currently selected mimetype.
Definition at line 190 of file kmimetypechooser.cpp. References KRun::runCommand(). Referenced by KMimeTypeChooser(). |
The documentation for this class was generated from the following files: