kmail
KMail::Util Namespace Reference
Detailed Description
The Util namespace contains a collection of helper functions use in various places.
Classes | |
class | LaterDeleter |
A LaterDeleter is intended to be used with the RAII ( Resource Acquisiation is Initialization ) paradigm. More... | |
Functions | |
size_t | crlf2lf (char *str, const size_t strLen) |
QCString | lf2crlf (const QCString &src) |
Function Documentation
|
Convert all sequences of "\r\n" (carriage return followed by a line feed) to a single "\n" (line feed). The conversion happens in place. Returns the length of the resulting string.
|
|
Convert "\n" line endings to "\r\n".
|