Wexus2 0.20
|
#include <HTMLString.h>
Public Member Functions | |
HTMLString (const QString &s) | |
HTMLString & | operator= (const HTMLString &rhs) |
assignment operator | |
HTMLString & | operator= (const QString &rhs) |
assignment operator | |
Static Public Member Functions | |
static HTMLString | encode (const QString &s) |
This is a QString that is safe for emiting directly to the user (that is, it has been properly escaped)
wexus::HTMLString::HTMLString | ( | const QString & | s | ) | [explicit] |
Creates an HTMLString from the given s. This basically marks s as already encoded.
static HTMLString wexus::HTMLString::encode | ( | const QString & | s | ) | [static] |
HTML encode the given string and return the encoded string.