Mercurial > hg > svcore
comparison data/fileio/FileSource.cpp @ 678:948271d124ac
Make more (though still not entirely) robust in the face of running out of disc space
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2011 15:20:27 +0100 |
parents | a4faa1840384 |
children | b4a8d8221eaf |
comparison
equal
deleted
inserted
replaced
677:ce73529405e4 | 678:948271d124ac |
---|---|
588 { | 588 { |
589 return m_localFilename; | 589 return m_localFilename; |
590 } | 590 } |
591 | 591 |
592 QString | 592 QString |
593 FileSource::getBasename() const | |
594 { | |
595 return QFileInfo(m_localFilename).fileName(); | |
596 } | |
597 | |
598 QString | |
593 FileSource::getContentType() const | 599 FileSource::getContentType() const |
594 { | 600 { |
595 return m_contentType; | 601 return m_contentType; |
596 } | 602 } |
597 | 603 |