KDevelop API Documentation

HLItem Class Reference

#include <qsourcecolorizer.h>

Inheritance diagram for HLItem:

CppPreprocHLItem CppPreprocLineHLItem HexHLItem HLItemCollection KeywordsHLItem NumberHLItem RegExpHLItem StartsWithHLItem StringHLItem WhiteSpacesHLItem List of all members.

Public Member Functions

 HLItem (int state=0, int context=0)
virtual ~HLItem ()
virtual int attr () const
virtual int context () const
virtual int checkHL (const QChar *buffer, int pos, int length, int *, int *)=0

Private Attributes

int m_state
int m_context

Constructor & Destructor Documentation

HLItem::HLItem int  state = 0,
int  context = 0
[inline]
 

Definition at line 59 of file qsourcecolorizer.h.

References m_context, and m_state.

virtual HLItem::~HLItem  )  [inline, virtual]
 

Definition at line 61 of file qsourcecolorizer.h.


Member Function Documentation

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

Reimplemented in KeywordsHLItem.

Definition at line 63 of file qsourcecolorizer.h.

References m_state.

Referenced by HLItemCollection::checkHL(), and QSourceColorizer::process().

virtual int HLItem::checkHL const QChar buffer,
int  pos,
int  length,
int *  ,
int * 
[pure virtual]
 

Implemented in CppPreprocHLItem, CppPreprocLineHLItem, NumberHLItem, WhiteSpacesHLItem, KeywordsHLItem, StartsWithHLItem, StringHLItem, RegExpHLItem, HexHLItem, and HLItemCollection.

Referenced by HLItemCollection::checkHL().

virtual int HLItem::context  )  const [inline, virtual]
 

Definition at line 64 of file qsourcecolorizer.h.

References m_context.

Referenced by HLItemCollection::checkHL().


Member Data Documentation

int HLItem::m_context [private]
 

Definition at line 70 of file qsourcecolorizer.h.

Referenced by context(), and HLItem().

int HLItem::m_state [private]
 

Reimplemented in KeywordsHLItem.

Definition at line 69 of file qsourcecolorizer.h.

Referenced by attr(), and HLItem().


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:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003