A CSS declaration that consists of a name and the associated value. More...
#include <Stylish/Declaration.hpp>
Public Member Functions | |
| Declaration (const QByteArray &name, const Valuable::StyleValue &value, bool important=false) | |
| Constructs a new declaration with the given values. More... | |
| int | id () const |
| ID of a declaration is used to track the source location of the declaration. More... | |
| bool | important () const |
| Is this "!important" declaration. | |
| const QByteArray & | name () const |
| void | setId (int id) |
| Valuable::StyleValue & | value () |
| const Valuable::StyleValue & | value () const |
| More... | |
A CSS declaration that consists of a name and the associated value.
|
inline |
Constructs a new declaration with the given values.
| name | name of the property |
| value | value of the property |
| important | is this declaration !important declaration with higher priority |
|
inline |
ID of a declaration is used to track the source location of the declaration.
|
inline |
|
inline |
| id | new declaration id, this is called from StyleSheet |
|
inline |
|
inline |