\section{KConfig\-Skeleton::Item\-Double Class Reference}
\label{classKConfigSkeleton_1_1ItemDouble}\index{KConfigSkeleton::ItemDouble@{KConfigSkeleton::ItemDouble}}
Class for handling a floating point preference item.  


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

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Item\-Double} (const {\bf QString} \&group, const {\bf QString} \&key, double \&reference, double default\-Value=0)\label{classKConfigSkeleton_1_1ItemDouble_a0}

\item 
void {\bf read\-Config} ({\bf KConfig} $\ast$config)
\item 
void {\bf set\-Property} (const {\bf QVariant} \&p)
\item 
{\bf QVariant} {\bf property} () const 
\item 
{\bf QVariant} {\bf min\-Value} () const 
\item 
{\bf QVariant} {\bf max\-Value} () const 
\item 
void {\bf set\-Min\-Value} (double)\label{classKConfigSkeleton_1_1ItemDouble_a6}

\item 
void {\bf set\-Max\-Value} (double)\label{classKConfigSkeleton_1_1ItemDouble_a7}

\end{CompactItemize}


\subsection{Detailed Description}
Class for handling a floating point preference item. 



Definition at line 627 of file kconfigskeleton.h.

\subsection{Member Function Documentation}
\index{KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}!readConfig@{readConfig}}
\index{readConfig@{readConfig}!KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KConfig\-Skeleton::Item\-Double::read\-Config ({\bf KConfig} $\ast$ {\em config})\hspace{0.3cm}{\tt  [virtual]}}\label{classKConfigSkeleton_1_1ItemDouble_a1}


This function is called by {\bf KConfig\-Skeleton}{\rm (p.\,\pageref{classKConfigSkeleton})} to read the value for this setting from a config file. 

value. 

Implements {\bf KConfig\-Skeleton\-Item} {\rm (p.\,\pageref{classKConfigSkeletonItem_a12})}.

Definition at line 574 of file kconfigskeleton.cpp.

References KConfig\-Skeleton\-Item::read\-Immutability().\index{KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}!setProperty@{setProperty}}
\index{setProperty@{setProperty}!KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KConfig\-Skeleton::Item\-Double::set\-Property (const {\bf QVariant} \& {\em p})\hspace{0.3cm}{\tt  [virtual]}}\label{classKConfigSkeleton_1_1ItemDouble_a2}


Set item to {\tt p}. 



Implements {\bf KConfig\-Skeleton\-Item} {\rm (p.\,\pageref{classKConfigSkeletonItem_a15})}.

Definition at line 587 of file kconfigskeleton.cpp.

References QVariant::to\-Double().\index{KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}!property@{property}}
\index{property@{property}!KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QVariant} KConfig\-Skeleton::Item\-Double::property () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKConfigSkeleton_1_1ItemDouble_a3}


Return item as property. 



Implements {\bf KConfig\-Skeleton\-Item} {\rm (p.\,\pageref{classKConfigSkeletonItem_a16})}.

Definition at line 592 of file kconfigskeleton.cpp.\index{KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}!minValue@{minValue}}
\index{minValue@{minValue}!KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QVariant} KConfig\-Skeleton::Item\-Double::min\-Value () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKConfigSkeleton_1_1ItemDouble_a4}


Return minimum value of item or invalid if not specified. 



Reimplemented from {\bf KConfig\-Skeleton\-Item} {\rm (p.\,\pageref{classKConfigSkeletonItem_a17})}.

Definition at line 597 of file kconfigskeleton.cpp.\index{KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}!maxValue@{maxValue}}
\index{maxValue@{maxValue}!KConfigSkeleton::ItemDouble@{KConfig\-Skeleton::Item\-Double}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QVariant} KConfig\-Skeleton::Item\-Double::max\-Value () const\hspace{0.3cm}{\tt  [virtual]}}\label{classKConfigSkeleton_1_1ItemDouble_a5}


Return maximum value of item or invalid if not specified. 



Reimplemented from {\bf KConfig\-Skeleton\-Item} {\rm (p.\,\pageref{classKConfigSkeletonItem_a18})}.

Definition at line 604 of file kconfigskeleton.cpp.

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