diff options
Diffstat (limited to 'src/gui/seqmanager/SegmentMmapper.cpp')
-rw-r--r-- | src/gui/seqmanager/SegmentMmapper.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/seqmanager/SegmentMmapper.cpp b/src/gui/seqmanager/SegmentMmapper.cpp index 5cf117d..37575b2 100644 --- a/src/gui/seqmanager/SegmentMmapper.cpp +++ b/src/gui/seqmanager/SegmentMmapper.cpp @@ -38,8 +38,8 @@ #include "base/TriggerSegment.h" #include "document/RosegardenGUIDoc.h" #include "sound/MappedEvent.h" -#include <qfile.h> -#include <qstring.h> +#include <tqfile.h> +#include <tqstring.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -51,7 +51,7 @@ namespace Rosegarden { SegmentMmapper::SegmentMmapper(RosegardenGUIDoc* doc, - Segment* segment, const QString& fileName) + Segment* segment, const TQString& fileName) : m_doc(doc), m_segment(segment), m_fileName(fileName), @@ -108,7 +108,7 @@ SegmentMmapper::~SegmentMmapper() ::close(m_fd); SEQMAN_DEBUG << "~SegmentMmapper : removing " << m_fileName << endl; - QFile::remove + TQFile::remove (m_fileName); } @@ -234,7 +234,7 @@ void SegmentMmapper::remap(size_t newsize) #endif if (m_mmappedRegion == (void*) - 1) { - SEQMAN_DEBUG << QString("mremap failed : (%1) %2\n").arg(errno).arg(strerror(errno)); + SEQMAN_DEBUG << TQString("mremap failed : (%1) %2\n").arg(errno).arg(strerror(errno)); throw Exception("mremap failed"); } @@ -253,7 +253,7 @@ void SegmentMmapper::doMmap() m_mmappedEventBuffer = (MappedEvent *)((size_t *)m_mmappedRegion + 1); if (m_mmappedRegion == (void*) - 1) { - SEQMAN_DEBUG << QString("mmap failed : (%1) %2\n").arg(errno).arg(strerror(errno)); + SEQMAN_DEBUG << TQString("mmap failed : (%1) %2\n").arg(errno).arg(strerror(errno)); throw Exception("mmap failed"); } |