KEmoticons 5.109.0
|
A token consists of a QString text which is either a regular text or a path to image depending on the type. More...
#include <kemoticonstheme.h>
Public Member Functions | |
Token (TokenType t, const QString &m) | |
Creates a Token of type t , and text m . | |
Token (TokenType t, const QString &m, const QString &p, const QString &html) | |
Creates a Token of type t , text m , image path p and html code html . | |
Public Attributes | |
QString | picHTMLCode |
<img> html code | |
QString | picPath |
path to the image | |
QString | text |
text | |
TokenType | type |
type | |
A token consists of a QString text which is either a regular text or a path to image depending on the type.
If type is Image the text refers to an image path. If type is Text the text refers to a regular text.
|
inline |
Creates a Token of type t
, and text m
.
|
inline |
Creates a Token of type t
, text m
, image path p
and html code html
.
QString KEmoticonsTheme::Token::picHTMLCode |
<img> html code
QString KEmoticonsTheme::Token::picPath |
path to the image
QString KEmoticonsTheme::Token::text |
text
TokenType KEmoticonsTheme::Token::type |
type