KEmoticonsTheme::Token Struct Reference
#include <kemoticonstheme.h>
Public Member Functions | |
| Token () | |
| Token (TokenType t, const QString &m) | |
| Token (TokenType t, const QString &m, const QString &p, const QString &html) | |
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.
Constructor & Destructor Documentation
| KEmoticonsTheme::Token::Token | ( | ) | [inline] |
Definition at line 66 of file kemoticonstheme.h.
| KEmoticonsTheme::Token::Token | ( | TokenType | t, |
| const QString & | m | ||
| ) | [inline] |
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.
| QString KEmoticonsTheme::Token::picPath |
path to the image
Definition at line 78 of file kemoticonstheme.h.
| QString KEmoticonsTheme::Token::text |
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:
KDE 4.7 API Reference