Mercurial > hg > svcore
comparison transform/FileFeatureWriter.cpp @ 507:0944d13689b2
* Implement proper RDF feature writing for track level features, using
the feature attribute URI given in the plugin description RDF (if there
is one)
author | Chris Cannam |
---|---|
date | Fri, 05 Dec 2008 14:19:04 +0000 |
parents | 823e8a4feff5 |
children | e7a39c45a7a4 |
comparison
equal
deleted
inserted
replaced
506:823e8a4feff5 | 507:0944d13689b2 |
---|---|
169 | 169 |
170 QString dirname, basename; | 170 QString dirname, basename; |
171 QString infilename = url.toLocalFile(); | 171 QString infilename = url.toLocalFile(); |
172 if (infilename == "") infilename = url.path(); | 172 if (infilename == "") infilename = url.path(); |
173 basename = QFileInfo(infilename).baseName(); | 173 basename = QFileInfo(infilename).baseName(); |
174 // cerr << "url = " << url.toString().toStdString() << ", infilename = " | 174 |
175 // << infilename.toStdString() << ", basename = " << basename.toStdString() << endl; | 175 cerr << "trackId = " << trackId.toStdString() << ", url = " << url.toString().toStdString() << ", infilename = " |
176 << infilename.toStdString() << ", basename = " << basename.toStdString() << endl; | |
176 | 177 |
177 | 178 |
178 if (m_baseDir != "") dirname = QFileInfo(m_baseDir).absoluteFilePath(); | 179 if (m_baseDir != "") dirname = QFileInfo(m_baseDir).absoluteFilePath(); |
179 else if (local) dirname = QFileInfo(infilename).absolutePath(); | 180 else if (local) dirname = QFileInfo(infilename).absolutePath(); |
180 else dirname = QDir::currentPath(); | 181 else dirname = QDir::currentPath(); |