class Token |
|
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. |
|
|
Create a Token of type t, and text m |
|
Create a Token of type t, text m, image path p and html code html |
QString picHTMLCode | \ |
QString picPath | path to the image |
QString text | text |
TokenType type | type |