KService
kserviceoffer.cpp
39KServiceOffer::KServiceOffer(const KService::Ptr &_service, int _pref, int mimeTypeInheritanceLevel)
void setPreference(int p)
The bigger this number is, the better is this service.
Definition kserviceoffer.cpp:78
void setMimeTypeInheritanceLevel(int level)
When copying an offer from a parent MIME type, remember that it's an inherited capability (for sortin...
Definition kserviceoffer.cpp:93
KServiceOffer & operator=(const KServiceOffer &other)
Assignment operator.
Definition kserviceoffer.cpp:49
bool operator<(const KServiceOffer &) const
A service is bigger that the other when it can be default (and the other is not) and its preference v...
Definition kserviceoffer.cpp:59
int preference() const
The bigger this number is, the better is this service.
Definition kserviceoffer.cpp:73
QDebug & nospace()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.