summaryrefslogtreecommitdiffstats
path: root/kolf/kvolumecontrol.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kolf/kvolumecontrol.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 e2aaa464..b2028b77 100644
--- a/kolf/kvolumecontrol.cpp
+++ b/kolf/kvolumecontrol.cpp
@@ -5,14 +5,14 @@
#include "kvolumecontrol.h"
-KVolumeControl::KVolumeControl(Arts::SoundServerV2 server, KPlayObject *parent)
- : TQObject(parent)
+KVolumeControl::KVolumeControl(Arts::SoundServerV2 server, KPlayObject *tqparent)
+ : TQObject(tqparent)
{
init(server);
}
-KVolumeControl::KVolumeControl(double vol, Arts::SoundServerV2 server, KPlayObject *parent)
- : TQObject(parent)
+KVolumeControl::KVolumeControl(double vol, Arts::SoundServerV2 server, KPlayObject *tqparent)
+ : TQObject(tqparent)
{
init(server);
setVolume(vol);
@@ -42,8 +42,8 @@ void KVolumeControl::init(Arts::SoundServerV2 server)
}
volumeControl.start();
- Arts::connect((static_cast<KPlayObject *>(parent()))->object(), "left", volumeControl, "inleft");
- Arts::connect((static_cast<KPlayObject *>(parent()))->object(), "right", volumeControl, "inright");
+ Arts::connect((static_cast<KPlayObject *>(tqparent()))->object(), "left", volumeControl, "inleft");
+ Arts::connect((static_cast<KPlayObject *>(tqparent()))->object(), "right", volumeControl, "inright");
Arts::connect(volumeControl, manager);
}