summaryrefslogtreecommitdiffstats
path: root/src/sound/DSSIPluginInstance.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/sound/DSSIPluginInstance.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/sound/DSSIPluginInstance.h')
-rw-r--r--src/sound/DSSIPluginInstance.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/sound/DSSIPluginInstance.h b/src/sound/DSSIPluginInstance.h
index eca6327..bf1a197 100644
--- a/src/sound/DSSIPluginInstance.h
+++ b/src/sound/DSSIPluginInstance.h
@@ -25,7 +25,7 @@
#include <vector>
#include <set>
#include <map>
-#include <qstring.h>
+#include <tqstring.h>
#include "Instrument.h"
#ifdef HAVE_DSSI
@@ -47,14 +47,14 @@ public:
virtual bool isOK() const { return m_instanceHandle != 0; }
InstrumentId getInstrument() const { return m_instrument; }
- virtual QString getIdentifier() const { return m_identifier; }
+ virtual TQString getIdentifier() const { return m_identifier; }
int getPosition() const { return m_position; }
virtual void run(const RealTime &);
virtual void setPortValue(unsigned int portNumber, float value);
virtual float getPortValue(unsigned int portNumber);
- virtual QString configure(QString key, QString value);
+ virtual TQString configure(TQString key, TQString value);
virtual void sendEvent(const RealTime &eventTime,
const void *event);
@@ -64,11 +64,11 @@ public:
virtual sample_t **getAudioInputBuffers() { return m_inputBuffers; }
virtual sample_t **getAudioOutputBuffers() { return m_outputBuffers; }
- virtual QStringList getPrograms();
- virtual QString getCurrentProgram();
- virtual QString getProgram(int bank, int program);
- virtual unsigned long getProgram(QString name);
- virtual void selectProgram(QString program);
+ virtual TQStringList getPrograms();
+ virtual TQString getCurrentProgram();
+ virtual TQString getProgram(int bank, int program);
+ virtual unsigned long getProgram(TQString name);
+ virtual void selectProgram(TQString program);
virtual bool isBypassed() const { return m_bypassed; }
virtual void setBypassed(bool bypassed) { m_bypassed = bypassed; }
@@ -90,7 +90,7 @@ protected:
//
DSSIPluginInstance(PluginFactory *factory,
InstrumentId instrument,
- QString identifier,
+ TQString identifier,
int position,
unsigned long sampleRate,
size_t blockSize,
@@ -101,7 +101,7 @@ protected:
//
DSSIPluginInstance(PluginFactory *factory,
InstrumentId instrument,
- QString identifier,
+ TQString identifier,
int position,
unsigned long sampleRate,
size_t blockSize,
@@ -118,7 +118,7 @@ protected:
bool handleController(snd_seq_event_t *ev);
void setPortValueFromController(unsigned int portNumber, int controlValue);
- void selectProgramAux(QString program, bool backupPortValues);
+ void selectProgramAux(TQString program, bool backupPortValues);
void checkProgramCache();
void initialiseGroupMembership();
@@ -150,7 +150,7 @@ protected:
struct ProgramDescriptor {
int bank;
int program;
- QString name;
+ TQString name;
};
std::vector<ProgramDescriptor> m_cachedPrograms;
bool m_programCacheValid;
@@ -170,14 +170,14 @@ protected:
bool m_runSinceReset;
bool m_bypassed;
- QString m_program;
+ TQString m_program;
bool m_grouped;
RealTime m_lastRunTime;
pthread_mutex_t m_processLock;
typedef std::set<DSSIPluginInstance *> PluginSet;
- typedef std::map<QString, PluginSet> GroupMap;
+ typedef std::map<TQString, PluginSet> GroupMap;
static GroupMap m_groupMap;
static snd_seq_event_t **m_groupLocalEventBuffers;
static size_t m_groupLocalEventBufferCount;