From 92994ee2036ac7c4c68747f67dbc0ecbaf4c250c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:52:23 -0600 Subject: Remove additional unneeded tq method conversions --- kttsd/plugins/festivalint/festivalintconf.cpp | 12 ++++++------ kttsd/plugins/festivalint/festivalintconfwidget.ui | 4 ++-- kttsd/plugins/festivalint/festivalintproc.cpp | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kttsd/plugins/festivalint') diff --git a/kttsd/plugins/festivalint/festivalintconf.cpp b/kttsd/plugins/festivalint/festivalintconf.cpp index d40b68c..920bfbc 100644 --- a/kttsd/plugins/festivalint/festivalintconf.cpp +++ b/kttsd/plugins/festivalint/festivalintconf.cpp @@ -229,12 +229,12 @@ TQString FestivalIntConf::getTalkerCode() "" "" "") - .tqarg(voiceTemp.languageCode) - .tqarg(voiceTemp.code) - .tqarg(voiceTemp.gender) - .tqarg(volume) - .tqarg(rate) - .tqarg("Festival Interactive"); + .arg(voiceTemp.languageCode) + .arg(voiceTemp.code) + .arg(voiceTemp.gender) + .arg(volume) + .arg(rate) + .arg("Festival Interactive"); return normalTalkerCode; } diff --git a/kttsd/plugins/festivalint/festivalintconfwidget.ui b/kttsd/plugins/festivalint/festivalintconfwidget.ui index c6b8b4b..bb0b9bf 100644 --- a/kttsd/plugins/festivalint/festivalintconfwidget.ui +++ b/kttsd/plugins/festivalint/festivalintconfwidget.ui @@ -94,7 +94,7 @@ &Festival executable: - + AlignVCenter|AlignRight @@ -143,7 +143,7 @@ &Select voice: - + AlignVCenter|AlignRight diff --git a/kttsd/plugins/festivalint/festivalintproc.cpp b/kttsd/plugins/festivalint/festivalintproc.cpp index 6cf06e5..e11511b 100644 --- a/kttsd/plugins/festivalint/festivalintproc.cpp +++ b/kttsd/plugins/festivalint/festivalintproc.cpp @@ -268,11 +268,11 @@ void FestivalIntProc::synth( slider = slider - 500; // Map -500 to 500 onto 0.15 to -0.15. float stretchValue = -float(slider) * 0.15 / 500.0; - timeMsg = TQString("(set! hts_duration_stretch %1)").tqarg( + timeMsg = TQString("(set! hts_duration_stretch %1)").arg( stretchValue, 0, 'f', 3); } else - timeMsg = TQString("(Parameter.set 'Duration_Stretch %1)").tqarg( + timeMsg = TQString("(Parameter.set 'Duration_Stretch %1)").arg( 1.0/(float(time)/100.0), 0, 'f', 2); sendToFestival(timeMsg); m_runningTime = time; @@ -292,7 +292,7 @@ void FestivalIntProc::synth( } TQString pitchMsg = TQString( "(set! int_lr_params '((target_f0_mean %1) (target_f0_std 14)" - "(model_f0_mean 170) (model_f0_std 34)))").tqarg(pitchValue, 0, 10); + "(model_f0_mean 170) (model_f0_std 34)))").arg(pitchValue, 0, 10); sendToFestival(pitchMsg); m_runningPitch = pitch; } -- cgit v1.2.1