diff options
Diffstat (limited to 'src/sound/PluginFactory.h')
-rw-r--r-- | src/sound/PluginFactory.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sound/PluginFactory.h b/src/sound/PluginFactory.h index 820b233..6f93729 100644 --- a/src/sound/PluginFactory.h +++ b/src/sound/PluginFactory.h @@ -22,7 +22,7 @@ #ifndef _PLUGIN_FACTORY_H_ #define _PLUGIN_FACTORY_H_ -#include <qstring.h> +#include <tqstring.h> #include <vector> #include "MappedCommon.h" @@ -36,8 +36,8 @@ class MappedPluginSlot; class PluginFactory { public: - static PluginFactory *instance(QString pluginType); - static PluginFactory *instanceFor(QString identifier); + static PluginFactory *instance(TQString pluginType); + static PluginFactory *instanceFor(TQString identifier); static void enumerateAllPlugins(MappedObjectPropertyList &); static void setSampleRate(int sampleRate) { m_sampleRate = sampleRate; } @@ -52,7 +52,7 @@ public: * Return a reference to a list of all plugin identifiers that can * be created by this factory. */ - virtual const std::vector<QString> &getPluginIdentifiers() const = 0; + virtual const std::vector<TQString> &getPluginIdentifiers() const = 0; /** * Append to the given list descriptions of all the available @@ -68,13 +68,13 @@ public: * method should also destroy and recreate the plugin slot's * port child objects. */ - virtual void populatePluginSlot(QString identifier, + virtual void populatePluginSlot(TQString identifier, MappedPluginSlot &slot) = 0; /** * Instantiate a plugin. */ - virtual RunnablePluginInstance *instantiatePlugin(QString identifier, + virtual RunnablePluginInstance *instantiatePlugin(TQString identifier, int instrumentId, int position, unsigned int sampleRate, @@ -85,7 +85,7 @@ protected: PluginFactory() { } // for call by RunnablePluginInstance dtor - virtual void releasePlugin(RunnablePluginInstance *, QString identifier) = 0; + virtual void releasePlugin(RunnablePluginInstance *, TQString identifier) = 0; friend class RunnablePluginInstance; static int m_sampleRate; |