Home · All Classes · Main Classes · Deprecated |
MStyleSheetSelectorTree represents a tree which speeds up the lookup of matching selectors for a given object. More...
Inherits Node.
Public Member Functions | |
MStyleSheetSelectorTree () | |
void | partiallyMatchingSelectors (const MStyleSheetPrivate::StyleSpec &spec, QList< const MStyleSheetSelector * > *selectors) const |
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.
MStyleSheetSelectorTree::MStyleSheetSelectorTree | ( | ) |
void MStyleSheetSelectorTree::partiallyMatchingSelectors | ( | const MStyleSheetPrivate::StyleSpec & | spec, | |
QList< const MStyleSheetSelector * > * | selectors | |||
) | const |
Copyright © 2010 Nokia Corporation | MeeGo Touch |