summaryrefslogtreecommitdiffstats
path: root/kolf/kvolumecontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/kvolumecontrol.cpp')
-rw-r--r--kolf/kvolumecontrol.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kolf/kvolumecontrol.cpp b/kolf/kvolumecontrol.cpp
index b2028b77..e2aaa464 100644
--- a/kolf/kvolumecontrol.cpp
+++ b/kolf/kvolumecontrol.cpp
@@ -5,14 +5,14 @@
#include "kvolumecontrol.h"
-KVolumeControl::KVolumeControl(Arts::SoundServerV2 server, KPlayObject *tqparent)
- : TQObject(tqparent)
+KVolumeControl::KVolumeControl(Arts::SoundServerV2 server, KPlayObject *parent)
+ : TQObject(parent)
{
init(server);
}
-KVolumeControl::KVolumeControl(double vol, Arts::SoundServerV2 server, KPlayObject *tqparent)
- : TQObject(tqparent)
+KVolumeControl::KVolumeControl(double vol, Arts::SoundServerV2 server, KPlayObject *parent)
+ : TQObject(parent)
{
init(server);
setVolume(vol);
@@ -42,8 +42,8 @@ void KVolumeControl::init(Arts::SoundServerV2 server)
}
volumeControl.start();
- Arts::connect((static_cast<KPlayObject *>(tqparent()))->object(), "left", volumeControl, "inleft");
- Arts::connect((static_cast<KPlayObject *>(tqparent()))->object(), "right", volumeControl, "inright");
+ Arts::connect((static_cast<KPlayObject *>(parent()))->object(), "left", volumeControl, "inleft");
+ Arts::connect((static_cast<KPlayObject *>(parent()))->object(), "right", volumeControl, "inright");
Arts::connect(volumeControl, manager);
}