summaryrefslogtreecommitdiffstats
path: root/src/sound/AudioFileManager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
commitef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch)
tree76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/sound/AudioFileManager.cpp
parent6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff)
downloadrosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz
rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/sound/AudioFileManager.cpp')
-rw-r--r--src/sound/AudioFileManager.cpp8
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()) {