khtml Library API Documentation

DOM::CSSSelector Class Reference

List of all members.

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
CSSSelectortagHistory
CSSSelectorsimpleSelector
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

void CSSSelector::print  ) 
 

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().

DOMString CSSSelector::selectorText  )  const
 

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:
KDE Logo
This file is part of the documentation for khtml Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Jun 12 11:46:35 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003