diff options
Diffstat (limited to 'noatun-plugins/pitchablespeed/pitchablespeed.cpp')
-rw-r--r-- | noatun-plugins/pitchablespeed/pitchablespeed.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noatun-plugins/pitchablespeed/pitchablespeed.cpp b/noatun-plugins/pitchablespeed/pitchablespeed.cpp index f091c72..b59d6e5 100644 --- a/noatun-plugins/pitchablespeed/pitchablespeed.cpp +++ b/noatun-plugins/pitchablespeed/pitchablespeed.cpp @@ -17,9 +17,9 @@ #include <noatun/player.h> #include <noatun/engine.h> #include <noatun/noatunarts.h> -#include <qslider.h> -#include <qlineedit.h> -#include <qcheckbox.h> +#include <tqslider.h> +#include <tqlineedit.h> +#include <tqcheckbox.h> #include <klocale.h> #include <knuminput.h> @@ -46,10 +46,10 @@ PitchableSpeed::PitchableSpeed() : Plugin(), offsetInput->setRange(-5,15,1,false); offsetInput->setValue(offset); setupSliderRange(); - connect(napp->player(), SIGNAL(changed()), - this, SLOT(newSong())); - connect(preserveFrequencies, SIGNAL(toggled(bool)), - this, SLOT(preserveFrequenciesChanged(bool))); + connect(napp->player(), TQT_SIGNAL(changed()), + this, TQT_SLOT(newSong())); + connect(preserveFrequencies, TQT_SIGNAL(toggled(bool)), + this, TQT_SLOT(preserveFrequenciesChanged(bool))); //show(); } @@ -93,7 +93,7 @@ void PitchableSpeed::setSpeed() pitchShift.speed(1.f/newSpeed); } - QString percentStr; + TQString percentStr; percentStr.setNum((newSpeed-1.f)*100.f,'f',1); if (newSpeed<=0) percentStr.prepend('+').append(' ').append('%'); currentValEdit->setText(percentStr); @@ -149,7 +149,7 @@ void PitchableSpeed::preserveFrequenciesChanged(bool preserveNow) void PitchableSpeed::init() { pluginMenuItem = napp->pluginMenuAdd(i18n("Toggle Speed Slider"), - this, SLOT(toggle(void))); + this, TQT_SLOT(toggle(void))); } void PitchableSpeed::toggle(void) @@ -158,7 +158,7 @@ void PitchableSpeed::toggle(void) raise(); } -void PitchableSpeed::closeEvent(QCloseEvent *) +void PitchableSpeed::closeEvent(TQCloseEvent *) { hide(); } |