libqutim  0.3.1.0
qutim_sdk_0_3::EmoticonsTheme Class Reference

#include <emoticons.h>

Classes

struct  Token
 

Public Types

enum  ParseModeFlag { DefaultParse = 0, StrictParse = 0x01 }
 
enum  TokenType { Undefined, Text, Image }
 

Public Member Functions

 EmoticonsTheme (const QString &name=QString())
 
 EmoticonsTheme (EmoticonsThemeData *data)
 
 EmoticonsTheme (const EmoticonsTheme &theme)
 
 ~EmoticonsTheme ()
 
QStringList emoticonsIndexes () const
 
QHash< QString, QStringList > emoticonsMap () const
 
bool isNull () const
 
EmoticonsThemeoperator= (const EmoticonsTheme &theme)
 
QString parseEmoticons (const QString &text, ParseMode mode=DefaultParse, const QStringList &exclude=QStringList())
 
QString themeName () const
 
QList< Tokentokenize (const QString &text, ParseMode mode=DefaultParse)
 

Member Enumeration Documentation

Enumerator
DefaultParse 
StrictParse 
Enumerator
Undefined 
Text 
Image 

Constructor & Destructor Documentation

qutim_sdk_0_3::EmoticonsTheme::EmoticonsTheme ( const QString &  name = QString())
qutim_sdk_0_3::EmoticonsTheme::EmoticonsTheme ( EmoticonsThemeData *  data)
qutim_sdk_0_3::EmoticonsTheme::EmoticonsTheme ( const EmoticonsTheme theme)
qutim_sdk_0_3::EmoticonsTheme::~EmoticonsTheme ( )

Member Function Documentation

QStringList qutim_sdk_0_3::EmoticonsTheme::emoticonsIndexes ( ) const
QHash<QString, QStringList> qutim_sdk_0_3::EmoticonsTheme::emoticonsMap ( ) const
bool qutim_sdk_0_3::EmoticonsTheme::isNull ( ) const
EmoticonsTheme& qutim_sdk_0_3::EmoticonsTheme::operator= ( const EmoticonsTheme theme)
QString qutim_sdk_0_3::EmoticonsTheme::parseEmoticons ( const QString &  text,
ParseMode  mode = DefaultParse,
const QStringList &  exclude = QStringList() 
)
QString qutim_sdk_0_3::EmoticonsTheme::themeName ( ) const
QList<Token> qutim_sdk_0_3::EmoticonsTheme::tokenize ( const QString &  text,
ParseMode  mode = DefaultParse 
)

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

Generated by Doxygen