Home · All Classes · Main Classes · Deprecated
Public Member Functions

MStyleSheetSelectorTree Class Reference

MStyleSheetSelectorTree represents a tree which speeds up the lookup of matching selectors for a given object. More...

Inherits Node.

List of all members.

Public Member Functions

 MStyleSheetSelectorTree ()
void partiallyMatchingSelectors (const MStyleSheetPrivate::StyleSpec &spec, QList< const MStyleSheetSelector * > *selectors) const

Detailed Description

MStyleSheetSelectorTree represents a tree which speeds up the lookup of matching selectors for a given object.

Right now the tree has a depth of two. The root node points to children which have a given style class name (e.g. MLableStyle). These children then point to a list of selector all having the same object name. MStyleSheetSelectorTree is a structure which can be loaded from a file. It internally does not store any pointers only offets.


Constructor & Destructor Documentation

MStyleSheetSelectorTree::MStyleSheetSelectorTree (  ) 

Member Function Documentation

void MStyleSheetSelectorTree::partiallyMatchingSelectors ( const MStyleSheetPrivate::StyleSpec &  spec,
QList< const MStyleSheetSelector * > *  selectors 
) const

Copyright © 2010 Nokia Corporation
MeeGo Touch