summaryrefslogtreecommitdiffstats
path: root/src/sound/MappedDevice.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/sound/MappedDevice.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sound/MappedDevice.cpp')
-rw-r--r--src/sound/MappedDevice.cpp32
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());