diff options
Diffstat (limited to 'src/sequencer/MmappedSegment.cpp')
-rw-r--r-- | src/sequencer/MmappedSegment.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sequencer/MmappedSegment.cpp b/src/sequencer/MmappedSegment.cpp index 57b3dc9..2176bdd 100644 --- a/src/sequencer/MmappedSegment.cpp +++ b/src/sequencer/MmappedSegment.cpp @@ -35,7 +35,7 @@ namespace Rosegarden { -MmappedSegment::MmappedSegment(const QString filename) +MmappedSegment::MmappedSegment(const TQString filename) : m_fd( -1), m_mmappedSize(0), m_mmappedRegion(0), @@ -56,7 +56,7 @@ bool MmappedSegment::isMetronome() void MmappedSegment::map() { - QFileInfo fInfo(m_filename); + TQFileInfo fInfo(m_filename); if (!fInfo.exists()) { SEQUENCER_DEBUG << "MmappedSegment::map() : file " << m_filename << " doesn't exist\n"; throw Exception("file not found"); @@ -70,7 +70,7 @@ void MmappedSegment::map() if (m_mmappedRegion == (void*) - 1) { - SEQUENCER_DEBUG << QString("mmap failed : (%1) %2\n"). + SEQUENCER_DEBUG << TQString("mmap failed : (%1) %2\n"). arg(errno).arg(strerror(errno)); throw Exception("mmap failed"); @@ -145,7 +145,7 @@ bool MmappedSegment::remap(size_t newSize) if (m_mmappedRegion == (void*) - 1) { - SEQUENCER_DEBUG << QString("mremap failed : (%1) %2\n"). + SEQUENCER_DEBUG << TQString("mremap failed : (%1) %2\n"). arg(errno).arg(strerror(errno)); throw Exception("mremap failed"); @@ -539,7 +539,7 @@ MmappedSegmentsMetaIterator::fillCompositionWithEventsUntil(bool /*firstFetch*/, return eventsRemaining || foundOneEvent; } -void MmappedSegmentsMetaIterator::resetIteratorForSegment(const QString& filename) +void MmappedSegmentsMetaIterator::resetIteratorForSegment(const TQString& filename) { for (segmentiterators::iterator i = m_iterators.begin(); i != m_iterators.end(); ++i) { MmappedSegment::iterator* iter = *i; |