KArtsFloatWatch Class Reference
#include <kartsfloatwatch.h>
Inherits TQObject.
Signals | |
void | valueChanged (float newValue) |
Public Member Functions | |
KArtsFloatWatch (Arts::Object object, const char *stream, TQObject *parent=0, const char *name=0) | |
~KArtsFloatWatch () | |
Friends | |
class | Arts::KFloatWatchProxy_impl |
Detailed Description
KArtsFloatWatch offers an easy way to watch aRts streams via Qt signals.
For instance, if you have an object of the following type:
interface StereoVolumeControl : StereoEffect {
attribute float scaleFactor;
readonly attribute float currentVolumeLeft;
readonly attribute float currentVolumeRight;
};
and you want to get notified when scaleFactor changes, you could do it like this:
StereoVolumeControl stereoVolumeControl = ...;
KArtsFloatWatch offers an easy way to watch aRts streams via Qt signals.
Definition: kartsfloatwatch.h:50
void valueChanged(float newValue)
this signal will be emitted with values of the aRts stream
KArtsFloatWatch(Arts::Object object, const char *stream, TQObject *parent=0, const char *name=0)
Constructor.
Definition: kartsfloatwatch.cpp:48
Definition at line 50 of file kartsfloatwatch.h.
Constructor & Destructor Documentation
◆ KArtsFloatWatch()
KArtsFloatWatch::KArtsFloatWatch | ( | Arts::Object | object, |
const char * | stream, | ||
TQObject * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Constructor.
- Parameters
-
object the aRts object that should be watched stream the aRts stream that should be watched parent the parent Qt object name the Qt object name of this object
Definition at line 48 of file kartsfloatwatch.cpp.
◆ ~KArtsFloatWatch()
KArtsFloatWatch::~KArtsFloatWatch | ( | ) |
Destructor.
Definition at line 56 of file kartsfloatwatch.cpp.
Member Function Documentation
◆ valueChanged
|
signal |
this signal will be emitted with values of the aRts stream
The documentation for this class was generated from the following files: