summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/AudioPlugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/studio/AudioPlugin.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-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/gui/studio/AudioPlugin.h')
-rw-r--r--src/gui/studio/AudioPlugin.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/gui/studio/AudioPlugin.h b/src/gui/studio/AudioPlugin.h
index 591a43b..ac8a7ad 100644
--- a/src/gui/studio/AudioPlugin.h
+++ b/src/gui/studio/AudioPlugin.h
@@ -27,8 +27,8 @@
#define _RG_AUDIOPLUGIN_H_
#include "base/AudioPluginInstance.h"
-#include <qcolor.h>
-#include <qstring.h>
+#include <tqcolor.h>
+#include <tqstring.h>
#include <vector>
@@ -42,23 +42,23 @@ namespace Rosegarden
class AudioPlugin
{
public:
- AudioPlugin(const QString &identifier,
- const QString &name,
+ AudioPlugin(const TQString &identifier,
+ const TQString &name,
unsigned long uniqueId,
- const QString &label,
- const QString &author,
- const QString &copyright,
+ const TQString &label,
+ const TQString &author,
+ const TQString &copyright,
bool isSynth,
bool isGrouped,
- const QString &category);
+ const TQString &category);
- QString getIdentifier() const { return m_identifier; }
+ TQString getIdentifier() const { return m_identifier; }
- QString getName() const { return m_name; }
+ TQString getName() const { return m_name; }
unsigned long getUniqueId() const { return m_uniqueId; }
- QString getLabel() const { return m_label; }
- QString getAuthor() const { return m_author; }
- QString getCopyright() const { return m_copyright; }
+ TQString getLabel() const { return m_label; }
+ TQString getAuthor() const { return m_author; }
+ TQString getCopyright() const { return m_copyright; }
bool isSynth() const { return m_isSynth; }
bool isEffect() const { // true if >0 audio inputs
for (unsigned int i = 0; i < m_ports.size(); ++i) {
@@ -70,10 +70,10 @@ public:
return false;
}
bool isGrouped() const { return m_isGrouped; }
- QString getCategory() const { return m_category; }
+ TQString getCategory() const { return m_category; }
void addPort(int number,
- const QString &name,
+ const TQString &name,
PluginPort::PortType type,
PluginPort::PortDisplayHint hint,
PortData lowerBound,
@@ -85,28 +85,28 @@ public:
PortIterator begin() { return m_ports.begin(); }
PortIterator end() { return m_ports.end(); }
- QColor getColour() const { return m_colour; }
- void setColour(const QColor &colour) { m_colour = colour; }
+ TQColor getColour() const { return m_colour; }
+ void setColour(const TQColor &colour) { m_colour = colour; }
protected:
- QString m_identifier;
+ TQString m_identifier;
- QString m_name;
+ TQString m_name;
unsigned long m_uniqueId;
- QString m_label;
- QString m_author;
- QString m_copyright;
+ TQString m_label;
+ TQString m_author;
+ TQString m_copyright;
bool m_isSynth;
bool m_isGrouped;
- QString m_category;
+ TQString m_category;
// our ports and associated hints
std::vector<PluginPort*> m_ports;
// Colour of this activated plugin
//
- QColor m_colour;
+ TQColor m_colour;
};
typedef std::vector<AudioPlugin*>::iterator PluginIterator;