Search for usage in LXR

#include <css_rule.h>

Public Member Functions

 CSSRuleList (const CSSRuleList &other)
 CSSRuleList (CSSRuleListImpl *i)
 CSSRuleList (StyleListImpl *i)
CSSRuleListImpl * handle () const
bool isNull () const
CSSRule item (unsigned long index)
unsigned long length () const
CSSRuleListoperator= (const CSSRuleList &other)

Protected Attributes

CSSRuleListImpl * impl

Detailed Description

The CSSRuleList interface provides the abstraction of an ordered collection of CSS rules.

Definition at line 507 of file css_rule.h.

Member Function Documentation

◆ handle()

CSSRuleListImpl * CSSRuleList::handle ( ) const

not part of the DOM

Definition at line 635 of file css_rule.cpp.

◆ item()

CSSRule CSSRuleList::item ( unsigned long  index)

Used to retrieve a CSS rule by ordinal index.

The order in this collection represents the order of the rules in the CSS style sheet.

indexIndex into the collection
The style rule at the index position in the CSSRuleList , or null if that is not a valid index.

Definition at line 627 of file css_rule.cpp.

◆ length()

unsigned long CSSRuleList::length ( ) const

The number of CSSRule s in the list.

The range of valid child rule indices is 0 to length-1 inclusive.

Definition at line 618 of file css_rule.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:16:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.