summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/AudioFaderBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/AudioFaderBox.cpp')
-rw-r--r--src/gui/widgets/AudioFaderBox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/AudioFaderBox.cpp b/src/gui/widgets/AudioFaderBox.cpp
index f544003..4c8e76c 100644
--- a/src/gui/widgets/AudioFaderBox.cpp
+++ b/src/gui/widgets/AudioFaderBox.cpp
@@ -57,11 +57,11 @@
namespace Rosegarden
{
-AudioFaderBox::AudioFaderBox(TQWidget *tqparent,
+AudioFaderBox::AudioFaderBox(TQWidget *parent,
TQString id,
bool haveInOut,
const char *name):
- TQFrame(tqparent, name),
+ TQFrame(parent, name),
m_signalMapper(new TQSignalMapper(TQT_TQOBJECT(this))),
m_id(id),
m_isStereo(false)
@@ -244,8 +244,8 @@ bool
AudioFaderBox::owns(const TQObject *object)
{
return (object &&
- ((TQT_BASE_OBJECT(object->tqparent()) == TQT_BASE_OBJECT(this)) ||
- (object->tqparent() && (TQT_BASE_OBJECT(object->tqparent()->tqparent()) == TQT_BASE_OBJECT(this)))));
+ ((TQT_BASE_OBJECT(object->parent()) == TQT_BASE_OBJECT(this)) ||
+ (object->parent() && (TQT_BASE_OBJECT(object->parent()->parent()) == TQT_BASE_OBJECT(this)))));
}
void