API reference - Class QDomElementNotation used in Ruby API documentation Description: Binding of QDomElement Class hierarchy: QDomElement » QDomNode
Public constructors
Public methods
Deprecated methods (protected, public, static, non-static and constructors)
Detailed descriptionvoid _assign(const QDomElement other)Description: Assigns another object to self void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. QDomElement assign(const QDomElement arg1)Description: Method QDomElement &QDomElement::operator=(const QDomElement &) [const] string attribute(string name,string defValue = QString())Description: Method QString QDomElement::attribute(const QString &name, const QString &defValue) [const] string attributeNS(string nsURI,string localName,string defValue = QString())Description: Method QString QDomElement::attributeNS(const QString nsURI, const QString &localName, const QString &defValue) void attributeNS_d=(string nsURI,string qName,double value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, double value) Python specific notes:The object exposes a writable attribute 'attributeNS_d'. This is the setter. void attributeNS_i=(string nsURI,string qName,int value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, int value) Python specific notes:The object exposes a writable attribute 'attributeNS_i'. This is the setter. void attributeNS_ll=(string nsURI,string qName,long long value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qlonglong value) Python specific notes:The object exposes a writable attribute 'attributeNS_ll'. This is the setter. void attributeNS_ui=(string nsURI,string qName,unsigned int value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, unsigned int value) Python specific notes:The object exposes a writable attribute 'attributeNS_ui'. This is the setter. void attributeNS_ull=(string nsURI,string qName,unsigned long long value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qulonglong value) Python specific notes:The object exposes a writable attribute 'attributeNS_ull'. This is the setter. QDomAttr attributeNode(string name)Description: Method QDomAttr QDomElement::attributeNode(const QString &name) QDomAttr attributeNodeNS(string nsURI,string localName)Description: Method QDomAttr QDomElement::attributeNodeNS(const QString &nsURI, const QString &localName) void attribute_d=(string name,double value)Description: Method void QDomElement::setAttribute(const QString &name, double value) Python specific notes:The object exposes a writable attribute 'attribute_d'. This is the setter. void attribute_f=(string name,float value)Description: Method void QDomElement::setAttribute(const QString &name, float value) Python specific notes:The object exposes a writable attribute 'attribute_f'. This is the setter. void attribute_i=(string name,int value)Description: Method void QDomElement::setAttribute(const QString &name, int value) Python specific notes:The object exposes a writable attribute 'attribute_i'. This is the setter. void attribute_ll=(string name,long long value)Description: Method void QDomElement::setAttribute(const QString &name, qlonglong value) Python specific notes:The object exposes a writable attribute 'attribute_ll'. This is the setter. void attribute_ui=(string name,unsigned int value)Description: Method void QDomElement::setAttribute(const QString &name, unsigned int value) Python specific notes:The object exposes a writable attribute 'attribute_ui'. This is the setter. void attribute_ull=(string name,unsigned long long value)Description: Method void QDomElement::setAttribute(const QString &name, qulonglong value) Python specific notes:The object exposes a writable attribute 'attribute_ull'. This is the setter. [const] QDomNamedNodeMap attributesDescription: Method QDomNamedNodeMap QDomElement::attributes() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] new QDomElement ptr dupDescription: Creates a copy of self [const] QDomNodeList elementsByTagName(string tagname)Description: Method QDomNodeList QDomElement::elementsByTagName(const QString &tagname) [const] QDomNodeList elementsByTagNameNS(string nsURI,string localName)Description: Method QDomNodeList QDomElement::elementsByTagNameNS(const QString &nsURI, const QString &localName) [const] bool hasAttribute(string name)Description: Method bool QDomElement::hasAttribute(const QString &name) [const] bool hasAttributeNS(string nsURI,string localName)Description: Method bool QDomElement::hasAttributeNS(const QString &nsURI, const QString &localName) [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [static] new QDomElement newDescription: Constructor QDomElement::QDomElement() This method creates an object of class QDomElement. Python specific notes:This method is the default initializer of the object [static] new QDomElement new(const QDomElement x)Description: Constructor QDomElement::QDomElement(const QDomElement &x) This method creates an object of class QDomElement. Python specific notes:This method is the default initializer of the object [const] QDomNode_NodeType nodeTypeDescription: Method QDomNode::NodeType QDomElement::nodeType() void removeAttribute(string name)Description: Method void QDomElement::removeAttribute(const QString &name) void removeAttributeNS(string nsURI,string localName)Description: Method void QDomElement::removeAttributeNS(const QString &nsURI, const QString &localName) QDomAttr removeAttributeNode(const QDomAttr oldAttr)Description: Method QDomAttr QDomElement::removeAttributeNode(const QDomAttr &oldAttr) void setAttribute(string name,string value)Description: Method void QDomElement::setAttribute(const QString &name, const QString &value) void setAttributeNS(string nsURI,string qName,string value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, const QString &value) void setAttributeNS_d(string nsURI,string qName,double value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, double value) Python specific notes:The object exposes a writable attribute 'attributeNS_d'. This is the setter. void setAttributeNS_i(string nsURI,string qName,int value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, int value) Python specific notes:The object exposes a writable attribute 'attributeNS_i'. This is the setter. void setAttributeNS_ll(string nsURI,string qName,long long value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qlonglong value) Python specific notes:The object exposes a writable attribute 'attributeNS_ll'. This is the setter. void setAttributeNS_ui(string nsURI,string qName,unsigned int value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, unsigned int value) Python specific notes:The object exposes a writable attribute 'attributeNS_ui'. This is the setter. void setAttributeNS_ull(string nsURI,string qName,unsigned long long value)Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qulonglong value) Python specific notes:The object exposes a writable attribute 'attributeNS_ull'. This is the setter. QDomAttr setAttributeNode(const QDomAttr newAttr)Description: Method QDomAttr QDomElement::setAttributeNode(const QDomAttr &newAttr) QDomAttr setAttributeNodeNS(const QDomAttr newAttr)Description: Method QDomAttr QDomElement::setAttributeNodeNS(const QDomAttr &newAttr) void setAttribute_d(string name,double value)Description: Method void QDomElement::setAttribute(const QString &name, double value) Python specific notes:The object exposes a writable attribute 'attribute_d'. This is the setter. void setAttribute_f(string name,float value)Description: Method void QDomElement::setAttribute(const QString &name, float value) Python specific notes:The object exposes a writable attribute 'attribute_f'. This is the setter. void setAttribute_i(string name,int value)Description: Method void QDomElement::setAttribute(const QString &name, int value) Python specific notes:The object exposes a writable attribute 'attribute_i'. This is the setter. void setAttribute_ll(string name,long long value)Description: Method void QDomElement::setAttribute(const QString &name, qlonglong value) Python specific notes:The object exposes a writable attribute 'attribute_ll'. This is the setter. void setAttribute_ui(string name,unsigned int value)Description: Method void QDomElement::setAttribute(const QString &name, unsigned int value) Python specific notes:The object exposes a writable attribute 'attribute_ui'. This is the setter. void setAttribute_ull(string name,unsigned long long value)Description: Method void QDomElement::setAttribute(const QString &name, qulonglong value) Python specific notes:The object exposes a writable attribute 'attribute_ull'. This is the setter. void setTagName(string name)Description: Method void QDomElement::setTagName(const QString &name) Python specific notes:The object exposes a writable attribute 'tagName'. This is the setter. [const] string tagNameDescription: Method QString QDomElement::tagName() Python specific notes:The object exposes a readable attribute 'tagName'. This is the getter. void tagName=(string name)Description: Method void QDomElement::setTagName(const QString &name) Python specific notes:The object exposes a writable attribute 'tagName'. This is the setter. [const] string textDescription: Method QString QDomElement::text() |