KUtils
KEmoticonsTheme::Token Struct Reference
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, const QString &p, const QString &html) | |
Token (TokenType t, const QString &m) | |
Token () | |
Public Attributes | |
QString | picHTMLCode |
QString | picPath |
QString | text |
TokenType | type |
Detailed Description
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.
Definition at line 65 of file kemoticonstheme.h.
Constructor & Destructor Documentation
KEmoticonsTheme::Token::Token | ( | ) | [inline] |
Definition at line 66 of file kemoticonstheme.h.
Create a Token of type t
, and text m
.
Definition at line 70 of file kemoticonstheme.h.
KEmoticonsTheme::Token::Token | ( | TokenType | t, | |
const QString & | m, | |||
const QString & | p, | |||
const QString & | html | |||
) | [inline] |
Create a Token of type t
, text m
, image path p
and html code html
.
Definition at line 74 of file kemoticonstheme.h.
Member Data Documentation
<img> html code
Definition at line 79 of file kemoticonstheme.h.
path to the image
Definition at line 78 of file kemoticonstheme.h.
text
Definition at line 77 of file kemoticonstheme.h.
type
Definition at line 76 of file kemoticonstheme.h.
The documentation for this struct was generated from the following file: