KHTML
#include <css_rule.h>
Public Member Functions | |
CSSImportRule () | |
CSSImportRule (const CSSImportRule &other) | |
CSSImportRule (const CSSRule &other) | |
CSSImportRule (CSSImportRuleImpl *impl) | |
~CSSImportRule () | |
DOM::DOMString | href () const |
MediaList | media () const |
CSSImportRule & | operator= (const CSSImportRule &other) |
CSSImportRule & | operator= (const CSSRule &other) |
CSSStyleSheet | styleSheet () const |
Public Member Functions inherited from DOM::CSSRule | |
CSSRule () | |
CSSRule (const CSSRule &other) | |
CSSRule (CSSRuleImpl *impl) | |
~CSSRule () | |
DOM::DOMString | cssText () const |
CSSRuleImpl * | handle () const |
bool | isNull () const |
CSSRule & | operator= (const CSSRule &other) |
CSSRule | parentRule () const |
CSSStyleSheet | parentStyleSheet () const |
void | setCssText (const DOM::DOMString &) |
unsigned short | type () const |
Additional Inherited Members | |
Public Types inherited from DOM::CSSRule | |
enum | RuleType { UNKNOWN_RULE = 0, STYLE_RULE = 1, CHARSET_RULE = 2, IMPORT_RULE = 3, MEDIA_RULE = 4, FONT_FACE_RULE = 5, PAGE_RULE = 6, NAMESPACE_RULE = 10, QUIRKS_RULE = 100 } |
Protected Member Functions inherited from DOM::CSSRule | |
void | assignOther (const CSSRule &other, RuleType thisType) |
Protected Attributes inherited from DOM::CSSRule | |
CSSRuleImpl * | impl |
Detailed Description
The CSSImportRule
interface represents a @import
rule within a CSS style sheet.
The @import
rule is used to import style rules from other style sheets.
Definition at line 224 of file css_rule.h.
Constructor & Destructor Documentation
CSSImportRule::CSSImportRule | ( | ) |
Definition at line 205 of file css_rule.cpp.
CSSImportRule::CSSImportRule | ( | const CSSImportRule & | other | ) |
Definition at line 209 of file css_rule.cpp.
CSSImportRule::CSSImportRule | ( | const CSSRule & | other | ) |
Definition at line 213 of file css_rule.cpp.
CSSImportRule::CSSImportRule | ( | CSSImportRuleImpl * | impl | ) |
Definition at line 219 of file css_rule.cpp.
CSSImportRule::~CSSImportRule | ( | ) |
Definition at line 235 of file css_rule.cpp.
Member Function Documentation
DOMString CSSImportRule::href | ( | ) | const |
The location of the style sheet to be imported.
The attribute will not contain the "url(...)"
specifier around the URI.
Definition at line 239 of file css_rule.cpp.
MediaList CSSImportRule::media | ( | ) | const |
A list of media types for which this style sheet may be used.
Definition at line 245 of file css_rule.cpp.
CSSImportRule & CSSImportRule::operator= | ( | const CSSImportRule & | other | ) |
Definition at line 223 of file css_rule.cpp.
CSSImportRule & CSSImportRule::operator= | ( | const CSSRule & | other | ) |
Definition at line 229 of file css_rule.cpp.
CSSStyleSheet CSSImportRule::styleSheet | ( | ) | const |
The style sheet referred to by this rule, if it has been loaded.
The value of this attribute is null if the style sheet has not yet been loaded or if it will not be loaded (e.g. if the style sheet is for a media type not supported by the user agent).
Definition at line 251 of file css_rule.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.