Move HtmlEscape (escape for qt rich text controls) to qt gui utilities

This commit is contained in:
Wladimir J. van der Laan
2011-11-11 10:13:25 +01:00
parent c75abc9f7e
commit e073457191
5 changed files with 31 additions and 30 deletions

View File

@@ -31,6 +31,10 @@ public:
// Parse "bitcoin:" URL into recipient object, return true on succesful parsing
// See Bitcoin URL definition discussion here: https://bitcointalk.org/index.php?topic=33490.0
static bool parseBitcoinURL(const QUrl *url, SendCoinsRecipient *out);
// HTML escaping for rich text controls
static QString HtmlEscape(const QString& str, bool fMultiLine=false);
static QString HtmlEscape(const std::string& str, bool fMultiLine=false);
};
#endif // GUIUTIL_H