| 229 | } |
| 230 | |
| 231 | QString shortTextHash(QString string) |
| 232 | { |
| 233 | string.remove(QRegExp("[{}<>&]")); |
| 234 | return QString(QCryptographicHash::hash(qPrintable(string), QCryptographicHash::Md5).toBase64()).remove(QRegExp("[^a-zA-Z1-9]")).left(6); |
| 235 | } |
| 236 | |
| 237 | QStringList parse(QString args, char split, bool *ok) |
| 238 | { |