|
Krita Source Code Documentation
|
Type selector, matching the type of an element. More...
Inheritance diagram for TypeSelector:Public Member Functions | |
| bool | match (const QDomElement &e) override |
| Matches the given element. | |
| int | priority () override |
| QString | toString () const override |
| Returns string representation of selector. | |
| TypeSelector (const QString &type) | |
Public Member Functions inherited from CssSelectorBase | |
| virtual | ~CssSelectorBase () |
Private Attributes | |
| QString | m_type |
Type selector, matching the type of an element.
Definition at line 53 of file SvgCssHelper.cpp.
|
inline |
Definition at line 56 of file SvgCssHelper.cpp.
|
inlineoverridevirtual |
Matches the given element.
Implements CssSelectorBase.
Definition at line 60 of file SvgCssHelper.cpp.
References m_type.
|
inlineoverridevirtual |
Returns priority of selector see http://www.w3.org/TR/1998/REC-CSS2-19980512/cascade.html#specificity
Reimplemented from CssSelectorBase.
Definition at line 68 of file SvgCssHelper.cpp.
|
inlineoverridevirtual |
Returns string representation of selector.
Reimplemented from CssSelectorBase.
Definition at line 64 of file SvgCssHelper.cpp.
References m_type.
|
private |
Definition at line 74 of file SvgCssHelper.cpp.