diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-11-11 10:13:25 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-12-23 12:07:23 +0100 |
| commit | e0734571912736356839fde75fd10993b0df81d5 (patch) | |
| tree | d8507706ef7131954cacf74993a4c31fca225381 /src/qt/guiutil.h | |
| parent | Comments update (diff) | |
| download | discoin-e0734571912736356839fde75fd10993b0df81d5.tar.xz discoin-e0734571912736356839fde75fd10993b0df81d5.zip | |
Move HtmlEscape (escape for qt rich text controls) to qt gui utilities
Diffstat (limited to 'src/qt/guiutil.h')
| -rw-r--r-- | src/qt/guiutil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 94e3314d1..acd327728 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -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 |