KServiceOffer Class Reference
This class holds the characteristics of a service offer (whether it can be a default offer or not, how big is the preference for this offer, ...) Holds the characteristics of a service offer. More...
#include <kuserprofile.h>
Public Member Functions | |
KServiceOffer (const KServiceOffer &) | |
KServiceOffer (KService::Ptr _service, int _pref, bool _default) | |
bool | operator< (const KServiceOffer &) const |
bool | allowAsDefault () const |
Is it allowed to use this service for default actions (e.g. | |
int | preference () const |
The bigger this number is, the better is this service. | |
KService::Ptr | service () const |
The service which this offer is about. | |
bool | isValid () const |
Whether the entry is valid. |
Detailed Description
This class holds the characteristics of a service offer (whether it can be a default offer or not, how big is the preference for this offer, ...) Holds the characteristics of a service offer.
Definition at line 37 of file kuserprofile.h.
Member Function Documentation
|
Is it allowed to use this service for default actions (e.g. Left Click in a file manager, or KRun in general) Definition at line 50 of file kuserprofile.h. |
|
The bigger this number is, the better is this service.
Definition at line 54 of file kuserprofile.h. |
|
The service which this offer is about.
Definition at line 58 of file kuserprofile.h. |
|
Whether the entry is valid.
Definition at line 62 of file kuserprofile.h. |
The documentation for this class was generated from the following files: