From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/sound/MappedDevice.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/sound/MappedDevice.cpp') 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()); -- cgit v1.2.1