KDED
KMimeAssociations Class Reference
#include <kmimeassociations.h>
Public Member Functions | |
KMimeAssociations (KOfferHash &offerHash) | |
bool | parseAllMimeAppsList () |
void | parseMimeAppsList (const QString &file, int basePreference) |
Detailed Description
Parse mimeapps.list files and:
- modify mimetype associations in the relevant services (using KServiceFactory)
- remember preferrence order specified by user
Definition at line 62 of file kmimeassociations.h.
Constructor & Destructor Documentation
◆ KMimeAssociations()
|
explicit |
Definition at line 31 of file kmimeassociations.cpp.
Member Function Documentation
◆ parseAllMimeAppsList()
bool KMimeAssociations::parseAllMimeAppsList | ( | ) |
Definition at line 53 of file kmimeassociations.cpp.
◆ parseMimeAppsList()
void KMimeAssociations::parseMimeAppsList | ( | const QString & | file, |
int | basePreference | ||
) |
Definition at line 72 of file kmimeassociations.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.