Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HlKeyword Class Reference

#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/document/katehighlight.h>

Inheritance diagram for HlKeyword:

Inheritance graph
[legend]
Collaboration diagram for HlKeyword:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 HlKeyword (int attribute, int context, bool casesensitive, const QChar *deliminator, uint deliLen)
virtual ~HlKeyword ()
virtual void addWord (const QString &)
virtual void addList (const QStringList &)
virtual const QCharcheckHgl (const QChar *, int len, bool)
QStringList getList ()
virtual bool startEnable (QChar c)

Protected Attributes

QStringList words
QDict< bool > dict
bool _caseSensitive
const QChardeliminatorChars
uint deliminatorLen

Constructor & Destructor Documentation

HlKeyword::HlKeyword int  attribute,
int  context,
bool  casesensitive,
const QChar deliminator,
uint  deliLen
 

Definition at line 156 of file katehighlight.cpp.

References _caseSensitive, deliminatorChars, and deliminatorLen.

HlKeyword::~HlKeyword  )  [virtual]
 

Definition at line 164 of file katehighlight.cpp.


Member Function Documentation

void HlKeyword::addList const QStringList  )  [virtual]
 

Definition at line 180 of file katehighlight.cpp.

References dict, i, QDict< type >::insert(), trueBool, and words.

void HlKeyword::addWord const QString  )  [virtual]
 

Definition at line 174 of file katehighlight.cpp.

References QValueList< T >::append(), dict, QDict< type >::insert(), trueBool, and words.

const QChar * HlKeyword::checkHgl const QChar ,
int  len,
bool 
[virtual]
 

Implements HlItem.

Definition at line 187 of file katehighlight.cpp.

References deliminatorChars, deliminatorLen, dict, QDict< type >::find(), and ustrchr().

QStringList HlKeyword::getList  )  [inline]
 

Definition at line 105 of file katehighlight.h.

References words.

bool HlKeyword::startEnable QChar  c  )  [virtual]
 

Reimplemented from HlItem.

Definition at line 167 of file katehighlight.cpp.

References deliminatorChars, deliminatorLen, and ustrchr().


Member Data Documentation

bool HlKeyword::_caseSensitive [protected]
 

Definition at line 111 of file katehighlight.h.

Referenced by HlKeyword().

const QChar* HlKeyword::deliminatorChars [protected]
 

Definition at line 112 of file katehighlight.h.

Referenced by checkHgl(), HlKeyword(), and startEnable().

uint HlKeyword::deliminatorLen [protected]
 

Definition at line 113 of file katehighlight.h.

Referenced by checkHgl(), HlKeyword(), and startEnable().

QDict<bool> HlKeyword::dict [protected]
 

Definition at line 110 of file katehighlight.h.

Referenced by addList(), addWord(), and checkHgl().

QStringList HlKeyword::words [protected]
 

Definition at line 109 of file katehighlight.h.

Referenced by addList(), addWord(), and getList().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:35:05 2005 for OPIE by  doxygen 1.4.2