|
|
KLayout Documentation (Qt 4): Main Index » Class Index » API reference - Class QDomElement API reference - Class QDomElementNotation used in Ruby API documentation Description: Binding of QDomElement Class hierarchy: QDomElement » QDomNode Public constructors| new QDomElement | new | | Constructor QDomElement::QDomElement() | | new QDomElement | new | (const QDomElement x) | Constructor QDomElement::QDomElement(const QDomElement &x) |
Public methods | void | _assign | (const QDomElement other) | Assigns another object to self | | void | _create | | Ensures the C++ object is created | | void | _destroy | | Explicitly destroys the object | | [const] | bool | _destroyed? | | Returns a value indicating whether the object was already destroyed | | [const] | bool | _is_const_object? | | Returns a value indicating whether the reference is a const reference | | void | _manage | | Marks the object as managed by the script side. | | void | _unmanage | | Marks the object as no longer owned by the script side. | | QDomElement | assign | (const QDomElement arg1) | Method (const QDomElement &) | | [const] | string | attribute | (string name, string defValue = QString()) | Method QString QDomElement::attribute(const QString &name, const QString &defValue) | | [const] | string | attributeNS | (string nsURI, string localName, string defValue = QString()) | Method QString QDomElement::attributeNS(const QString nsURI, const QString &localName, const QString &defValue) | | void | attributeNS_d= | (string nsURI, string qName, double value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, double value) | | void | attributeNS_i= | (string nsURI, string qName, int value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, int value) | | void | attributeNS_ll= | (string nsURI, string qName, long long value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qlonglong value) | | void | attributeNS_ui= | (string nsURI, string qName, unsigned int value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, unsigned int value) | | void | attributeNS_ull= | (string nsURI, string qName, unsigned long long value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qulonglong value) | | QDomAttr | attributeNode | (string name) | Method QDomAttr QDomElement::attributeNode(const QString &name) | | QDomAttr | attributeNodeNS | (string nsURI, string localName) | Method QDomAttr QDomElement::attributeNodeNS(const QString &nsURI, const QString &localName) | | void | attribute_d= | (string name, double value) | Method void QDomElement::setAttribute(const QString &name, double value) | | void | attribute_f= | (string name, float value) | Method void QDomElement::setAttribute(const QString &name, float value) | | void | attribute_i= | (string name, int value) | Method void QDomElement::setAttribute(const QString &name, int value) | | void | attribute_ll= | (string name, long long value) | Method void QDomElement::setAttribute(const QString &name, qlonglong value) | | void | attribute_ui= | (string name, unsigned int value) | Method void QDomElement::setAttribute(const QString &name, unsigned int value) | | void | attribute_ull= | (string name, unsigned long long value) | Method void QDomElement::setAttribute(const QString &name, qulonglong value) | | [const] | QDomNamedNodeMap | attributes | | Method () const | | [const] | new QDomElement ptr | dup | | Creates a copy of self | | [const] | QDomNodeList | elementsByTagName | (string tagname) | Method QDomNodeList QDomElement::elementsByTagName(const QString &tagname) | | [const] | QDomNodeList | elementsByTagNameNS | (string nsURI, string localName) | Method QDomNodeList QDomElement::elementsByTagNameNS(const QString &nsURI, const QString &localName) | | [const] | bool | hasAttribute | (string name) | Method bool QDomElement::hasAttribute(const QString &name) | | [const] | bool | hasAttributeNS | (string nsURI, string localName) | Method bool QDomElement::hasAttributeNS(const QString &nsURI, const QString &localName) | | [const] | QDomNode_NodeType | nodeType | | Method () const | | void | removeAttribute | (string name) | Method void QDomElement::removeAttribute(const QString &name) | | void | removeAttributeNS | (string nsURI, string localName) | Method void QDomElement::removeAttributeNS(const QString &nsURI, const QString &localName) | | QDomAttr | removeAttributeNode | (const QDomAttr oldAttr) | Method QDomAttr QDomElement::removeAttributeNode(const QDomAttr &oldAttr) | | void | setAttribute | (string name, string value) | Method void QDomElement::setAttribute(const QString &name, const QString &value) | | void | setAttributeNS | (string nsURI, string qName, string value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, const QString &value) | | void | setAttributeNS_d | (string nsURI, string qName, double value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, double value) | | void | setAttributeNS_i | (string nsURI, string qName, int value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, int value) | | void | setAttributeNS_ll | (string nsURI, string qName, long long value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qlonglong value) | | void | setAttributeNS_ui | (string nsURI, string qName, unsigned int value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, unsigned int value) | | void | setAttributeNS_ull | (string nsURI, string qName, unsigned long long value) | Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, qulonglong value) | | QDomAttr | setAttributeNode | (const QDomAttr newAttr) | Method QDomAttr QDomElement::setAttributeNode(const QDomAttr &newAttr) | | QDomAttr | setAttributeNodeNS | (const QDomAttr newAttr) | Method QDomAttr QDomElement::setAttributeNodeNS(const QDomAttr &newAttr) | | void | setAttribute_d | (string name, double value) | Method void QDomElement::setAttribute(const QString &name, double value) | | void | setAttribute_f | (string name, float value) | Method void QDomElement::setAttribute(const QString &name, float value) | | void | setAttribute_i | (string name, int value) | Method void QDomElement::setAttribute(const QString &name, int value) | | void | setAttribute_ll | (string name, long long value) | Method void QDomElement::setAttribute(const QString &name, qlonglong value) | | void | setAttribute_ui | (string name, unsigned int value) | Method void QDomElement::setAttribute(const QString &name, unsigned int value) | | void | setAttribute_ull | (string name, unsigned long long value) | Method void QDomElement::setAttribute(const QString &name, qulonglong value) | | void | setTagName | (string name) | Method void QDomElement::setTagName(const QString &name) | | [const] | string | tagName | | Method QString QDomElement::tagName() | | void | tagName= | (string name) | Method void QDomElement::setTagName(const QString &name) | | [const] | string | text | | Method QString QDomElement::text() |
Deprecated methods (protected, public, static, non-static and constructors) | void | create | | Use of this method is deprecated. Use _create instead | | void | destroy | | Use of this method is deprecated. Use _destroy instead | | [const] | bool | destroyed? | | Use of this method is deprecated. Use _destroyed? instead | | [const] | bool | is_const_object? | | Use of this method is deprecated. Use _is_const_object? instead |
Detailed description_assign | Signature: void _assign (const QDomElement other) Description: Assigns another object to self | _create | Signature: void _create Description: 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. | _destroy | Signature: void _destroy Description: 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. | _destroyed? | Signature: [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. | _is_const_object? | Signature: [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. | _manage | Signature: void _manage Description: 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. | _unmanage | Signature: void _unmanage Description: 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. | assign | Signature: QDomElement assign (const QDomElement arg1) Description: Method (const QDomElement &) | attribute | Signature: [const] string attribute (string name,string defValue = QString()) Description: Method QString QDomElement::attribute(const QString &name, const QString &defValue) | attributeNS | Signature: [const] string attributeNS (string nsURI,string localName,string defValue = QString()) Description: Method QString QDomElement::attributeNS(const QString nsURI, const QString &localName, const QString &defValue) | attributeNS_d= | Signature: 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.
| attributeNS_i= | Signature: 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.
| attributeNS_ll= | Signature: 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.
| attributeNS_ui= | Signature: 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.
| attributeNS_ull= | Signature: 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.
| attributeNode | Signature: QDomAttr attributeNode (string name) Description: Method QDomAttr QDomElement::attributeNode(const QString &name) | attributeNodeNS | Signature: QDomAttr attributeNodeNS (string nsURI,string localName) Description: Method QDomAttr QDomElement::attributeNodeNS(const QString &nsURI, const QString &localName) | attribute_d= | Signature: 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.
| attribute_f= | Signature: 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.
| attribute_i= | Signature: 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.
| attribute_ll= | Signature: 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.
| attribute_ui= | Signature: 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.
| attribute_ull= | Signature: 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.
| attributes | Signature: [const] QDomNamedNodeMap attributes Description: Method () const | create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead | destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead | destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead | dup | Signature: [const] new QDomElement ptr dup Description: Creates a copy of self | elementsByTagName | Signature: [const] QDomNodeList elementsByTagName (string tagname) Description: Method QDomNodeList QDomElement::elementsByTagName(const QString &tagname) | elementsByTagNameNS | Signature: [const] QDomNodeList elementsByTagNameNS (string nsURI,string localName) Description: Method QDomNodeList QDomElement::elementsByTagNameNS(const QString &nsURI, const QString &localName) | hasAttribute | Signature: [const] bool hasAttribute (string name) Description: Method bool QDomElement::hasAttribute(const QString &name) | hasAttributeNS | Signature: [const] bool hasAttributeNS (string nsURI,string localName) Description: Method bool QDomElement::hasAttributeNS(const QString &nsURI, const QString &localName) | is_const_object? | Signature: [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 | new | Signature: [static] new QDomElement new Description: Constructor QDomElement::QDomElement()
This method creates an object of class QDomElement. Python specific notes: This method is the default initializer of the object
| Signature: [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
| nodeType | Signature: [const] QDomNode_NodeType nodeType Description: Method () const | removeAttribute | Signature: void removeAttribute (string name) Description: Method void QDomElement::removeAttribute(const QString &name) | removeAttributeNS | Signature: void removeAttributeNS (string nsURI,string localName) Description: Method void QDomElement::removeAttributeNS(const QString &nsURI, const QString &localName) | removeAttributeNode | Signature: QDomAttr removeAttributeNode (const QDomAttr oldAttr) Description: Method QDomAttr QDomElement::removeAttributeNode(const QDomAttr &oldAttr) | setAttribute | Signature: void setAttribute (string name,string value) Description: Method void QDomElement::setAttribute(const QString &name, const QString &value) | setAttributeNS | Signature: void setAttributeNS (string nsURI,string qName,string value) Description: Method void QDomElement::setAttributeNS(const QString nsURI, const QString &qName, const QString &value) | setAttributeNS_d | Signature: 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.
| setAttributeNS_i | Signature: 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.
| setAttributeNS_ll | Signature: 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.
| setAttributeNS_ui | Signature: 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.
| setAttributeNS_ull | Signature: 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.
| setAttributeNode | Signature: QDomAttr setAttributeNode (const QDomAttr newAttr) Description: Method QDomAttr QDomElement::setAttributeNode(const QDomAttr &newAttr) | setAttributeNodeNS | Signature: QDomAttr setAttributeNodeNS (const QDomAttr newAttr) Description: Method QDomAttr QDomElement::setAttributeNodeNS(const QDomAttr &newAttr) | setAttribute_d | Signature: 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.
| setAttribute_f | Signature: 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.
| setAttribute_i | Signature: 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.
| setAttribute_ll | Signature: 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.
| setAttribute_ui | Signature: 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.
| setAttribute_ull | Signature: 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.
| setTagName | Signature: 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.
| tagName | Signature: [const] string tagName Description: Method QString QDomElement::tagName() Python specific notes: The object exposes a readable attribute 'tagName'. This is the getter.
| tagName= | Signature: 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.
| text | Signature: [const] string text Description: Method QString QDomElement::text() |
|