| Eneboo - Documentación para desarrolladores | 
Tools for the dom. Más...
#include <domtool.h>
 
  
 | Métodos públicos estáticos | |
| static QVariant | readProperty (const QDomElement &e, const QString &name, const QVariant &defValue) | 
| static QVariant | readProperty (const QDomElement &e, const QString &name, const QVariant &defValue, QString &comment) | 
| static bool | hasProperty (const QDomElement &e, const QString &name) | 
| static QStringList | propertiesOfType (const QDomElement &e, const QString &type) | 
| static QVariant | elementToVariant (const QDomElement &e, const QVariant &defValue) | 
| static QVariant | elementToVariant (const QDomElement &e, const QVariant &defValue, QString &comment) | 
| static QVariant | readAttribute (const QDomElement &e, const QString &name, const QVariant &defValue) | 
| static QVariant | readAttribute (const QDomElement &e, const QString &name, const QVariant &defValue, QString &comment) | 
| static bool | hasAttribute (const QDomElement &e, const QString &name) | 
| static QColor | readColor (const QDomElement &e) | 
| static void | fixDocument (QDomDocument &) | 
Tools for the dom.
A collection of static functions used by Resource (part of the designer) and Uic.
| QVariant DomTool::elementToVariant | ( | const QDomElement & | e, | 
| const QVariant & | defValue | ||
| ) |  [static] | 
| QVariant DomTool::elementToVariant | ( | const QDomElement & | e, | 
| const QVariant & | defValue, | ||
| QString & | comment | ||
| ) |  [static] | 
Interprets element e as variant and returns the result of the interpretation.
| void DomTool::fixDocument | ( | QDomDocument & | doc | ) |  [static] | 
| bool DomTool::hasAttribute | ( | const QDomElement & | e, | 
| const QString & | name | ||
| ) |  [static] | 
Returns wheter object e defines attribute name or not.
| bool DomTool::hasProperty | ( | const QDomElement & | e, | 
| const QString & | name | ||
| ) |  [static] | 
Returns wheter object e defines property name or not.
| QStringList DomTool::propertiesOfType | ( | const QDomElement & | e, | 
| const QString & | type | ||
| ) |  [static] | 
| QVariant DomTool::readAttribute | ( | const QDomElement & | e, | 
| const QString & | name, | ||
| const QVariant & | defValue, | ||
| QString & | comment | ||
| ) |  [static] | 
Returns the contents of attribute name of object e as variant or the variant passed as defValue if the attribute does not exist.
| QVariant DomTool::readAttribute | ( | const QDomElement & | e, | 
| const QString & | name, | ||
| const QVariant & | defValue | ||
| ) |  [static] | 
Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.
| QColor DomTool::readColor | ( | const QDomElement & | e | ) |  [static] | 
Returns the color which is returned in the dom element e.
| QVariant DomTool::readProperty | ( | const QDomElement & | e, | 
| const QString & | name, | ||
| const QVariant & | defValue | ||
| ) |  [static] | 
Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.
| QVariant DomTool::readProperty | ( | const QDomElement & | e, | 
| const QString & | name, | ||
| const QVariant & | defValue, | ||
| QString & | comment | ||
| ) |  [static] | 
Returns the contents of property name of object e as variant or the variant passed as defValue if the property does not exist.
 1.7.4
 1.7.4