mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
A new class QgsPathResolver is introduced for conversion between absolute and relative paths when reading/writing XML. Cleaned up code in layer definition file support (.qlr) to better handle relative/absolute path conversion.
16 lines
276 B
Plaintext
16 lines
276 B
Plaintext
|
|
class QgsPathResolver
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgspathresolver.h>
|
|
%End
|
|
|
|
public:
|
|
explicit QgsPathResolver( const QString& baseFileName = QString() );
|
|
|
|
QString writePath( const QString& filename ) const;
|
|
|
|
QString readPath( const QString& filename ) const;
|
|
|
|
};
|