summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/AudioPlugin.h
diff options
context:
space:
mode:
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;