| 56 | } |
| 57 | |
| 58 | void setFileContents(const QString& contents) |
| 59 | { |
| 60 | QFile file(this->file); |
| 61 | file.open(QIODevice::WriteOnly | QIODevice::Truncate); |
| 62 | Q_ASSERT(file.isOpen()); |
| 63 | Q_ASSERT(file.isWritable()); |
| 64 | file.write(contents.toUtf8()); |
| 65 | ready = false; |
| 66 | } |
| 67 | |
| 68 | QString file; |
| 69 | QString suffix; |
nothing calls this directly
no test coverage detected