| 96 | } |
| 97 | |
| 98 | void CodePortingManager::slotAppendOutput(const QString &content, OutputPane::OutputFormat format, OutputPane::AppendMode mode) |
| 99 | { |
| 100 | if (outputPane) { |
| 101 | QString newContent = content; |
| 102 | if (OutputPane::OutputFormat::NormalMessage == format |
| 103 | || OutputPane::OutputFormat::ErrorMessage == format) { |
| 104 | QDateTime curDatetime = QDateTime::currentDateTime(); |
| 105 | QString time = curDatetime.toString("hh:mm:ss"); |
| 106 | newContent = time + ": " + newContent; |
| 107 | } |
| 108 | outputPane->appendText(newContent, format, mode); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | CodePortingManager::CodePortingManager(QObject *parent) |
| 113 | : QObject(parent), |
nothing calls this directly
no test coverage detected