summaryrefslogtreecommitdiffstats
path: root/src/gui/seqmanager/SequencerMapper.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/seqmanager/SequencerMapper.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/seqmanager/SequencerMapper.cpp')
-rw-r--r--src/gui/seqmanager/SequencerMapper.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/seqmanager/SequencerMapper.cpp b/src/gui/seqmanager/SequencerMapper.cpp
index 5d8acf3..af4ca09 100644
--- a/src/gui/seqmanager/SequencerMapper.cpp
+++ b/src/gui/seqmanager/SequencerMapper.cpp
@@ -33,8 +33,8 @@
#include "sound/MappedComposition.h"
#include "sound/MappedEvent.h"
#include "sound/SequencerDataBlock.h"
-#include <qfileinfo.h>
-#include <qstring.h>
+#include <tqfileinfo.h>
+#include <tqstring.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -45,7 +45,7 @@
namespace Rosegarden
{
-SequencerMapper::SequencerMapper(const QString filename)
+SequencerMapper::SequencerMapper(const TQString filename)
: m_fd( -1),
m_mmappedSize(0),
m_mmappedBuffer((void *)0),
@@ -63,7 +63,7 @@ SequencerMapper::~SequencerMapper()
void
SequencerMapper::map()
{
- QFileInfo fInfo(m_filename);
+ TQFileInfo fInfo(m_filename);
if (!fInfo.exists()) {
RG_DEBUG << "SequencerMapper::map() : file " << m_filename << " doesn't exist\n";
throw Exception("file not found");
@@ -82,7 +82,7 @@ SequencerMapper::map()
if (m_mmappedBuffer == (void*) - 1) {
- RG_DEBUG << QString("mmap failed : (%1) %2\n").
+ RG_DEBUG << TQString("mmap failed : (%1) %2\n").
arg(errno).arg(strerror(errno));
throw Exception("mmap failed");