Move HtmlEscape (escape for qt rich text controls) to qt gui utilities
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user