* @brief Open a new CSV file to save received data * */
| 813 | * |
| 814 | */ |
| 815 | void MainWindow::openCsvFile(void) |
| 816 | { |
| 817 | m_csvFile = new QFile(QDateTime::currentDateTime().toString("yyyy-MM-d-HH-mm-ss-")+"data-out.csv"); |
| 818 | if(!m_csvFile) |
| 819 | return; |
| 820 | if (!m_csvFile->open(QIODevice::ReadWrite | QIODevice::Text)) |
| 821 | return; |
| 822 | |
| 823 | } |
| 824 | /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ |
| 825 | |
| 826 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected