diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-02 22:38:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-02 22:38:52 +0000 |
commit | 458efa7b0c935cbaafa2791021a5f8f7241aa876 (patch) | |
tree | 624583f2873febe23770bee3fa94b5c24bd59f4f /src/sound/AudioProcess.cpp | |
parent | 747037b72944ae2c02962b7c5c96e0a7f8852e38 (diff) | |
download | rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.tar.gz rosegarden-458efa7b0c935cbaafa2791021a5f8f7241aa876.zip |
Initial TQt4 port of Rosegarden
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sound/AudioProcess.cpp')
-rw-r--r-- | src/sound/AudioProcess.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sound/AudioProcess.cpp b/src/sound/AudioProcess.cpp index 1fb5a61..c209703 100644 --- a/src/sound/AudioProcess.cpp +++ b/src/sound/AudioProcess.cpp @@ -1084,7 +1084,7 @@ AudioInstrumentMixer::setPluginBypass(InstrumentId id, int position, bool bypass instance->setBypassed(bypass); } -QStringList +TQStringList AudioInstrumentMixer::getPluginPrograms(InstrumentId id, int position) { // Not RT safe @@ -1096,7 +1096,7 @@ AudioInstrumentMixer::getPluginPrograms(InstrumentId id, int position) return programs; } -QString +TQString AudioInstrumentMixer::getPluginProgram(InstrumentId id, int position) { // Not RT safe @@ -1108,7 +1108,7 @@ AudioInstrumentMixer::getPluginProgram(InstrumentId id, int position) return program; } -QString +TQString AudioInstrumentMixer::getPluginProgram(InstrumentId id, int position, int bank, int program) { @@ -1143,7 +1143,7 @@ AudioInstrumentMixer::setPluginProgram(InstrumentId id, int position, TQString p instance->selectProgram(program); } -QString +TQString AudioInstrumentMixer::configurePlugin(InstrumentId id, int position, TQString key, TQString value) { // Not RT safe @@ -2337,7 +2337,7 @@ AudioFileWriter::closeRecordFile(InstrumentId id, AudioFileId &returnedId) return false; returnedId = m_files[id].first->getId(); - m_files[id].second->setStatus(RecordableAudioFile::DEFUNCT); + m_files[id].second->settqStatus(RecordableAudioFile::DEFUNCT); #ifdef DEBUG_WRITER @@ -2364,7 +2364,7 @@ AudioFileWriter::haveRecordFileOpen(InstrumentId id) } return (m_files[id].first && - (m_files[id].second->getStatus() != RecordableAudioFile::DEFUNCT)); + (m_files[id].second->gettqStatus() != RecordableAudioFile::DEFUNCT)); } bool @@ -2377,7 +2377,7 @@ AudioFileWriter::haveRecordFilesOpen() for (InstrumentId id = instrumentBase; id < instrumentBase + instrumentCount; ++id) { if (m_files[id].first && - (m_files[id].second->getStatus() != RecordableAudioFile::DEFUNCT)) { + (m_files[id].second->gettqStatus() != RecordableAudioFile::DEFUNCT)) { #ifdef DEBUG_WRITER std::cerr << "AudioFileWriter::haveRecordFilesOpen: found open record file for instrument " << id << std::endl; #endif @@ -2410,7 +2410,7 @@ AudioFileWriter::kick(bool wantLock) RecordableAudioFile *raf = m_files[id].second; - if (raf->getStatus() == RecordableAudioFile::DEFUNCT) { + if (raf->gettqStatus() == RecordableAudioFile::DEFUNCT) { #ifdef DEBUG_WRITER std::cerr << "AudioFileWriter::kick: found defunct file on instrument " << id << std::endl; |