KMimeTypeEditor

KMimeTypeEditor Namespace Reference

Functions

void editMimeType (const QString &mimeType, QWidget *widget)
 

Detailed Description

This namespace provides a method for starting the file types editor.

Since
5.4

Function Documentation

◆ editMimeType()

void KMimeTypeEditor::editMimeType ( const QString & mimeType,
QWidget * widget )

Starts the file types editor for a given MIME type.

Displays an error message if the mimetype editing tool (keditfiletype) couldn't be launched.

Parameters
mimeTypethe MIME type to edit, e.g. "text/plain"
widgetthe parent widget
Since
5.4

Definition at line 17 of file kmimetypeeditor.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.