KDECore
kserviceoffer.cpp
Go to the documentation of this file.
50 KServiceOffer::KServiceOffer( const KService::Ptr& _service, int _pref, int mimeTypeInheritanceLevel, bool _default )
void setMimeTypeInheritanceLevel(int level)
When copying an offer from a parent mimetype, remember that it's an inherited capability (for sorting...
Definition: kserviceoffer.cpp:119
KServiceOffer & operator=(const KServiceOffer &other)
Assignment operator.
Definition: kserviceoffer.cpp:64
KService::Ptr service() const
The service which this offer is about.
Definition: kserviceoffer.cpp:109
int preference() const
The bigger this number is, the better is this service.
Definition: kserviceoffer.cpp:99
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:74
bool allowAsDefault() const
Is it allowed to use this service for default actions (e.g.
Definition: kserviceoffer.cpp:94
void setPreference(int p)
The bigger this number is, the better is this service.
Definition: kserviceoffer.cpp:104
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.