diff options
Diffstat (limited to 'src/sound/AudioFileManager.cpp')
-rw-r--r-- | src/sound/AudioFileManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sound/AudioFileManager.cpp b/src/sound/AudioFileManager.cpp index f8b57b1..346810c 100644 --- a/src/sound/AudioFileManager.cpp +++ b/src/sound/AudioFileManager.cpp @@ -537,7 +537,7 @@ AudioFileManager::createRecordingAudioFile() while (fileName == "") { fileName = TQString("rg-%1-%2.wav") - .tqarg(TQDateTime::tqcurrentDateTime().toString("yyyyMMdd-hhmmss")) + .tqarg(TQDateTime::currentDateTime().toString("yyyyMMdd-hhmmss")) .tqarg(newId + 1); if (TQFile(m_audioPath.c_str() + fileName).exists()) { @@ -624,7 +624,7 @@ AudioFileManager::createDerivedAudioFile(AudioFileId source, fileName = TQString("%1-%2-%3-%4.wav") .tqarg(prefix) .tqarg(sourceBase.c_str()) - .tqarg(TQDateTime::tqcurrentDateTime().toString("yyyyMMdd-hhmmss")) + .tqarg(TQDateTime::currentDateTime().toString("yyyyMMdd-hhmmss")) .tqarg(newId + 1); if (TQFile(m_audioPath.c_str() + fileName).exists()) { @@ -754,7 +754,7 @@ AudioFileManager::importFile(const std::string &fileName, int sampleRate) targetName = TQString("conv-%2-%3-%4.wav") .tqarg(sourceBase) - .tqarg(TQDateTime::tqcurrentDateTime().toString("yyyyMMdd-hhmmss")) + .tqarg(TQDateTime::currentDateTime().toString("yyyyMMdd-hhmmss")) .tqarg(newId + 1); if (TQFile(m_audioPath.c_str() + targetName).exists()) { @@ -777,7 +777,7 @@ AudioFileManager::importFile(const std::string &fileName, int sampleRate) m_importProcess->start(KProcess::NotifyOnExit, KProcess::NoCommunication); while (m_importProcess->isRunning()) { - kapp->tqprocessEvents(100); + kapp->processEvents(100); } if (!m_importProcess->normalExit()) { |