| 75 | |
| 76 | |
| 77 | QByteArray SearchDialog::getContent(int comboIndex, const QString &input) |
| 78 | { |
| 79 | QByteArray findBa; |
| 80 | switch (comboIndex) |
| 81 | { |
| 82 | case 0: // hex |
| 83 | findBa = QByteArray::fromHex(input.toLatin1()); |
| 84 | break; |
| 85 | case 1: // text |
| 86 | findBa = input.toUtf8(); |
| 87 | break; |
| 88 | } |
| 89 | return findBa; |
| 90 | } |
| 91 | |
| 92 | qint64 SearchDialog::replaceOccurrence(qint64 idx, const QByteArray &replaceBa) |
| 93 | { |
nothing calls this directly
no outgoing calls
no test coverage detected