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

Public Member Functions

 HighlightMapper ()
 
HighlightHandler::HighlightKind stringToKind (const QString &kindStr)
 

Private Attributes

QMap< QString, HighlightHandler::HighlightKind > m_map
 

Detailed Description

Definition at line 60 of file dochandler.cpp.

Constructor & Destructor Documentation

HighlightMapper::HighlightMapper ( )
inline

Definition at line 63 of file dochandler.cpp.

64  {
66  m_map.insert("keyword", HighlightHandler::Keyword);
67  m_map.insert("keywordtype", HighlightHandler::KeywordType);
68  m_map.insert("keywordflow", HighlightHandler::KeywordFlow);
69  m_map.insert("charliteral", HighlightHandler::CharLiteral);
70  m_map.insert("stringliteral", HighlightHandler::StringLiteral);
71  m_map.insert("preprocessor", HighlightHandler::Preprocessor);
72  }
QMap< QString, HighlightHandler::HighlightKind > m_map
Definition: dochandler.cpp:78
Iterator insert(const Key &key, const T &value)
Definition: qmap.h:545
#define Comment

Member Function Documentation

HighlightHandler::HighlightKind HighlightMapper::stringToKind ( const QString kindStr)
inline

Definition at line 73 of file dochandler.cpp.

74  {
75  return m_map[kindStr];
76  }
QMap< QString, HighlightHandler::HighlightKind > m_map
Definition: dochandler.cpp:78

Member Data Documentation

QMap<QString,HighlightHandler::HighlightKind> HighlightMapper::m_map
private

Definition at line 78 of file dochandler.cpp.


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