.TH "KArtsFloatWatch" kde3 "11 Jun 2005" "Version Version 3.4.1" "arts Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KArtsFloatWatch \- KArtsFloatWatch offers an easy way to watch aRts streams via \fBQt\fP signals.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kartsfloatwatch.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBvalueChanged\fP (float newValue)"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKArtsFloatWatch\fP (Arts::Object object, const char *stream, \fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "\fB~KArtsFloatWatch\fP ()"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBArts::KFloatWatchProxy_impl\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
KArtsFloatWatch offers an easy way to watch aRts streams via \fBQt\fP signals. 

For instance, if you have an object of the following type:
.PP
.PP
.nf
 interface StereoVolumeControl : StereoEffect {
   attribute float scaleFactor;
   readonly attribute float currentVolumeLeft;
   readonly attribute float currentVolumeRight;
 };
.fi
.PP
.PP
and you want to get notified when scaleFactor changes, you could do it like this:
.PP
.PP
.nf
   StereoVolumeControl stereoVolumeControl = ...;
   KArtsFloatWatch *w = new KArtsFloatWatch(stereoVolumeControl, 'scaleFactor_changed', this);
   connect(w, SIGNAL(valueChanged(float)), this, SLOT(setValue(float)));
.fi
.PP
 
.PP
Definition at line 50 of file kartsfloatwatch.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KArtsFloatWatch::KArtsFloatWatch (Arts::Object object, const char * stream, \fBQObject\fP * parent = \fC0\fP, const char * name = \fC0\fP)"
.PP
Constructor. 
.PP
\fBParameters:\fP
.RS 4
\fIobject\fP the aRts object that should be watched 
.br
\fIstream\fP the aRts stream that should be watched 
.br
\fIparent\fP the parent \fBQt\fP object 
.br
\fIname\fP the \fBQt\fP object name of this object
.RE
.PP

.PP
Definition at line 48 of file kartsfloatwatch.cpp.
.SS "KArtsFloatWatch::~\fBKArtsFloatWatch\fP ()"
.PP
Destructor. 
.PP
Definition at line 56 of file kartsfloatwatch.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KArtsFloatWatch::valueChanged (float newValue)\fC [signal]\fP"
.PP
this signal will be emitted with values of the aRts stream 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for arts Library from the source code.
