diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:10 -0600 |
commit | f46912a1a50c5ca06eb713e43e170f5ac47bb680 (patch) | |
tree | 5ff859ec73dca8829e4ca2633fd176cf8bbfd604 /kttsd/plugins/epos/eposproc.cpp | |
parent | 23aecb275d6085b7a15a38da0180edf156c8ea9d (diff) | |
download | tdeaccessibility-f46912a1a50c5ca06eb713e43e170f5ac47bb680.tar.gz tdeaccessibility-f46912a1a50c5ca06eb713e43e170f5ac47bb680.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 23aecb275d6085b7a15a38da0180edf156c8ea9d.
Diffstat (limited to 'kttsd/plugins/epos/eposproc.cpp')
-rw-r--r-- | kttsd/plugins/epos/eposproc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kttsd/plugins/epos/eposproc.cpp b/kttsd/plugins/epos/eposproc.cpp index ab26e92..670a1c4 100644 --- a/kttsd/plugins/epos/eposproc.cpp +++ b/kttsd/plugins/epos/eposproc.cpp @@ -28,7 +28,7 @@ // TQt includes. #include <tqstring.h> #include <tqstringlist.h> -#include <textcodec.h> +#include <tqtextcodec.h> #include <tqfile.h> // KDE includes. @@ -210,7 +210,7 @@ void EposProc::synth( *m_eposProc << eposClientExePath; // Language. if (!eposLanguage.isEmpty()) - *m_eposProc << TQString("--language=%1").arg(eposLanguage); + *m_eposProc << TQString("--language=%1").tqarg(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").arg(stretchValue, 0, 'f', 3); + TQString timeMsg = TQString("--init_t=%1").tqarg(stretchValue, 0, 'f', 3); *m_eposProc << timeMsg; // Pitch. Map 50% to 200% onto 50 to 200. easy. - TQString pitchMsg = TQString("--init_f=%1").arg(pitch); + TQString pitchMsg = TQString("--init_f=%1").tqarg(pitch); *m_eposProc << pitchMsg; // Output file. if (!suggestedFilename.isEmpty()) @@ -326,13 +326,13 @@ void EposProc::slotProcessExited(KProcess*) void EposProc::slotReceivedStdout(KProcess*, char* buffer, int buflen) { - TQString buf = TQString::fromLatin1(buffer, buflen); + TQString buf = TQString::tqfromLatin1(buffer, buflen); kdDebug() << "EposProc::slotReceivedStdout: Received output from Epos: " << buf << endl; } void EposProc::slotReceivedStderr(KProcess*, char* buffer, int buflen) { - TQString buf = TQString::fromLatin1(buffer, buflen); + TQString buf = TQString::tqfromLatin1(buffer, buflen); kdDebug() << "EposProc::slotReceivedStderr: Received error from Epos: " << buf << endl; } |