diff options
Diffstat (limited to 'src/sound/MappedDevice.cpp')
-rw-r--r-- | src/sound/MappedDevice.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/sound/MappedDevice.cpp b/src/sound/MappedDevice.cpp index 619be2a..e5a9dd8 100644 --- a/src/sound/MappedDevice.cpp +++ b/src/sound/MappedDevice.cpp @@ -110,8 +110,8 @@ MappedDevice::operator=(const MappedDevice &mD) } -QDataStream& -operator>>(QDataStream &dS, MappedDevice *mD) +TQDataStream& +operator>>(TQDataStream &dS, MappedDevice *mD) { int instruments = 0; dS >> instruments; @@ -123,9 +123,9 @@ operator>>(QDataStream &dS, MappedDevice *mD) instruments--; } - QString name; + TQString name; unsigned int id, dType; - QString connection; + TQString connection; unsigned int direction; unsigned int recording; @@ -154,8 +154,8 @@ operator>>(QDataStream &dS, MappedDevice *mD) } -QDataStream& -operator>>(QDataStream &dS, MappedDevice &mD) +TQDataStream& +operator>>(TQDataStream &dS, MappedDevice &mD) { int instruments; dS >> instruments; @@ -169,8 +169,8 @@ operator>>(QDataStream &dS, MappedDevice &mD) } unsigned int id, dType; - QString name; - QString connection; + TQString name; + TQString connection; unsigned int direction; unsigned int recording; @@ -198,8 +198,8 @@ operator>>(QDataStream &dS, MappedDevice &mD) return dS; } -QDataStream& -operator<<(QDataStream &dS, MappedDevice *mD) +TQDataStream& +operator<<(TQDataStream &dS, MappedDevice *mD) { dS << (int)mD->size(); @@ -208,8 +208,8 @@ operator<<(QDataStream &dS, MappedDevice *mD) dS << (unsigned int)(mD->getId()); dS << (int)(mD->getType()); - dS << QString(mD->getName().c_str()); - dS << QString(mD->getConnection().c_str()); + dS << TQString(mD->getName().c_str()); + dS << TQString(mD->getConnection().c_str()); dS << mD->getDirection(); dS << (unsigned int)(mD->isRecording()); @@ -222,8 +222,8 @@ operator<<(QDataStream &dS, MappedDevice *mD) return dS; } -QDataStream& -operator<<(QDataStream &dS, const MappedDevice &mD) +TQDataStream& +operator<<(TQDataStream &dS, const MappedDevice &mD) { dS << (int)mD.size(); @@ -232,8 +232,8 @@ operator<<(QDataStream &dS, const MappedDevice &mD) dS << (unsigned int)(mD.getId()); dS << (int)(mD.getType()); - dS << QString(mD.getName().c_str()); - dS << QString(mD.getConnection().c_str()); + dS << TQString(mD.getName().c_str()); + dS << TQString(mD.getConnection().c_str()); dS << mD.getDirection(); dS << (unsigned int)(mD.isRecording()); |