diff options
Diffstat (limited to 'src/sound/MappedStudio.h')
-rw-r--r-- | src/sound/MappedStudio.h | 44 |
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; |