summaryrefslogtreecommitdiffstats
path: root/src/gui/seqmanager/ControlBlockMmapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/seqmanager/ControlBlockMmapper.cpp')
-rw-r--r--src/gui/seqmanager/ControlBlockMmapper.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/seqmanager/ControlBlockMmapper.cpp b/src/gui/seqmanager/ControlBlockMmapper.cpp
index 90ab6c2..3b49bcc 100644
--- a/src/gui/seqmanager/ControlBlockMmapper.cpp
+++ b/src/gui/seqmanager/ControlBlockMmapper.cpp
@@ -35,8 +35,8 @@
#include "document/RosegardenGUIDoc.h"
#include "sound/ControlBlock.h"
#include <kglobal.h>
-#include <qfile.h>
-#include <qstring.h>
+#include <tqfile.h>
+#include <tqstring.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -55,7 +55,7 @@ ControlBlockMmapper::ControlBlockMmapper(RosegardenGUIDoc* doc)
m_controlBlock(0)
{
// just in case
- QFile::remove
+ TQFile::remove
(m_fileName);
m_fd = ::open(m_fileName.latin1(), O_RDWR | O_CREAT | O_TRUNC,
@@ -76,7 +76,7 @@ ControlBlockMmapper::ControlBlockMmapper(RosegardenGUIDoc* doc)
MAP_SHARED, m_fd, 0);
if (m_mmappedBuffer == (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");
}
@@ -91,11 +91,11 @@ ControlBlockMmapper::~ControlBlockMmapper()
{
::munmap(m_mmappedBuffer, m_mmappedSize);
::close(m_fd);
- QFile::remove
+ TQFile::remove
(m_fileName);
}
-QString ControlBlockMmapper::createFileName()
+TQString ControlBlockMmapper::createFileName()
{
return KGlobal::dirs()->resourceDirs("tmp").last() + "/rosegarden_control_block";
}