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 Fri May 17 2024 11:47:58 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.