diff options
Diffstat (limited to 'src/sequencer/RosegardenSequencerIface.h')
-rw-r--r-- | src/sequencer/RosegardenSequencerIface.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/sequencer/RosegardenSequencerIface.h b/src/sequencer/RosegardenSequencerIface.h index 47c0215..ac401ae 100644 --- a/src/sequencer/RosegardenSequencerIface.h +++ b/src/sequencer/RosegardenSequencerIface.h @@ -26,8 +26,8 @@ #define _ROSEGARDENSEQUENCERIFACE_H_ #include <dcopobject.h> -// #include <qvaluevector.h> -// #include <qpair.h> +// #include <tqvaluevector.h> +// #include <tqpair.h> #include "gui/application/RosegardenDCOP.h" @@ -104,11 +104,11 @@ public: // Get the status of the Sequencer // - virtual unsigned int getSoundDriverStatus(const QString &guiVersion) = 0; + virtual unsigned int getSoundDriverStatus(const TQString &guiVersion) = 0; // Add and delete audio files on the Sequencer // - virtual int addAudioFile(const QString &fileName, int id) = 0; + virtual int addAudioFile(const TQString &fileName, int id) = 0; virtual int removeAudioFile(int id) = 0; virtual void clearAllAudioFiles() = 0; @@ -179,7 +179,7 @@ public: // Rename the given device. // Ignored if the driver does not permit this operation. // - virtual void renameDevice(unsigned int id, QString name) = 0; + virtual void renameDevice(unsigned int id, TQString name) = 0; // Return the number of permissible connections for a device of // the given type and direction (corresponding to MidiDevice:: @@ -194,7 +194,7 @@ public: // DeviceDirection enum). Direction is ignored for non-MIDI devices. // Returns the empty string for invalid parameters. // - virtual QString getConnection(int type, + virtual TQString getConnection(int type, unsigned int direction, unsigned int connectionNo) = 0; @@ -202,14 +202,14 @@ public: // Ignored if driver does not permit reconnections or the connection // is not one of the permissible set for that device. // - virtual void setConnection(unsigned int deviceId, QString connection) = 0; + virtual void setConnection(unsigned int deviceId, TQString connection) = 0; // Reconnect a device to a particular connection or to the closest // thing to that connection currently available (using some heuristic). // Ignored if driver does not permit reconnections. // virtual void setPlausibleConnection(unsigned int deviceId, - QString idealConnection) = 0; + TQString idealConnection) = 0; // Return the number of different timers we are capable of // sychronising against. This may return 0 if the driver has no @@ -220,17 +220,17 @@ public: // Return the name of a timer from the available set (where // n is between 0 and the return value from getTimers() - 1). // - virtual QString getTimer(unsigned int n) = 0; + virtual TQString getTimer(unsigned int n) = 0; // Return the name of the timer we are currently synchronising // against. // - virtual QString getCurrentTimer() = 0; + virtual TQString getCurrentTimer() = 0; // Set the timer we are currently synchronising against. // Invalid arguments are simply ignored. // - virtual void setCurrentTimer(QString timer) = 0; + virtual void setCurrentTimer(TQString timer) = 0; virtual void setLowLatencyMode(bool lowLatMode) = 0; @@ -242,7 +242,7 @@ public: // Set a property on a MappedObject // virtual void setMappedProperty(int id, - const QString &property, + const TQString &property, float value) = 0; // Set many properties on many MappedObjects @@ -254,14 +254,14 @@ public: // Set a string property on a MappedObject // virtual void setMappedProperty(int id, - const QString &property, - const QString &value) = 0; + const TQString &property, + const TQString &value) = 0; // Set a MappedObject to a property list // virtual void setMappedPropertyList( int id, - const QString &property, + const TQString &property, const MappedObjectPropertyList &values) = 0; // Get a mapped object id for a object type @@ -270,21 +270,21 @@ public: // Get a list of properties of a certain type from an object // - virtual std::vector<QString> getPropertyList(int id, - const QString &property) = 0; + virtual std::vector<TQString> getPropertyList(int id, + const TQString &property) = 0; // Get a list of available plugins // - virtual std::vector<QString> getPluginInformation() = 0; + virtual std::vector<TQString> getPluginInformation() = 0; // Nasty hack: program name/number mappings are one thing that // mapped object properties can't cope with // - virtual QString getPluginProgram(int mappedId, int bank, int program) = 0; + virtual TQString getPluginProgram(int mappedId, int bank, int program) = 0; // Nastier hack: return value is bank << 16 + program // - virtual unsigned long getPluginProgram(int mappedId, const QString &name) = 0; + virtual unsigned long getPluginProgram(int mappedId, const TQString &name) = 0; // Cheat - we can't use a call (getPropertyList) during playback // so we use this method to set port N on plugin X. @@ -334,19 +334,19 @@ public: // Return a (potentially lengthy) human-readable status log // - virtual QString getStatusLog() = 0; + virtual TQString getStatusLog() = 0; // Debug stuff, to check MmappedSegment::iterator virtual void dumpFirstSegment() = 0; /// Remap a segment while playing - virtual void remapSegment(const QString& filename, size_t newSize) = 0; + virtual void remapSegment(const TQString& filename, size_t newSize) = 0; /// Add a segment while playing - virtual void addSegment(const QString& filename) = 0; + virtual void addSegment(const TQString& filename) = 0; /// Delete a segment while playing - virtual void deleteSegment(const QString& filename) = 0; + virtual void deleteSegment(const TQString& filename) = 0; /// Close all mmapped segments virtual void closeAllSegments() = 0; |