kate Library API Documentation

KMimeTypeChooserDlg Class Reference

A Dialog to choose some mimetypes. Provides a checkable tree list of mimetypes, with icons and optinally comments and patterns, and an (optional) button to display the mimetype kcontrol module. More...

#include <katedialogs.h>

Inheritance diagram for KMimeTypeChooserDlg:

KDialogBase KDialog QDialog List of all members.

Public Member Functions

 KMimeTypeChooserDlg (QWidget *parent=0, const QString &caption=QString::null, const QString &text=QString::null, const QStringList &selectedMimeTypes=QStringList(), bool editbutton=true, bool showcomment=true, bool showpatterns=true)
QStringList mimeTypes ()
QStringList patterns ()

Detailed Description

A Dialog to choose some mimetypes. Provides a checkable tree list of mimetypes, with icons and optinally comments and patterns, and an (optional) button to display the mimetype kcontrol module.

Parameters:
title 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.
editbutton Whether to display the a "Edit Mimetypes" button.
showcomment If this is true, a column displaying the mimetype's comment will be added to the list view.
showpatterns If this is true, a column displaying the mimetype's patterns will be added to the list view. Added by anders, dec 19, 2001

Definition at line 340 of file katedialogs.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Apr 21 18:45:20 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003