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/MappedStudio.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/sound/MappedStudio.h') 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 #include #include -#include -#include +#include +#include #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 m_configuration; + std::map 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; -- cgit v1.2.1