Logo Search packages:      
Sourcecode: kmess version File versions  Download package

FormattedString Class Reference

#include <richtextparser.h>

List of all members.


Detailed Description

A collection of strings to use with formatting.

A little class to hold together three strings: the original one, a formatted and a cleaned up version of it; it also allows for very easy manipulation.

Author:
Valerio Pilo <valerio@kmess.org>

Definition at line 125 of file richtextparser.h.


Public Member Functions

 FormattedString (const QString &string=QString(), bool parseName=true)
const QString & getCleaned () const
const QString & getFormatted () const
const QString & getOriginal () const
const QString & getString (FormattingMode mode=STRING_CLEANED) const
void setOptions (bool showEmoticons=true, bool showSmallEmoticons=true, bool showLinks=false)
void setString (const QString &string)

Private Attributes

QString cleaned_
QString escaped_
QString formatted_
QString original_
bool showEmoticons_
bool showLinks_
bool showSmallEmoticons_

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index