DOM::MediaListImpl Class Reference
Inheritance diagram for DOM::MediaListImpl:

Detailed Description
Definition at line 151 of file css_stylesheetimpl.h.
Public Member Functions | |
MediaListImpl () | |
MediaListImpl (CSSStyleSheetImpl *parentSheet) | |
MediaListImpl (CSSStyleSheetImpl *parentSheet, const DOM::DOMString &media) | |
MediaListImpl (CSSRuleImpl *parentRule, const DOM::DOMString &media) | |
virtual bool | isMediaList () const |
CSSStyleSheetImpl * | parentStyleSheet () const |
CSSRuleImpl * | parentRule () const |
unsigned long | length () const |
DOM::DOMString | item (unsigned long index) const |
void | deleteMedium (const DOM::DOMString &oldMedium) |
void | appendMedium (const DOM::DOMString &newMedium) |
DOM::DOMString | mediaText () const |
void | setMediaText (const DOM::DOMString &value) |
bool | contains (const DOM::DOMString &medium) const |
Protected Attributes | |
QValueList< DOM::DOMString > | m_lstMedia |
Member Function Documentation
bool MediaListImpl::contains | ( | const DOM::DOMString & | medium | ) | const |
Check if the list contains either the requested medium, or the catch-all "all" media type.
Returns true when found, false otherwise. Since not specifying media types should be treated as "all" according to DOM specs, an empty list always returns true.
_NOT_ part of the DOM!
Definition at line 377 of file css_stylesheetimpl.cpp.
The documentation for this class was generated from the following files: