diff options
Diffstat (limited to 'src/sound/AudioFileManager.cpp')
-rw-r--r-- | src/sound/AudioFileManager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sound/AudioFileManager.cpp b/src/sound/AudioFileManager.cpp index 10d6474..a1e51dc 100644 --- a/src/sound/AudioFileManager.cpp +++ b/src/sound/AudioFileManager.cpp @@ -684,7 +684,7 @@ bool AudioFileManager::fileNeedsConversion(const std::string &fileName, int sampleRate) { - KProcess *proc = new KProcess(); + TDEProcess *proc = new TDEProcess(); *proc << "rosegarden-audiofile-importer"; if (sampleRate > 0) { *proc << "-r"; @@ -693,7 +693,7 @@ AudioFileManager::fileNeedsConversion(const std::string &fileName, *proc << "-w"; *proc << fileName.c_str(); - proc->start(KProcess::Block, KProcess::NoCommunication); + proc->start(TDEProcess::Block, TDEProcess::NoCommunication); int es = proc->exitStatus(); delete proc; @@ -711,7 +711,7 @@ AudioFileManager::importFile(const std::string &fileName, int sampleRate) std::cerr << "AudioFileManager::importFile("<< fileName << ", " << sampleRate << ")" << std::endl; - KProcess *proc = new KProcess(); + TDEProcess *proc = new TDEProcess(); *proc << "rosegarden-audiofile-importer"; if (sampleRate > 0) { *proc << "-r"; @@ -720,7 +720,7 @@ AudioFileManager::importFile(const std::string &fileName, int sampleRate) *proc << "-w"; *proc << fileName.c_str(); - proc->start(KProcess::Block, KProcess::NoCommunication); + proc->start(TDEProcess::Block, TDEProcess::NoCommunication); int es = proc->exitStatus(); delete proc; @@ -763,7 +763,7 @@ AudioFileManager::importFile(const std::string &fileName, int sampleRate) } } - m_importProcess = new KProcess; + m_importProcess = new TDEProcess; *m_importProcess << "rosegarden-audiofile-importer"; if (sampleRate > 0) { @@ -774,7 +774,7 @@ AudioFileManager::importFile(const std::string &fileName, int sampleRate) *m_importProcess << fileName.c_str(); *m_importProcess << (m_audioPath.c_str() + targetName); - m_importProcess->start(KProcess::NotifyOnExit, KProcess::NoCommunication); + m_importProcess->start(TDEProcess::NotifyOnExit, TDEProcess::NoCommunication); while (m_importProcess->isRunning()) { kapp->processEvents(100); |