void IoslotValueExporter::run() { switch (d_filetype) { case Excel: toExcel(); break; case CSV: toCSV(); break; } }
void QxtCsvModel::toCSV(const QString filename, bool withHeader, QChar separator) { QFile dest(filename); toCSV(&dest, withHeader, separator); }