diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/sound/PluginFactory.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-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/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; |