|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Functions | |
| const QRegularExpression & | wordSeparator () |
| The chunks textwrap breaks lines between: Python's TextWrapper.wordsep_re (words, their hyphenated parts, and runs of white space), in PCRE's syntax. | |
| QStringList | chunksOf (const QString &text) |
text split into chunks, as TextWrapper._split() does. | |
| bool | isSpace (const QString &chunk) |
Whether chunk is only white space. | |
| void | handleLongWord (QStringList &reversed, QStringList &line, qsizetype used, qsizetype width) |
Puts as much of the chunk at the end of reversed on line as fits in width after used characters, as TextWrapper._handle_long_word() does. | |
| QString | enumText (const QJsonValue &values) |
values as sonde describe lists an enum: each as JSON, between " | ". | |
| QString | kindOf (const QJsonObject &prop) |
What kind of value argument prop takes, as sonde describe says it. | |