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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/AudioFaderBox.cpp b/src/gui/widgets/AudioFaderBox.cpp
index 27980e7..f544003 100644
--- a/src/gui/widgets/AudioFaderBox.cpp
+++ b/src/gui/widgets/AudioFaderBox.cpp
@@ -57,12 +57,12 @@
namespace Rosegarden
{
-AudioFaderBox::AudioFaderBox(TQWidget *parent,
+AudioFaderBox::AudioFaderBox(TQWidget *tqparent,
TQString id,
bool haveInOut,
const char *name):
- TQFrame(parent, name),
- m_signalMapper(new TQSignalMapper(this)),
+ TQFrame(tqparent, name),
+ m_signalMapper(new TQSignalMapper(TQT_TQOBJECT(this))),
m_id(id),
m_isStereo(false)
{
@@ -82,7 +82,7 @@ AudioFaderBox::AudioFaderBox(TQWidget *parent,
(plugin, i18n("Audio plugin button"));
m_plugins.push_back(plugin);
- m_signalMapper->setMapping(plugin, i);
+ m_signalMapper->setMapping(TQT_TQOBJECT(plugin), i);
connect(plugin, TQT_SIGNAL(clicked()),
m_signalMapper, TQT_SLOT(map()));
}
@@ -116,8 +116,8 @@ AudioFaderBox::AudioFaderBox(TQWidget *parent,
m_fader->setOutlineColour(GUIPalette::getColour(GUIPalette::PlaybackFaderOutline));
TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
- m_monoPixmap.load(TQString("%1/misc/mono.xpm").arg(pixmapDir));
- m_stereoPixmap.load(TQString("%1/misc/stereo.xpm").arg(pixmapDir));
+ m_monoPixmap.load(TQString("%1/misc/mono.xpm").tqarg(pixmapDir));
+ m_stereoPixmap.load(TQString("%1/misc/stereo.xpm").tqarg(pixmapDir));
m_pan = new Rotary(this, -100.0, 100.0, 1.0, 5.0, 0.0, 22,
Rotary::NoTicks, false, true);
@@ -244,8 +244,8 @@ bool
AudioFaderBox::owns(const TQObject *object)
{
return (object &&
- ((object->parent() == this) ||
- (object->parent() && (object->parent()->parent() == this))));
+ ((TQT_BASE_OBJECT(object->tqparent()) == TQT_BASE_OBJECT(this)) ||
+ (object->tqparent() && (TQT_BASE_OBJECT(object->tqparent()->tqparent()) == TQT_BASE_OBJECT(this)))));
}
void