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/AlsaDriver.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/AlsaDriver.h')
-rw-r--r-- | src/sound/AlsaDriver.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/sound/AlsaDriver.h b/src/sound/AlsaDriver.h index e80e30f..973fc72 100644 --- a/src/sound/AlsaDriver.h +++ b/src/sound/AlsaDriver.h @@ -70,7 +70,7 @@ public: virtual bool record(RecordStatus recordStatus, const std::vector<InstrumentId> *armedInstruments = 0, - const std::vector<QString> *audioFileNames = 0); + const std::vector<TQString> *audioFileNames = 0); virtual void startClocks(); virtual void startClocksApproved(); // called by JACK driver in sync mode @@ -149,7 +149,7 @@ public: // Plugin instance management // virtual void setPluginInstance(InstrumentId id, - QString identifier, + TQString identifier, int position) { #ifdef HAVE_LIBJACK if (m_jackDriver) m_jackDriver->setPluginInstance(id, identifier, position); @@ -196,35 +196,35 @@ public: #endif } - virtual QStringList getPluginInstancePrograms(InstrumentId id, + virtual TQStringList getPluginInstancePrograms(InstrumentId id, int position) { #ifdef HAVE_LIBJACK if (m_jackDriver) return m_jackDriver->getPluginInstancePrograms(id, position); #endif - return QStringList(); + return TQStringList(); } - virtual QString getPluginInstanceProgram(InstrumentId id, + virtual TQString getPluginInstanceProgram(InstrumentId id, int position) { #ifdef HAVE_LIBJACK if (m_jackDriver) return m_jackDriver->getPluginInstanceProgram(id, position); #endif - return QString(); + return TQString(); } - virtual QString getPluginInstanceProgram(InstrumentId id, + virtual TQString getPluginInstanceProgram(InstrumentId id, int position, int bank, int program) { #ifdef HAVE_LIBJACK if (m_jackDriver) return m_jackDriver->getPluginInstanceProgram(id, position, bank, program); #endif - return QString(); + return TQString(); } virtual unsigned long getPluginInstanceProgram(InstrumentId id, int position, - QString name) { + TQString name) { #ifdef HAVE_LIBJACK if (m_jackDriver) return m_jackDriver->getPluginInstanceProgram(id, position, name); #endif @@ -233,20 +233,20 @@ public: virtual void setPluginInstanceProgram(InstrumentId id, int position, - QString program) { + TQString program) { #ifdef HAVE_LIBJACK if (m_jackDriver) m_jackDriver->setPluginInstanceProgram(id, position, program); #endif } - virtual QString configurePlugin(InstrumentId id, + virtual TQString configurePlugin(InstrumentId id, int position, - QString key, - QString value) { + TQString key, + TQString value) { #ifdef HAVE_LIBJACK if (m_jackDriver) return m_jackDriver->configurePlugin(id, position, key, value); #endif - return QString(); + return TQString(); } virtual void setAudioBussLevels(int bussId, @@ -333,22 +333,22 @@ public: virtual DeviceId addDevice(Device::DeviceType type, MidiDevice::DeviceDirection direction); virtual void removeDevice(DeviceId id); - virtual void renameDevice(DeviceId id, QString name); + virtual void renameDevice(DeviceId id, TQString name); // Get available connections per device // virtual unsigned int getConnections(Device::DeviceType type, MidiDevice::DeviceDirection direction); - virtual QString getConnection(Device::DeviceType type, + virtual TQString getConnection(Device::DeviceType type, MidiDevice::DeviceDirection direction, unsigned int connectionNo); - virtual void setConnection(DeviceId deviceId, QString connection); - virtual void setPlausibleConnection(DeviceId deviceId, QString connection); + virtual void setConnection(DeviceId deviceId, TQString connection); + virtual void setPlausibleConnection(DeviceId deviceId, TQString connection); virtual unsigned int getTimers(); - virtual QString getTimer(unsigned int); - virtual QString getCurrentTimer(); - virtual void setCurrentTimer(QString); + virtual TQString getTimer(unsigned int); + virtual TQString getCurrentTimer(); + virtual void setCurrentTimer(TQString); virtual void getAudioInstrumentNumbers(InstrumentId &audioInstrumentBase, int &audioInstrumentCount) { @@ -370,7 +370,7 @@ public: #endif } - virtual QString getStatusLog(); + virtual TQString getStatusLog(); // To be called regularly from JACK driver when idle void checkTimerSync(size_t frames); @@ -415,8 +415,8 @@ protected: virtual void processAudioQueue(bool /* now */) { } - virtual void setConnectionToDevice(MappedDevice &device, QString connection); - virtual void setConnectionToDevice(MappedDevice &device, QString connection, + virtual void setConnectionToDevice(MappedDevice &device, TQString connection); + virtual void setConnectionToDevice(MappedDevice &device, TQString connection, const ClientPortPair &pair); private: |