diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 00:03:41 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 00:03:41 +0000 |
commit | 45f00094ca990cacd3e3a6b5516259b280b4e182 (patch) | |
tree | bb0d1c25db9a3869836924f27307056bd911ee6b /muse2/muse/synth.cpp | |
parent | 4a1be16bbfafb8455b54336c4465da8f8bfe3ab6 (diff) |
Converted Qt3 methods to Qt4. Ported song.cpp
Diffstat (limited to 'muse2/muse/synth.cpp')
-rw-r--r-- | muse2/muse/synth.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/synth.cpp b/muse2/muse/synth.cpp index 93aa0763..defcd02e 100644 --- a/muse2/muse/synth.cpp +++ b/muse2/muse/synth.cpp @@ -204,7 +204,7 @@ void* MessSynth::instantiate(const QString& instanceName) "Unable to find msynth_descriptor() function in plugin " "library file \"%s\": %s.\n" "Are you sure this is a MESS plugin file?\n", - info.filePath().ascii(), txt); + info.filePath().toAscii().constData(), txt); undoSetuid(); return 0; } @@ -501,7 +501,7 @@ void initMidiSynth() printf("searching for software synthesizer in <%s>\n", s.toLatin1().constData()); if (pluginDir.exists()) { QFileInfoList list = pluginDir.entryInfoList(); - QFileInfoListIterator it=list.begin(); + QFileInfoList::iterator it=list.begin(); QFileInfo* fi; while(it!=list.end()) { fi = &*it; @@ -698,7 +698,7 @@ void SynthI::readProgram(Xml& xml, const QString& name) case Xml::End: return; case Xml::TagStart: - xml.unknown(name); + xml.unknown(name.toAscii().constData()); break; case Xml::Attribut: if(tag == "bankH") @@ -710,7 +710,7 @@ void SynthI::readProgram(Xml& xml, const QString& name) if(tag == "prog") _curProgram = xml.s2().toUInt(); else - xml.unknown(name); + xml.unknown(name.toAscii().constData()); break; case Xml::TagEnd: if(tag == name) |