diff options
Diffstat (limited to 'src/sound/RunnablePluginInstance.h')
-rw-r--r-- | src/sound/RunnablePluginInstance.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/sound/RunnablePluginInstance.h b/src/sound/RunnablePluginInstance.h index f15f146..df07cf0 100644 --- a/src/sound/RunnablePluginInstance.h +++ b/src/sound/RunnablePluginInstance.h @@ -22,8 +22,8 @@ #ifndef _RUNNABLE_PLUGIN_INSTANCE_H_ #define _RUNNABLE_PLUGIN_INSTANCE_H_ -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include <vector> #include "RealTime.h" @@ -54,7 +54,7 @@ public: virtual bool isOK() const = 0; - virtual QString getIdentifier() const = 0; + virtual TQString getIdentifier() const = 0; /** * Run for one block, starting at the given time. The start time @@ -71,16 +71,16 @@ public: virtual sample_t **getAudioInputBuffers() = 0; virtual sample_t **getAudioOutputBuffers() = 0; - virtual QStringList getPrograms() { return QStringList(); } - virtual QString getCurrentProgram() { return QString(); } - virtual QString getProgram(int /* bank */, int /* program */) { return QString(); } - virtual unsigned long getProgram(QString /* name */) { return 0; } // bank << 16 + program - virtual void selectProgram(QString) { } + virtual TQStringList getPrograms() { return TQStringList(); } + virtual TQString getCurrentProgram() { return TQString(); } + virtual TQString getProgram(int /* bank */, int /* program */) { return TQString(); } + virtual unsigned long getProgram(TQString /* name */) { return 0; } // bank << 16 + program + virtual void selectProgram(TQString) { } virtual void setPortValue(unsigned int port, float value) = 0; virtual float getPortValue(unsigned int port) = 0; - virtual QString configure(QString /* key */, QString /* value */) { return QString(); } + virtual TQString configure(TQString /* key */, TQString /* value */) { return TQString(); } virtual void sendEvent(const RealTime & /* eventTime */, const void * /* event */) { } @@ -98,11 +98,11 @@ public: void setFactory(PluginFactory *f) { m_factory = f; } // ew protected: - RunnablePluginInstance(PluginFactory *factory, QString identifier) : + RunnablePluginInstance(PluginFactory *factory, TQString identifier) : m_factory(factory), m_identifier(identifier) { } PluginFactory *m_factory; - QString m_identifier; + TQString m_identifier; friend class PluginFactory; }; |