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/sequencer/RosegardenSequencerApp.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/sequencer/RosegardenSequencerApp.h')
-rw-r--r-- | src/sequencer/RosegardenSequencerApp.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/sequencer/RosegardenSequencerApp.h b/src/sequencer/RosegardenSequencerApp.h index bb72547..72208d3 100644 --- a/src/sequencer/RosegardenSequencerApp.h +++ b/src/sequencer/RosegardenSequencerApp.h @@ -35,14 +35,14 @@ // include files for Qt -#include <qstrlist.h> +#include <tqstrlist.h> // include files for KDE #include <kapp.h> #include <kmainwindow.h> #include <kaccel.h> -#include <qtimer.h> +#include <tqtimer.h> #include "base/Composition.h" #include "gui/application/RosegardenDCOP.h" @@ -161,11 +161,11 @@ public: // Return the Sound system status (audio/MIDI) // - virtual unsigned int getSoundDriverStatus(const QString &guiVersion); + virtual unsigned int getSoundDriverStatus(const TQString &guiVersion); // Add and remove Audio files on the sequencer // - virtual int addAudioFile(const QString &fileName, int id); + virtual int addAudioFile(const TQString &fileName, int id); virtual int removeAudioFile(int id); // Deletes all the audio files and clears down any flapping i/o handles @@ -209,18 +209,18 @@ public: virtual int canReconnect(int deviceType); virtual unsigned int addDevice(int type, unsigned int direction); virtual void removeDevice(unsigned int id); - virtual void renameDevice(unsigned int id, QString name); + virtual void renameDevice(unsigned int id, TQString name); virtual unsigned int getConnections(int type, unsigned int direction); - virtual QString getConnection(int type, unsigned int direction, + virtual TQString getConnection(int type, unsigned int direction, unsigned int connectionNo); - virtual void setConnection(unsigned int deviceId, QString connection); + virtual void setConnection(unsigned int deviceId, TQString connection); virtual void setPlausibleConnection(unsigned int deviceId, - QString idealConnection); + TQString idealConnection); virtual unsigned int getTimers(); - virtual QString getTimer(unsigned int n); - virtual QString getCurrentTimer(); - virtual void setCurrentTimer(QString timer); + virtual TQString getTimer(unsigned int n); + virtual TQString getCurrentTimer(); + virtual void setCurrentTimer(TQString timer); virtual void setLowLatencyMode(bool); @@ -232,7 +232,7 @@ public: // Set a MappedObject // virtual void setMappedProperty(int id, - const QString &property, + const TQString &property, float value); // Set many properties on many MappedObjects @@ -244,13 +244,13 @@ public: // Set a MappedObject to a string // virtual void setMappedProperty(int id, - const QString &property, - const QString &value); + const TQString &property, + const TQString &value); // Set a MappedObject to a property list // virtual void setMappedPropertyList(int id, - const QString &property, + const TQString &property, const MappedObjectPropertyList &values); // Get a MappedObject for a type @@ -259,14 +259,14 @@ public: // Get a Property list from an Object // - virtual std::vector<QString> getPropertyList(int id, - const QString &property); + virtual std::vector<TQString> getPropertyList(int id, + const TQString &property); - virtual std::vector<QString> getPluginInformation(); + virtual std::vector<TQString> getPluginInformation(); - virtual QString getPluginProgram(int id, int bank, int program); + virtual TQString getPluginProgram(int id, int bank, int program); - virtual unsigned long getPluginProgram(int id, const QString &name); + virtual unsigned long getPluginProgram(int id, const TQString &name); // Set a plugin port // @@ -307,9 +307,9 @@ public: // Debug stuff, to check MmappedSegment::iterator virtual void dumpFirstSegment(); - virtual void remapSegment(const QString& filename, size_t newSize); - virtual void addSegment(const QString& filename); - virtual void deleteSegment(const QString& filename); + virtual void remapSegment(const TQString& filename, size_t newSize); + virtual void addSegment(const TQString& filename); + virtual void deleteSegment(const TQString& filename); virtual void closeAllSegments(); virtual void remapTracks(); @@ -319,7 +319,7 @@ public: // Get a status report // - virtual QString getStatusLog(); + virtual TQString getStatusLog(); // // @@ -448,7 +448,7 @@ protected: void applyLatencyCompensation(MappedComposition &); // mmap-related stuff - MmappedSegment* mmapSegment(const QString&); + MmappedSegment* mmapSegment(const TQString&); void cleanupMmapData(); void initMetaIterator(); @@ -502,15 +502,15 @@ protected: // Slice revert storage // RealTime m_oldSliceSize; - QTimer *m_sliceTimer; + TQTimer *m_sliceTimer; // Timer to check for new clients // - QTimer *m_newClientTimer; + TQTimer *m_newClientTimer; // mmap segments // - QString m_segmentFilesPath; + TQString m_segmentFilesPath; MmappedSegmentsMetaIterator::mmappedsegments m_mmappedSegments; MmappedSegmentsMetaIterator* m_metaIterator; RealTime m_lastStartTime; |