// --------------------------------------------------------------------------------- QString ReportType::exportDataFileName ( Report const& rep ) const { QString absFilePath = _M_data_export_file_template; TimeRange const& range = rep.range(); absFilePath.replace ( "<smart_timerange>", time_range_formatter().pretty_filename_format ( range ), Qt::CaseInsensitive ); return absFilePath; }