summaryrefslogtreecommitdiffstats
path: root/src/sound/MappedStudio.h
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/MappedStudio.h
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/MappedStudio.h')
-rw-r--r--src/sound/MappedStudio.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/sound/MappedStudio.h b/src/sound/MappedStudio.h
index 0896e6b..89acc9b 100644
--- a/src/sound/MappedStudio.h
+++ b/src/sound/MappedStudio.h
@@ -22,8 +22,8 @@
#include <map>
#include <string>
#include <vector>
-#include <qdatastream.h>
-#include <qstring.h>
+#include <tqdatastream.h>
+#include <tqstring.h>
#include "MappedCommon.h"
#include "Instrument.h"
@@ -99,7 +99,7 @@ public:
// Only relevant to objects that have string properties
//
virtual bool getProperty(const MappedObjectProperty &/* property */,
- QString &/* value */) { return false; }
+ TQString &/* value */) { return false; }
virtual void setProperty(const MappedObjectProperty &property,
MappedObjectValue value) = 0;
@@ -107,7 +107,7 @@ public:
// Only relevant to objects that have string properties
//
virtual void setProperty(const MappedObjectProperty &/* property */,
- QString /* value */) { }
+ TQString /* value */) { }
// Only relevant to objects that have list properties
//
@@ -237,10 +237,10 @@ public:
// DCOP streaming
//
/* dunno if we need this
- friend QDataStream& operator>>(QDataStream &dS, MappedStudio *mS);
- friend QDataStream& operator<<(QDataStream &dS, MappedStudio *mS);
- friend QDataStream& operator>>(QDataStream &dS, MappedStudio &mS);
- friend QDataStream& operator<<(QDataStream &dS, const MappedStudio &mS);
+ friend TQDataStream& operator>>(TQDataStream &dS, MappedStudio *mS);
+ friend TQDataStream& operator<<(TQDataStream &dS, MappedStudio *mS);
+ friend TQDataStream& operator>>(TQDataStream &dS, MappedStudio &mS);
+ friend TQDataStream& operator<<(TQDataStream &dS, const MappedStudio &mS);
*/
@@ -465,13 +465,13 @@ public:
MappedObjectValue &value);
virtual bool getProperty(const MappedObjectProperty &property,
- QString &value);
+ TQString &value);
virtual void setProperty(const MappedObjectProperty &property,
MappedObjectValue value);
virtual void setProperty(const MappedObjectProperty &property,
- QString value);
+ TQString value);
virtual void setPropertyList(const MappedObjectProperty &,
const MappedObjectPropertyList &);
@@ -482,24 +482,24 @@ public:
InstrumentId getInstrument() const { return m_instrument; }
int getPosition() const { return m_position; }
- QString getProgram(int bank, int program);
- unsigned long getProgram(QString name); // rv is bank << 16 + program
+ TQString getProgram(int bank, int program);
+ unsigned long getProgram(TQString name); // rv is bank << 16 + program
protected:
- QString m_identifier;
+ TQString m_identifier;
- QString m_name;
- QString m_label;
- QString m_author;
- QString m_copyright;
- QString m_category;
+ TQString m_name;
+ TQString m_label;
+ TQString m_author;
+ TQString m_copyright;
+ TQString m_category;
unsigned long m_portCount;
InstrumentId m_instrument;
int m_position;
bool m_bypassed;
- std::map<QString, QString> m_configuration;
+ std::map<TQString, TQString> m_configuration;
};
class MappedPluginPort : public MappedObject
@@ -523,13 +523,13 @@ public:
MappedObjectValue &value);
virtual bool getProperty(const MappedObjectProperty &property,
- QString &value);
+ TQString &value);
virtual void setProperty(const MappedObjectProperty &property,
MappedObjectValue value);
virtual void setProperty(const MappedObjectProperty &property,
- QString value);
+ TQString value);
void setValue(MappedObjectValue value);
MappedObjectValue getValue() const;
@@ -538,7 +538,7 @@ public:
protected:
int m_portNumber;
- QString m_name;
+ TQString m_name;
MappedObjectValue m_minimum;
MappedObjectValue m_maximum;
MappedObjectValue m_default;