Nepomuk-Core
message-escape-filter.cpp
Go to the documentation of this file.
28 void MessageEscapeFilter::filterMessage(KTp::Message &message, const KTp::MessageContext &context)
33 escapedMessage.replace(QLatin1String("\n "), QLatin1String("<br/> ")); //keep leading whitespaces
36 escapedMessage.replace(QLatin1Char('\t'), QLatin1String(" ")); // replace tabs by 4 spaces
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.