\section{KService\-Offer Class Reference}
\label{classKServiceOffer}\index{KServiceOffer@{KServiceOffer}}
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.  


{\tt \#include $<$kuserprofile.h$>$}

Collaboration diagram for KService\-Offer:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=76pt]{classKServiceOffer__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KService\-Offer} (const  {\bf KService\-Offer} \&)\label{classKServiceOffer_a1}

\item 
{\bf KService\-Offer} ({\bf KService::Ptr} \_\-service, int \_\-pref, bool \_\-default)\label{classKServiceOffer_a2}

\item 
bool {\bf operator$<$} (const  {\bf KService\-Offer} \&) const \label{classKServiceOffer_a3}

\item 
bool {\bf allow\-As\-Default} () const 
\begin{CompactList}\small\item\em Is it allowed to use this service for default actions (e.g. \item\end{CompactList}\item 
int {\bf preference} () const 
\begin{CompactList}\small\item\em The bigger this number is, the better is this service. \item\end{CompactList}\item 
{\bf KService::Ptr} {\bf service} () const 
\begin{CompactList}\small\item\em The service which this offer is about. \item\end{CompactList}\item 
bool {\bf is\-Valid} () const 
\begin{CompactList}\small\item\em Whether the entry is valid. \item\end{CompactList}\end{CompactItemize}


\subsection{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.

\subsection{Member Function Documentation}
\index{KServiceOffer@{KService\-Offer}!allowAsDefault@{allowAsDefault}}
\index{allowAsDefault@{allowAsDefault}!KServiceOffer@{KService\-Offer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KService\-Offer::allow\-As\-Default () const\hspace{0.3cm}{\tt  [inline]}}\label{classKServiceOffer_a4}


Is it allowed to use this service for default actions (e.g. 

Left Click in a file manager, or {\bf KRun}{\rm (p.\,\pageref{classKRun})} in general) 

Definition at line 50 of file kuserprofile.h.\index{KServiceOffer@{KService\-Offer}!preference@{preference}}
\index{preference@{preference}!KServiceOffer@{KService\-Offer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KService\-Offer::preference () const\hspace{0.3cm}{\tt  [inline]}}\label{classKServiceOffer_a5}


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



Definition at line 54 of file kuserprofile.h.\index{KServiceOffer@{KService\-Offer}!service@{service}}
\index{service@{service}!KServiceOffer@{KService\-Offer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KService::Ptr} KService\-Offer::service () const\hspace{0.3cm}{\tt  [inline]}}\label{classKServiceOffer_a6}


The service which this offer is about. 



Definition at line 58 of file kuserprofile.h.\index{KServiceOffer@{KService\-Offer}!isValid@{isValid}}
\index{isValid@{isValid}!KServiceOffer@{KService\-Offer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KService\-Offer::is\-Valid () const\hspace{0.3cm}{\tt  [inline]}}\label{classKServiceOffer_a7}


Whether the entry is valid. 



Definition at line 62 of file kuserprofile.h.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kuserprofile.h\item 
kuserprofile.cpp\end{CompactItemize}
