# class KServiceOffer | Holds the characteristics of a service offer. More...
Definition | `#include <kuserprofile.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KServiceOffer ()
- KServiceOffer ( const KServiceOffer& )
- KServiceOffer ( KService::Ptr _service, int _pref, bool _default )
- bool operator< ( const KServiceOffer& ) const
- bool allowAsDefault () const
- int preference () const
- KService::Ptr service () const
- bool isValid () const

## 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, ...)

KServiceOffer () | ### KServiceOffer

KServiceOffer ( const KServiceOffer& ) | ### KServiceOffer

KServiceOffer ( KService::Ptr _service, int _pref, bool _default ) | ### KServiceOffer

bool operator< ( const KServiceOffer& ) | ### operator<

[const]

bool allowAsDefault () | ### allowAsDefault

[const]

Is it allowed to use this service for default actions (e.g. Left Click in a file manager, or KRun in general)

int preference () | ### preference

[const]

The bigger this number is, the better is this service.

KService::Ptr service () | ### service

[const]

The service which this offer is about.

bool isValid () | ### isValid

[const]

Whether the entry is valid

Generated by: root@sparc.ports.openbsd.org on Wed May 2 09:40:40 2001, using kdoc 2.0a53.