summaryrefslogtreecommitdiffstats
path: root/src/sequencer/MmappedSegment.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/sequencer/MmappedSegment.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/sequencer/MmappedSegment.cpp')
-rw-r--r--src/sequencer/MmappedSegment.cpp10
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;