| 87 | } |
| 88 | |
| 89 | QByteArray QManagedRequest::joinArguments(const QString& cmd, |
| 90 | const QStringList& l) { |
| 91 | QByteArray msg; |
| 92 | |
| 93 | msg += cmd.toUtf8(); |
| 94 | |
| 95 | foreach (QString a, l) { |
| 96 | if (a.isEmpty()) continue; |
| 97 | |
| 98 | if (a.contains(QRegExp("\\s"))) a = "\"" + a + "\""; |
| 99 | |
| 100 | msg += " "; |
| 101 | msg += a.toUtf8(); |
| 102 | } |
| 103 | |
| 104 | return msg; |
| 105 | } |
nothing calls this directly
no outgoing calls
no test coverage detected