KDevelop API Documentation

HLItem Class Reference

#include <qsourcecolorizer.h>

Inheritance diagram for HLItem:

Inheritance graph
[legend]
Collaboration diagram for HLItem:

Collaboration graph
[legend]
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.

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.

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.

Referenced by HLItemCollection::checkHL().


Member Data Documentation

int HLItem::m_context [private]
 

Definition at line 70 of file qsourcecolorizer.h.

int HLItem::m_state [private]
 

Reimplemented in KeywordsHLItem.

Definition at line 69 of file qsourcecolorizer.h.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:43:23 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003