summaryrefslogtreecommitdiffstats
path: root/src/sequencer/MmappedSegment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sequencer/MmappedSegment.h')
-rw-r--r--src/sequencer/MmappedSegment.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/sequencer/MmappedSegment.h b/src/sequencer/MmappedSegment.h
index 32e2ea8..0becead 100644
--- a/src/sequencer/MmappedSegment.h
+++ b/src/sequencer/MmappedSegment.h
@@ -39,10 +39,10 @@
#include <kstandarddirs.h>
#include <dcopclient.h>
-#include <qdatetime.h>
-#include <qstring.h>
-#include <qdir.h>
-#include <qbuffer.h>
+#include <tqdatetime.h>
+#include <tqstring.h>
+#include <tqdir.h>
+#include <tqbuffer.h>
#include "ControlBlockMmapper.h"
#include "sound/MappedInstrument.h"
@@ -62,11 +62,11 @@ class MappedComposition;
class MmappedSegment
{
public:
- MmappedSegment(const QString filename);
+ MmappedSegment(const TQString filename);
~MmappedSegment();
bool remap(size_t newSize);
- QString getFileName() const { return m_filename; }
+ TQString getFileName() const { return m_filename; }
bool isMetronome();
MappedEvent* getBuffer() { return m_mmappedEventBuffer; }
size_t getSize() const { return m_mmappedSize; }
@@ -116,14 +116,14 @@ protected:
// unsigned int m_nbMappedEvents;
void *m_mmappedRegion;
MappedEvent* m_mmappedEventBuffer;
- QString m_filename;
+ TQString m_filename;
};
class MmappedSegmentsMetaIterator
{
public:
- typedef std::map<QString, MmappedSegment*> mmappedsegments;
+ typedef std::map<TQString, MmappedSegment*> mmappedsegments;
MmappedSegmentsMetaIterator(mmappedsegments&,
ControlBlockMmapper*);
@@ -143,7 +143,7 @@ public:
const RealTime& start,
const RealTime& end);
- void resetIteratorForSegment(const QString& filename);
+ void resetIteratorForSegment(const TQString& filename);
void addSegment(MmappedSegment*);
void deleteSegment(MmappedSegment*);