7 #include "ExportDelimiter.h" 10 QString exportDelimiterToString (ExportDelimiter exportDelimiter)
14 switch (exportDelimiter) {
15 case EXPORT_DELIMITER_COMMA:
16 rtn = QObject::tr (
"Commas");
19 case EXPORT_DELIMITER_SEMICOLON:
20 rtn = QObject::tr (
"Semicolons");
23 case EXPORT_DELIMITER_SPACE:
24 rtn = QObject::tr (
"Spaces");
27 case EXPORT_DELIMITER_TAB:
28 rtn = QObject::tr (
"Tabs");
35 QString exportDelimiterToText (ExportDelimiter exportDelimiter,
36 bool isGnuplotDelimiter)
40 switch (exportDelimiter) {
41 case EXPORT_DELIMITER_COMMA:
42 if (isGnuplotDelimiter) {
49 case EXPORT_DELIMITER_SEMICOLON:
53 case EXPORT_DELIMITER_SPACE:
57 case EXPORT_DELIMITER_TAB: