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

HlManager Class Reference

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

Collaboration diagram for HlManager:

Collaboration graph
[legend]
List of all members.

Signals

void changed ()

Public Member Functions

 HlManager ()
 ~HlManager ()
HighlightgetHl (int n)
int defaultHl ()
int nameFind (const QString &name)
int wildcardFind (const QString &fileName)
int findHl (Highlight *h)
int makeAttribs (Highlight *, Attribute *, int maxAttribs)
int defaultStyles ()
QString defaultStyleName (int n)
void getDefaults (ItemStyleList &)
void setDefaults (ItemStyleList &)
int highlights ()
QString hlName (int n)
QString hlSection (int n)
void getHlDataList (HlDataList &)
void setHlDataList (HlDataList &)

Static Public Member Functions

static HlManagerself ()

Public Attributes

SyntaxDocumentsyntax

Protected Attributes

QList< HighlighthlList

Static Protected Attributes

static HlManagers_pSelf = 0

Constructor & Destructor Documentation

HlManager::HlManager  ) 
 

Definition at line 1240 of file katehighlight.cpp.

References hlList, i, SyntaxDocument::modeList(), and syntax.

HlManager::~HlManager  ) 
 

Definition at line 1256 of file katehighlight.cpp.

References syntax.


Member Function Documentation

void HlManager::changed  )  [signal]
 

Referenced by setDefaults(), and setHlDataList().

int HlManager::defaultHl  ) 
 

Definition at line 1272 of file katehighlight.cpp.

References KGlobal::config(), and KateConfig::setGroup().

QString HlManager::defaultStyleName int  n  ) 
 

Definition at line 1359 of file katehighlight.cpp.

References i18n, and QValueList< T >::isEmpty().

Referenced by HighlightDialogPage::HighlightDialogPage().

int HlManager::defaultStyles  ) 
 

Definition at line 1355 of file katehighlight.cpp.

Referenced by HighlightDialogPage::HighlightDialogPage().

int HlManager::findHl Highlight h  )  [inline]
 

Definition at line 322 of file katehighlight.h.

References hlList.

Referenced by KateDocument::highlightNum().

void HlManager::getDefaults ItemStyleList  ) 
 

Definition at line 1380 of file katehighlight.cpp.

References col, i, and s.

Referenced by KateView::configDialog(), and makeAttribs().

Highlight * HlManager::getHl int  n  ) 
 

Definition at line 1267 of file katehighlight.cpp.

References hlList.

Referenced by KateDocument::setHighlight().

void HlManager::getHlDataList HlDataList  ) 
 

Definition at line 1447 of file katehighlight.cpp.

References hlList.

Referenced by KateView::configDialog().

int HlManager::highlights  ) 
 

Definition at line 1435 of file katehighlight.cpp.

References hlList.

Referenced by HighlightDialogPage::HighlightDialogPage().

QString HlManager::hlName int  n  ) 
 

Definition at line 1439 of file katehighlight.cpp.

References hlList.

Referenced by HighlightDialogPage::HighlightDialogPage(), and TinyKate::TinyKate().

QString HlManager::hlSection int  n  ) 
 

Definition at line 1443 of file katehighlight.cpp.

References hlList.

int HlManager::makeAttribs Highlight ,
Attribute ,
int  maxAttribs
 

Definition at line 1312 of file katehighlight.cpp.

References ItemStyle::bold, Attribute::bold, ItemStyle::col, Attribute::col, ItemData::defStyle, ItemData::defStyleNum, getDefaults(), ItemStyle::italic, Attribute::italic, odebug, oendl, ItemStyle::selCol, and Attribute::selCol.

Referenced by KateDocument::makeAttribs().

int HlManager::nameFind const QString name  ) 
 

Definition at line 1282 of file katehighlight.cpp.

References hlList.

Referenced by KateDocument::readSessionConfig().

HlManager * HlManager::self  )  [static]
 

Definition at line 1260 of file katehighlight.cpp.

References s_pSelf.

Referenced by HlEditDialog::addContextItem(), KateView::configDialog(), Highlight::createItemData(), KateView::getHlCount(), KateView::getHlName(), KateView::getHlSection(), HlEditDialog::loadFromDocument(), Highlight::makeContextList(), Highlight::readCommentConfig(), Highlight::readGlobalKeywordConfig(), and TinyKate::TinyKate().

void HlManager::setDefaults ItemStyleList  ) 
 

Definition at line 1416 of file katehighlight.cpp.

References changed(), i, and s.

void HlManager::setHlDataList HlDataList  ) 
 

Definition at line 1455 of file katehighlight.cpp.

References changed(), and hlList.

int HlManager::wildcardFind const QString fileName  ) 
 

Definition at line 1291 of file katehighlight.cpp.

References QString::find(), Highlight::getWildcards(), hlList, QString::length(), QRegExp::match(), and QString::mid().

Referenced by KateDocument::openURL(), and KateDocument::saveFile().


Member Data Documentation

QList<Highlight> HlManager::hlList [protected]
 

Definition at line 342 of file katehighlight.h.

Referenced by findHl(), getHl(), getHlDataList(), highlights(), HlManager(), hlName(), hlSection(), nameFind(), setHlDataList(), and wildcardFind().

HlManager * HlManager::s_pSelf = 0 [static, protected]
 

Definition at line 47 of file katehighlight.cpp.

Referenced by self().

SyntaxDocument* HlManager::syntax
 

Definition at line 337 of file katehighlight.h.

Referenced by HlManager(), and ~HlManager().


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