Krita Source Code Documentation
Loading...
Searching...
No Matches
UniversalSelector Class Reference

Universal selector, matching anything. More...

+ Inheritance diagram for UniversalSelector:

Public Member Functions

bool match (const QDomElement &) override
 Matches the given element.
 
QString toString () const override
 Returns string representation of selector.
 
- Public Member Functions inherited from CssSelectorBase
virtual int priority ()
 
virtual ~CssSelectorBase ()
 

Detailed Description

Universal selector, matching anything.

Definition at line 38 of file SvgCssHelper.cpp.

Member Function Documentation

◆ match()

bool UniversalSelector::match ( const QDomElement & )
inlineoverridevirtual

Matches the given element.

Implements CssSelectorBase.

Definition at line 41 of file SvgCssHelper.cpp.

42 {
43 // matches always
44 return true;
45 }

◆ toString()

QString UniversalSelector::toString ( ) const
inlineoverridevirtual

Returns string representation of selector.

Reimplemented from CssSelectorBase.

Definition at line 46 of file SvgCssHelper.cpp.

47 {
48 return "*";
49 }

The documentation for this class was generated from the following file: