Public Member Functions | Private Attributes | List of all members
TextNode Class Reference

Node representing a piece of text. More...

#include <dochandler.h>

Inheritance diagram for TextNode:

Public Member Functions

 TextNode (const QString &t, int markup, int level)
 
virtual ~TextNode ()
 
virtual Kind kind () const
 
virtual const IStringtext () const
 
virtual int markup () const
 
virtual int headingLevel () const
 

Private Attributes

StringImpl m_text
 
int m_markup
 
int m_headingLevel
 

Detailed Description

Node representing a piece of text.

Definition at line 86 of file dochandler.h.

Constructor & Destructor Documentation

TextNode::TextNode ( const QString t,
int  markup,
int  level 
)
inline

Definition at line 89 of file dochandler.h.

int m_headingLevel
Definition: dochandler.h:102
StringImpl m_text
Definition: dochandler.h:100
virtual int markup() const
Definition: dochandler.h:96
int m_markup
Definition: dochandler.h:101
virtual TextNode::~TextNode ( )
inlinevirtual

Definition at line 91 of file dochandler.h.

91 {}

Member Function Documentation

virtual int TextNode::headingLevel ( ) const
inlinevirtual

Definition at line 97 of file dochandler.h.

97 { return m_headingLevel; }
int m_headingLevel
Definition: dochandler.h:102
virtual Kind TextNode::kind ( ) const
inlinevirtual

Definition at line 94 of file dochandler.h.

94 { return DocImpl::Text; }
virtual int TextNode::markup ( ) const
inlinevirtual

Definition at line 96 of file dochandler.h.

96 { return m_markup; }
int m_markup
Definition: dochandler.h:101
virtual const IString* TextNode::text ( ) const
inlinevirtual

Definition at line 95 of file dochandler.h.

95 { return &m_text; }
StringImpl m_text
Definition: dochandler.h:100

Member Data Documentation

int TextNode::m_headingLevel
private

Definition at line 102 of file dochandler.h.

int TextNode::m_markup
private

Definition at line 101 of file dochandler.h.

StringImpl TextNode::m_text
private

Definition at line 100 of file dochandler.h.


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