Wexus2 0.20
wexus::HTMLString Class Reference

#include <HTMLString.h>

List of all members.

Public Member Functions

 HTMLString (const QString &s)
HTMLStringoperator= (const HTMLString &rhs)
 assignment operator
HTMLStringoperator= (const QString &rhs)
 assignment operator

Static Public Member Functions

static HTMLString encode (const QString &s)

Detailed Description

This is a QString that is safe for emiting directly to the user (that is, it has been properly escaped)

Author:
Aleksander Demko

Constructor & Destructor Documentation

wexus::HTMLString::HTMLString ( const QString &  s) [explicit]

Creates an HTMLString from the given s. This basically marks s as already encoded.

Author:
Aleksander Demko

Member Function Documentation

static HTMLString wexus::HTMLString::encode ( const QString &  s) [static]

HTML encode the given string and return the encoded string.

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator