QHtmlParser
0.0.1
A Qt/C++ library for parsing and traversing/searching HTML documents.
|
Represents a HTML attribute with a name and value. More...
#include <qhtmlparser.h>
Public Member Functions | |
QHtmlAttribute () | |
Constructs a QHtmlAttribute with an empty name and value. | |
QHtmlAttribute (const QString &name, const QString &value) | |
Constructs a QHtmlAttribute using the specified name and value. | |
const QString & | name () const |
Returns the name of the attribute. | |
void | setName (const QString &name) |
Sets the name of the attribute to name. | |
const QString & | value () const |
Returns the value of the attribute. | |
void | setValue (const QString &value) |
Sets the value of the attribute to value. | |
bool | operator== (const QHtmlAttribute &other) const |
Returns true if both name() and value() of other are equal to those of this QHtmlAttribute. | |
bool | operator!= (const QHtmlAttribute &other) const |
Returns true if either name() or value() of other are not equal to those of this QHtmlAttribute. | |
Represents a HTML attribute with a name and value.