From 7346aee26bf190a7e70333c40fab4caca847cd27 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:22:56 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun-plugins/pitchablespeed/pitchablespeed.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'noatun-plugins/pitchablespeed/pitchablespeed.cpp') 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 #include #include -#include -#include -#include +#include +#include +#include #include #include @@ -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(); } -- cgit v1.2.1