summaryrefslogtreecommitdiffstats
path: root/src/sound/MappedInstrument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/MappedInstrument.cpp')
-rw-r--r--src/sound/MappedInstrument.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/sound/MappedInstrument.cpp b/src/sound/MappedInstrument.cpp
index b353f78..a3c366f 100644
--- a/src/sound/MappedInstrument.cpp
+++ b/src/sound/MappedInstrument.cpp
@@ -74,11 +74,11 @@ MappedInstrument::MappedInstrument(Instrument *instr):
m_audioChannels(instr->getAudioChannels())
{}
-QDataStream&
-operator>>(QDataStream &dS, MappedInstrument *mI)
+TQDataStream&
+operator>>(TQDataStream &dS, MappedInstrument *mI)
{
unsigned int type, channel, id, device, audioChannels;
- QString name;
+ TQString name;
dS >> type;
dS >> channel;
@@ -97,11 +97,11 @@ operator>>(QDataStream &dS, MappedInstrument *mI)
return dS;
}
-QDataStream&
-operator>>(QDataStream &dS, MappedInstrument &mI)
+TQDataStream&
+operator>>(TQDataStream &dS, MappedInstrument &mI)
{
unsigned int type, channel, id, device, audioChannels;
- QString name;
+ TQString name;
dS >> type;
dS >> channel;
@@ -120,14 +120,14 @@ operator>>(QDataStream &dS, MappedInstrument &mI)
return dS;
}
-QDataStream&
-operator<<(QDataStream &dS, MappedInstrument *mI)
+TQDataStream&
+operator<<(TQDataStream &dS, MappedInstrument *mI)
{
dS << (unsigned int)mI->getType();
dS << (unsigned int)mI->getChannel();
dS << (unsigned int)mI->getId();
;
- dS << QString(mI->getName().c_str());
+ dS << TQString(mI->getName().c_str());
dS << (unsigned int)mI->getDevice();
dS << (unsigned int)mI->getAudioChannels();
@@ -135,14 +135,14 @@ operator<<(QDataStream &dS, MappedInstrument *mI)
}
-QDataStream&
-operator<<(QDataStream &dS, const MappedInstrument &mI)
+TQDataStream&
+operator<<(TQDataStream &dS, const MappedInstrument &mI)
{
dS << (unsigned int)mI.getType();
dS << (unsigned int)mI.getChannel();
dS << (unsigned int)mI.getId();
;
- dS << QString(mI.getName().c_str());
+ dS << TQString(mI.getName().c_str());
dS << (unsigned int)mI.getDevice();
dS << (unsigned int)mI.getAudioChannels();