diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:40:41 -0600 |
commit | 0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4 (patch) | |
tree | 322767e10a0d28887f54f3cefe6399098713dc82 /kmouth/speech.cpp | |
parent | 11f5b1c38c194ef53638bafa0df70e821a7a6427 (diff) | |
download | tdeaccessibility-0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4.tar.gz tdeaccessibility-0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmouth/speech.cpp')
-rw-r--r-- | kmouth/speech.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmouth/speech.cpp b/kmouth/speech.cpp index 413690c..ae68838 100644 --- a/kmouth/speech.cpp +++ b/kmouth/speech.cpp @@ -206,36 +206,36 @@ void Speech::speak(TQString command, bool stdIn, const TQString &text, const TQS // 3. create a new process process << command; - connect(&process, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(processExited(KProcess *))); - connect(&process, TQT_SIGNAL(wroteStdin(KProcess *)), this, TQT_SLOT(wroteStdin(KProcess *))); - connect(&process, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)), this, TQT_SLOT(receivedStdout(KProcess *, char *, int))); - connect(&process, TQT_SIGNAL(receivedStderr(KProcess *, char *, int)), this, TQT_SLOT(receivedStderr(KProcess *, char *, int))); + connect(&process, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(processExited(TDEProcess *))); + connect(&process, TQT_SIGNAL(wroteStdin(TDEProcess *)), this, TQT_SLOT(wroteStdin(TDEProcess *))); + connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQT_SLOT(receivedStdout(TDEProcess *, char *, int))); + connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), this, TQT_SLOT(receivedStderr(TDEProcess *, char *, int))); // 4. start the process if (stdIn) { - process.start(KProcess::NotifyOnExit, KProcess::All); + process.start(TDEProcess::NotifyOnExit, TDEProcess::All); if (encText.size() > 0) process.writeStdin(encText, encText.size()); else process.closeStdin(); } else - process.start(KProcess::NotifyOnExit, KProcess::AllOutput); + process.start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput); } } -void Speech::receivedStdout (KProcess *, char *buffer, int buflen) { +void Speech::receivedStdout (TDEProcess *, char *buffer, int buflen) { kdDebug() << TQString::fromLatin1(buffer, buflen) + "\n"; } -void Speech::receivedStderr (KProcess *, char *buffer, int buflen) { +void Speech::receivedStderr (TDEProcess *, char *buffer, int buflen) { kdDebug() << TQString::fromLatin1(buffer, buflen) + "\n"; } -void Speech::wroteStdin(KProcess *) { +void Speech::wroteStdin(TDEProcess *) { process.closeStdin(); } -void Speech::processExited(KProcess *) { +void Speech::processExited(TDEProcess *) { delete this; } |