#include <QFile>
#include <QString>
#include <QTextStream>
+#include <QFileInfo>
const char TELEMAC_FORMAT = 'f';
const int TELEMAC_PRECISION = 3;
ExportDBF( aDbfFileName, anAttr, anAttrValues, aTypes );
aResList << QString( "%1.ImportSHP( '%2' )" ).
- arg( aName ).arg( aShpFileName );
+ arg( aName ).arg( QFileInfo( aShpFileName ).fileName() );
Dump( "attr_values", anAttrValues, aResList );
Dump( "types", aTypes, aResList );
aResList << QString( "%1.ImportDBF( '%2', '%3', attr_values, types )" ).
- arg( aName ).arg( aDbfFileName ).arg( anAttr );
+ arg( aName ).arg( QFileInfo( aDbfFileName ).fileName() ).arg( anAttr );
return aResList;
}