From 7e9d8ea45280ad6657796da9536ccf6218111f22 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 11 Jan 2024 10:35:25 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- noatun-plugins/pitchablespeed/pitchablespeed.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'noatun-plugins/pitchablespeed/pitchablespeed.cpp') diff --git a/noatun-plugins/pitchablespeed/pitchablespeed.cpp b/noatun-plugins/pitchablespeed/pitchablespeed.cpp index 3b67678..2135d8e 100644 --- a/noatun-plugins/pitchablespeed/pitchablespeed.cpp +++ b/noatun-plugins/pitchablespeed/pitchablespeed.cpp @@ -46,10 +46,10 @@ PitchableSpeed::PitchableSpeed() : Plugin(), offsetInput->setRange(-5,15,1,false); offsetInput->setValue(offset); setupSliderRange(); - connect(napp->player(), TQT_SIGNAL(changed()), - this, TQT_SLOT(newSong())); - connect(preserveFrequencies, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(preserveFrequenciesChanged(bool))); + connect(napp->player(), TQ_SIGNAL(changed()), + this, TQ_SLOT(newSong())); + connect(preserveFrequencies, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(preserveFrequenciesChanged(bool))); //show(); } @@ -149,7 +149,7 @@ void PitchableSpeed::preserveFrequenciesChanged(bool preserveNow) void PitchableSpeed::init() { pluginMenuItem = napp->pluginMenuAdd(i18n("Toggle Speed Slider"), - this, TQT_SLOT(toggle(void))); + this, TQ_SLOT(toggle(void))); } void PitchableSpeed::toggle(void) -- cgit v1.2.1