Notation used in Ruby API documentation
Module: QtCore
Description: Binding of QXmlStreamWriter
new QXmlStreamWriter | new | Constructor QXmlStreamWriter::QXmlStreamWriter() | |
new QXmlStreamWriter | new | (QIODevice ptr device) | Constructor QXmlStreamWriter::QXmlStreamWriter(QIODevice *device) |
new QXmlStreamWriter | new | (bytes ptr array) | Constructor QXmlStreamWriter::QXmlStreamWriter(QByteArray *array) |
new QXmlStreamWriter | new | (string ptr string) | Constructor QXmlStreamWriter::QXmlStreamWriter(QString *string) |
[const] | QXmlStreamWriter ptr | _const_cast | Returns a non-const reference 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. | ||
[const] | bool | autoFormatting | Method bool QXmlStreamWriter::autoFormatting() | |
void | autoFormatting= | (bool arg1) | Method void QXmlStreamWriter::setAutoFormatting(bool) | |
[const] | int | autoFormattingIndent | Method int QXmlStreamWriter::autoFormattingIndent() | |
void | autoFormattingIndent= | (int spacesOrTabs) | Method void QXmlStreamWriter::setAutoFormattingIndent(int spacesOrTabs) | |
[const] | QTextCodec ptr | codec | Method QTextCodec *QXmlStreamWriter::codec() | |
void | codec= | (QTextCodec ptr codec) | Method void QXmlStreamWriter::setCodec(QTextCodec *codec) | |
void | codec= | (string codecName) | Method void QXmlStreamWriter::setCodec(const char *codecName) | |
[const] | QIODevice ptr | device | Method QIODevice *QXmlStreamWriter::device() | |
void | device= | (QIODevice ptr device) | Method void QXmlStreamWriter::setDevice(QIODevice *device) | |
[const] | bool | hasError | Method bool QXmlStreamWriter::hasError() | |
void | setAutoFormatting | (bool arg1) | Method void QXmlStreamWriter::setAutoFormatting(bool) | |
void | setAutoFormattingIndent | (int spacesOrTabs) | Method void QXmlStreamWriter::setAutoFormattingIndent(int spacesOrTabs) | |
void | setCodec | (QTextCodec ptr codec) | Method void QXmlStreamWriter::setCodec(QTextCodec *codec) | |
void | setCodec | (string codecName) | Method void QXmlStreamWriter::setCodec(const char *codecName) | |
void | setDevice | (QIODevice ptr device) | Method void QXmlStreamWriter::setDevice(QIODevice *device) | |
void | writeAttribute | (string qualifiedName, string value) | Method void QXmlStreamWriter::writeAttribute(const QString &qualifiedName, const QString &value) | |
void | writeAttribute | (string namespaceUri, string name, string value) | Method void QXmlStreamWriter::writeAttribute(const QString &namespaceUri, const QString &name, const QString &value) | |
void | writeAttribute | (const QXmlStreamAttribute attribute) | Method void QXmlStreamWriter::writeAttribute(const QXmlStreamAttribute &attribute) | |
void | writeAttributes | (const QXmlStreamAttributes attributes) | Method void QXmlStreamWriter::writeAttributes(const QXmlStreamAttributes &attributes) | |
void | writeCDATA | (string text) | Method void QXmlStreamWriter::writeCDATA(const QString &text) | |
void | writeCharacters | (string text) | Method void QXmlStreamWriter::writeCharacters(const QString &text) | |
void | writeComment | (string text) | Method void QXmlStreamWriter::writeComment(const QString &text) | |
void | writeCurrentToken | (const QXmlStreamReader reader) | Method void QXmlStreamWriter::writeCurrentToken(const QXmlStreamReader &reader) | |
void | writeDTD | (string dtd) | Method void QXmlStreamWriter::writeDTD(const QString &dtd) | |
void | writeDefaultNamespace | (string namespaceUri) | Method void QXmlStreamWriter::writeDefaultNamespace(const QString &namespaceUri) | |
void | writeEmptyElement | (string qualifiedName) | Method void QXmlStreamWriter::writeEmptyElement(const QString &qualifiedName) | |
void | writeEmptyElement | (string namespaceUri, string name) | Method void QXmlStreamWriter::writeEmptyElement(const QString &namespaceUri, const QString &name) | |
void | writeEndDocument | Method void QXmlStreamWriter::writeEndDocument() | ||
void | writeEndElement | Method void QXmlStreamWriter::writeEndElement() | ||
void | writeEntityReference | (string name) | Method void QXmlStreamWriter::writeEntityReference(const QString &name) | |
void | writeNamespace | (string namespaceUri, string prefix = QString()) | Method void QXmlStreamWriter::writeNamespace(const QString &namespaceUri, const QString &prefix) | |
void | writeProcessingInstruction | (string target, string data = QString()) | Method void QXmlStreamWriter::writeProcessingInstruction(const QString &target, const QString &data) | |
void | writeStartDocument | Method void QXmlStreamWriter::writeStartDocument() | ||
void | writeStartDocument | (string version) | Method void QXmlStreamWriter::writeStartDocument(const QString &version) | |
void | writeStartDocument | (string version, bool standalone) | Method void QXmlStreamWriter::writeStartDocument(const QString &version, bool standalone) | |
void | writeStartElement | (string qualifiedName) | Method void QXmlStreamWriter::writeStartElement(const QString &qualifiedName) | |
void | writeStartElement | (string namespaceUri, string name) | Method void QXmlStreamWriter::writeStartElement(const QString &namespaceUri, const QString &name) | |
void | writeTextElement | (string qualifiedName, string text) | Method void QXmlStreamWriter::writeTextElement(const QString &qualifiedName, const QString &text) | |
void | writeTextElement | (string namespaceUri, string name, string text) | Method void QXmlStreamWriter::writeTextElement(const QString &namespaceUri, const QString &name, const QString &text) |
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 |
_const_cast | Signature: [const] QXmlStreamWriter ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_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. |
autoFormatting | Signature: [const] bool autoFormatting Description: Method bool QXmlStreamWriter::autoFormatting() Python specific notes: |
autoFormatting= | Signature: void autoFormatting= (bool arg1) Description: Method void QXmlStreamWriter::setAutoFormatting(bool) Python specific notes: |
autoFormattingIndent | Signature: [const] int autoFormattingIndent Description: Method int QXmlStreamWriter::autoFormattingIndent() Python specific notes: |
autoFormattingIndent= | Signature: void autoFormattingIndent= (int spacesOrTabs) Description: Method void QXmlStreamWriter::setAutoFormattingIndent(int spacesOrTabs) Python specific notes: |
codec | Signature: [const] QTextCodec ptr codec Description: Method QTextCodec *QXmlStreamWriter::codec() Python specific notes: |
codec= | (1) Signature: void codec= (QTextCodec ptr codec) Description: Method void QXmlStreamWriter::setCodec(QTextCodec *codec) Python specific notes: |
(2) Signature: void codec= (string codecName) Description: Method void QXmlStreamWriter::setCodec(const char *codecName) Python specific notes: | |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead 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 Use of this method is deprecated. Use _destroy instead 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 Use of this method is deprecated. Use _destroyed? instead 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. |
device | Signature: [const] QIODevice ptr device Description: Method QIODevice *QXmlStreamWriter::device() Python specific notes: |
device= | Signature: void device= (QIODevice ptr device) Description: Method void QXmlStreamWriter::setDevice(QIODevice *device) Python specific notes: |
hasError | Signature: [const] bool hasError Description: Method bool QXmlStreamWriter::hasError() |
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 This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
new | (1) Signature: [static] new QXmlStreamWriter new Description: Constructor QXmlStreamWriter::QXmlStreamWriter() This method creates an object of class QXmlStreamWriter. Python specific notes: |
(2) Signature: [static] new QXmlStreamWriter new (QIODevice ptr device) Description: Constructor QXmlStreamWriter::QXmlStreamWriter(QIODevice *device) This method creates an object of class QXmlStreamWriter. Python specific notes: | |
(3) Signature: [static] new QXmlStreamWriter new (bytes ptr array) Description: Constructor QXmlStreamWriter::QXmlStreamWriter(QByteArray *array) This method creates an object of class QXmlStreamWriter. Python specific notes: | |
(4) Signature: [static] new QXmlStreamWriter new (string ptr string) Description: Constructor QXmlStreamWriter::QXmlStreamWriter(QString *string) This method creates an object of class QXmlStreamWriter. Python specific notes: | |
setAutoFormatting | Signature: void setAutoFormatting (bool arg1) Description: Method void QXmlStreamWriter::setAutoFormatting(bool) Python specific notes: |
setAutoFormattingIndent | Signature: void setAutoFormattingIndent (int spacesOrTabs) Description: Method void QXmlStreamWriter::setAutoFormattingIndent(int spacesOrTabs) Python specific notes: |
setCodec | (1) Signature: void setCodec (QTextCodec ptr codec) Description: Method void QXmlStreamWriter::setCodec(QTextCodec *codec) Python specific notes: |
(2) Signature: void setCodec (string codecName) Description: Method void QXmlStreamWriter::setCodec(const char *codecName) Python specific notes: | |
setDevice | Signature: void setDevice (QIODevice ptr device) Description: Method void QXmlStreamWriter::setDevice(QIODevice *device) Python specific notes: |
writeAttribute | (1) Signature: void writeAttribute (string qualifiedName, string value) Description: Method void QXmlStreamWriter::writeAttribute(const QString &qualifiedName, const QString &value) |
(2) Signature: void writeAttribute (string namespaceUri, string name, string value) Description: Method void QXmlStreamWriter::writeAttribute(const QString &namespaceUri, const QString &name, const QString &value) | |
(3) Signature: void writeAttribute (const QXmlStreamAttribute attribute) Description: Method void QXmlStreamWriter::writeAttribute(const QXmlStreamAttribute &attribute) | |
writeAttributes | Signature: void writeAttributes (const QXmlStreamAttributes attributes) Description: Method void QXmlStreamWriter::writeAttributes(const QXmlStreamAttributes &attributes) |
writeCDATA | Signature: void writeCDATA (string text) Description: Method void QXmlStreamWriter::writeCDATA(const QString &text) |
writeCharacters | Signature: void writeCharacters (string text) Description: Method void QXmlStreamWriter::writeCharacters(const QString &text) |
writeComment | Signature: void writeComment (string text) Description: Method void QXmlStreamWriter::writeComment(const QString &text) |
writeCurrentToken | Signature: void writeCurrentToken (const QXmlStreamReader reader) Description: Method void QXmlStreamWriter::writeCurrentToken(const QXmlStreamReader &reader) |
writeDTD | Signature: void writeDTD (string dtd) Description: Method void QXmlStreamWriter::writeDTD(const QString &dtd) |
writeDefaultNamespace | Signature: void writeDefaultNamespace (string namespaceUri) Description: Method void QXmlStreamWriter::writeDefaultNamespace(const QString &namespaceUri) |
writeEmptyElement | (1) Signature: void writeEmptyElement (string qualifiedName) Description: Method void QXmlStreamWriter::writeEmptyElement(const QString &qualifiedName) |
(2) Signature: void writeEmptyElement (string namespaceUri, string name) Description: Method void QXmlStreamWriter::writeEmptyElement(const QString &namespaceUri, const QString &name) | |
writeEndDocument | Signature: void writeEndDocument Description: Method void QXmlStreamWriter::writeEndDocument() |
writeEndElement | Signature: void writeEndElement Description: Method void QXmlStreamWriter::writeEndElement() |
writeEntityReference | Signature: void writeEntityReference (string name) Description: Method void QXmlStreamWriter::writeEntityReference(const QString &name) |
writeNamespace | Signature: void writeNamespace (string namespaceUri, string prefix = QString()) Description: Method void QXmlStreamWriter::writeNamespace(const QString &namespaceUri, const QString &prefix) |
writeProcessingInstruction | Signature: void writeProcessingInstruction (string target, string data = QString()) Description: Method void QXmlStreamWriter::writeProcessingInstruction(const QString &target, const QString &data) |
writeStartDocument | (1) Signature: void writeStartDocument Description: Method void QXmlStreamWriter::writeStartDocument() |
(2) Signature: void writeStartDocument (string version) Description: Method void QXmlStreamWriter::writeStartDocument(const QString &version) | |
(3) Signature: void writeStartDocument (string version, bool standalone) Description: Method void QXmlStreamWriter::writeStartDocument(const QString &version, bool standalone) | |
writeStartElement | (1) Signature: void writeStartElement (string qualifiedName) Description: Method void QXmlStreamWriter::writeStartElement(const QString &qualifiedName) |
(2) Signature: void writeStartElement (string namespaceUri, string name) Description: Method void QXmlStreamWriter::writeStartElement(const QString &namespaceUri, const QString &name) | |
writeTextElement | (1) Signature: void writeTextElement (string qualifiedName, string text) Description: Method void QXmlStreamWriter::writeTextElement(const QString &qualifiedName, const QString &text) |
(2) Signature: void writeTextElement (string namespaceUri, string name, string text) Description: Method void QXmlStreamWriter::writeTextElement(const QString &namespaceUri, const QString &name, const QString &text) |