summaryrefslogtreecommitdiffstats
path: root/src/sequencer/MmappedSegment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sequencer/MmappedSegment.cpp')
-rw-r--r--src/sequencer/MmappedSegment.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sequencer/MmappedSegment.cpp b/src/sequencer/MmappedSegment.cpp
index 2176bdd..2cdffe0 100644
--- a/src/sequencer/MmappedSegment.cpp
+++ b/src/sequencer/MmappedSegment.cpp
@@ -49,7 +49,7 @@ MmappedSegment::MmappedSegment(const TQString filename)
bool MmappedSegment::isMetronome()
{
- return (getFileName().contains("metronome", false) > 0);
+ return (getFileName().tqcontains("metronome", false) > 0);
}
@@ -71,7 +71,7 @@ void MmappedSegment::map()
if (m_mmappedRegion == (void*) - 1) {
SEQUENCER_DEBUG << TQString("mmap failed : (%1) %2\n").
- arg(errno).arg(strerror(errno));
+ tqarg(errno).tqarg(strerror(errno));
throw Exception("mmap failed");
}
@@ -146,7 +146,7 @@ bool MmappedSegment::remap(size_t newSize)
if (m_mmappedRegion == (void*) - 1) {
SEQUENCER_DEBUG << TQString("mremap failed : (%1) %2\n").
- arg(errno).arg(strerror(errno));
+ tqarg(errno).tqarg(strerror(errno));
throw Exception("mremap failed");
}