KDevelop API Documentation

KeywordsHLItem Class Reference

#include <qsourcecolorizer.h>

Inheritance diagram for KeywordsHLItem:

HLItem List of all members.

Public Member Functions

 KeywordsHLItem (const char **keywords, int state, int ide_state, int context, bool finalize=true, bool ignoreCase=false)
 KeywordsHLItem (const QMap< QString, int > keywords, int state, int ide_state, int context, bool finalize=true, bool ignoreCase=false)
int attr () const
int checkHL (const QChar *buffer, int pos, int length, int *, int *)

Private Attributes

QMap< QString, int > m_keywords
bool m_ok
int m_state
int m_ide_state
bool m_finalize
 setting finalize to false allows to have another KeywordsHLItem in HLItemCollection after this one

bool m_ignoreCase

Constructor & Destructor Documentation

KeywordsHLItem::KeywordsHLItem const char **  keywords,
int  state,
int  ide_state,
int  context,
bool  finalize = true,
bool  ignoreCase = false
[inline]
 

Definition at line 103 of file qsourcecolorizer.h.

References m_finalize, m_ide_state, m_ignoreCase, m_keywords, m_ok, and m_state.

KeywordsHLItem::KeywordsHLItem const QMap< QString, int >  keywords,
int  state,
int  ide_state,
int  context,
bool  finalize = true,
bool  ignoreCase = false
[inline]
 

Definition at line 115 of file qsourcecolorizer.h.

References m_finalize, m_ide_state, m_ignoreCase, m_keywords, m_ok, and m_state.


Member Function Documentation

int KeywordsHLItem::attr  )  const [inline, virtual]
 

Reimplemented from HLItem.

Definition at line 120 of file qsourcecolorizer.h.

References m_ide_state, m_ok, and m_state.

int KeywordsHLItem::checkHL const QChar buffer,
int  pos,
int  length,
int *  ,
int * 
[inline, virtual]
 

Implements HLItem.

Definition at line 122 of file qsourcecolorizer.h.

References checkHL(), length(), m_finalize, m_ignoreCase, m_keywords, and m_ok.

Referenced by checkHL().


Member Data Documentation

bool KeywordsHLItem::m_finalize [private]
 

setting finalize to false allows to have another KeywordsHLItem in HLItemCollection after this one

Definition at line 146 of file qsourcecolorizer.h.

Referenced by checkHL(), and KeywordsHLItem().

int KeywordsHLItem::m_ide_state [private]
 

Definition at line 145 of file qsourcecolorizer.h.

Referenced by attr(), and KeywordsHLItem().

bool KeywordsHLItem::m_ignoreCase [private]
 

Definition at line 147 of file qsourcecolorizer.h.

Referenced by checkHL(), and KeywordsHLItem().

QMap<QString, int> KeywordsHLItem::m_keywords [private]
 

Definition at line 142 of file qsourcecolorizer.h.

Referenced by checkHL(), and KeywordsHLItem().

bool KeywordsHLItem::m_ok [private]
 

Definition at line 143 of file qsourcecolorizer.h.

Referenced by attr(), checkHL(), and KeywordsHLItem().

int KeywordsHLItem::m_state [private]
 

Reimplemented from HLItem.

Definition at line 144 of file qsourcecolorizer.h.

Referenced by attr(), and KeywordsHLItem().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:24 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003