diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:52:23 -0600 |
commit | 92994ee2036ac7c4c68747f67dbc0ecbaf4c250c (patch) | |
tree | a7b8d21bab293fe30c6f1db1daa9544469fb5f37 /kttsd/plugins/epos/eposproc.cpp | |
parent | 6687cd2515bdebbd8f0c92261f3acf8777441ca6 (diff) | |
download | tdeaccessibility-92994ee2036ac7c4c68747f67dbc0ecbaf4c250c.tar.gz tdeaccessibility-92994ee2036ac7c4c68747f67dbc0ecbaf4c250c.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kttsd/plugins/epos/eposproc.cpp')
-rw-r--r-- | kttsd/plugins/epos/eposproc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kttsd/plugins/epos/eposproc.cpp b/kttsd/plugins/epos/eposproc.cpp index c5b49c0..5ccf568 100644 --- a/kttsd/plugins/epos/eposproc.cpp +++ b/kttsd/plugins/epos/eposproc.cpp @@ -210,7 +210,7 @@ void EposProc::synth( *m_eposProc << eposClientExePath; // Language. if (!eposLanguage.isEmpty()) - *m_eposProc << TQString("--language=%1").tqarg(eposLanguage); + *m_eposProc << TQString("--language=%1").arg(eposLanguage); // Rate (speed). // Map 50% to 200% onto 0 to 1000. // slider = alpha * (log(percent)-log(50)) @@ -221,10 +221,10 @@ void EposProc::synth( slider = slider - 500; // Map -500 to 500 onto 45 to -45 then shift to 130 to 40 (85 midpoint). float stretchValue = (-float(slider) * 45.0 / 500.0) + 85.0; - TQString timeMsg = TQString("--init_t=%1").tqarg(stretchValue, 0, 'f', 3); + TQString timeMsg = TQString("--init_t=%1").arg(stretchValue, 0, 'f', 3); *m_eposProc << timeMsg; // Pitch. Map 50% to 200% onto 50 to 200. easy. - TQString pitchMsg = TQString("--init_f=%1").tqarg(pitch); + TQString pitchMsg = TQString("--init_f=%1").arg(pitch); *m_eposProc << pitchMsg; // Output file. if (!suggestedFilename.isEmpty()) |