\section{KArts\-Float\-Watch Class Reference}
\label{classKArtsFloatWatch}\index{KArtsFloatWatch@{KArtsFloatWatch}}
KArts\-Float\-Watch offers an easy way to watch a\-Rts streams via {\bf Qt} signals.  


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

Inheritance diagram for KArts\-Float\-Watch:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=63pt]{classKArtsFloatWatch__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KArts\-Float\-Watch:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=63pt]{classKArtsFloatWatch__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf value\-Changed} (float new\-Value)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KArts\-Float\-Watch} (Arts::Object object, const char $\ast$stream, {\bf QObject} $\ast${\bf parent}=0, const char $\ast${\bf name}=0)
\item 
{\bf $\sim$KArts\-Float\-Watch} ()
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Arts::KFloat\-Watch\-Proxy\_\-impl}\label{classKArtsFloatWatch_n0}

\end{CompactItemize}


\subsection{Detailed Description}
KArts\-Float\-Watch offers an easy way to watch a\-Rts streams via {\bf Qt} signals. 

For instance, if you have an object of the following type:



\footnotesize\begin{verbatim} interface StereoVolumeControl : StereoEffect {
   attribute float scaleFactor;
   readonly attribute float currentVolumeLeft;
   readonly attribute float currentVolumeRight;
 };
\end{verbatim}
\normalsize


and you want to get notified when scale\-Factor changes, you could do it like this:



\footnotesize\begin{verbatim}   StereoVolumeControl stereoVolumeControl = ...;
   KArtsFloatWatch *w = new KArtsFloatWatch(stereoVolumeControl, "scaleFactor_changed", this);
   connect(w, SIGNAL(valueChanged(float)), this, SLOT(setValue(float)));
\end{verbatim}
\normalsize
 



Definition at line 50 of file kartsfloatwatch.h.

\subsection{Constructor \& Destructor Documentation}
\index{KArtsFloatWatch@{KArts\-Float\-Watch}!KArtsFloatWatch@{KArtsFloatWatch}}
\index{KArtsFloatWatch@{KArtsFloatWatch}!KArtsFloatWatch@{KArts\-Float\-Watch}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KArts\-Float\-Watch::KArts\-Float\-Watch (Arts::Object {\em object}, const char $\ast$ {\em stream}, {\bf QObject} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0})}\label{classKArtsFloatWatch_a0}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em object}]the a\-Rts object that should be watched \item[{\em stream}]the a\-Rts stream that should be watched \item[{\em parent}]the parent {\bf Qt} object \item[{\em name}]the {\bf Qt} object name of this object\end{description}
\end{Desc}


Definition at line 48 of file kartsfloatwatch.cpp.\index{KArtsFloatWatch@{KArts\-Float\-Watch}!~KArtsFloatWatch@{$\sim$KArtsFloatWatch}}
\index{~KArtsFloatWatch@{$\sim$KArtsFloatWatch}!KArtsFloatWatch@{KArts\-Float\-Watch}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KArts\-Float\-Watch::$\sim${\bf KArts\-Float\-Watch} ()}\label{classKArtsFloatWatch_a1}


Destructor. 



Definition at line 56 of file kartsfloatwatch.cpp.

\subsection{Member Function Documentation}
\index{KArtsFloatWatch@{KArts\-Float\-Watch}!valueChanged@{valueChanged}}
\index{valueChanged@{valueChanged}!KArtsFloatWatch@{KArts\-Float\-Watch}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KArts\-Float\-Watch::value\-Changed (float {\em new\-Value})\hspace{0.3cm}{\tt  [signal]}}\label{classKArtsFloatWatch_l0}


this signal will be emitted with values of the a\-Rts stream 



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