DOM::CSSSelector Class Reference
Collaboration diagram for DOM::CSSSelector:
Public Types | |
enum | Match { None = 0, Id, Exact, Set, List, Hyphen, PseudoClass, PseudoElement, Contain, Begin, End } |
enum | Relation { Descendant = 0, Child, DirectAdjacent, IndirectAdjacent, SubSelector } |
enum | PseudoType { PseudoNotParsed = 0, PseudoOther, PseudoEmpty, PseudoFirstChild, PseudoLastChild, PseudoNthChild, PseudoNthLastChild, PseudoOnlyChild, PseudoFirstOfType, PseudoLastOfType, PseudoNthOfType, PseudoNthLastOfType, PseudoOnlyOfType, PseudoFirstLine, PseudoFirstLetter, PseudoLink, PseudoVisited, PseudoHover, PseudoFocus, PseudoActive, PseudoTarget, PseudoBefore, PseudoAfter, PseudoLang, PseudoNot, PseudoContains, PseudoRoot, PseudoSelection, PseudoEnabled, PseudoDisabled, PseudoChecked, PseudoIndeterminate } |
Public Member Functions | |
CSSSelector () | |
~CSSSelector () | |
void | print () |
DOMString | selectorText () const |
bool | operator== (const CSSSelector &other) const |
unsigned int | specificity () const |
PseudoType | pseudoType () const |
Public Attributes | |
DOM::DOMString | value |
CSSSelector * | tagHistory |
CSSSelector * | simpleSelector |
DOM::DOMString | string_arg |
DOM::NodeImpl::Id | attr |
DOM::NodeImpl::Id | tag |
Relation | relation: 3 |
Match | match: 4 |
bool | nonCSSHint: 1 |
unsigned int | pseudoId: 3 |
PseudoType | _pseudoType: 5 |
Detailed Description
Definition at line 52 of file css_base.h.
Member Function Documentation
|
Print debug output for this selector.
Definition at line 123 of file css_base.cpp. References attr, endl(), kdDebug(), QString::latin1(), match, QString::number(), print(), relation, specificity(), DOM::DOMString::string(), tag, tagHistory, and value. Referenced by print(). |
|
Re-create selector text from selector's data.
Definition at line 308 of file css_base.cpp. References attr, endl(), kdWarning(), match, relation, selectorText(), tag, tagHistory, and value. Referenced by DOM::CSSStyleRuleImpl::selectorText(), and selectorText(). |
The documentation for this class was generated from the following files: