#include <kartsfloatwatch.h>
Signals | |
| void | valueChanged (float newValue) |
Public Methods | |
| KArtsFloatWatch (Arts::Object object, const char *stream, QObject *parent=0, const char *name=0) | |
| ~KArtsFloatWatch () | |
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 *w = new KArtsFloatWatch(stereoVolumeControl, "scaleFactor_changed", this); connect(w, SIGNAL(valueChanged(float)), this, SLOT(setValue(float)));
Definition at line 50 of file kartsfloatwatch.h.
|
||||||||||||||||||||
|
Constructor.
|
|
|
Destructor |
|
|
this signal will be emitted with values of the aRts stream |
1.2.18