API reference - Class QProcessEnvironment

Notation used in Ruby API documentation

Description: Binding of QProcessEnvironment

Public constructors

new QProcessEnvironmentnewConstructor QProcessEnvironment::QProcessEnvironment()
new QProcessEnvironmentnew(const QProcessEnvironment other)Constructor QProcessEnvironment::QProcessEnvironment(const QProcessEnvironment &other)

Public methods

[const]bool!=(const QProcessEnvironment other)Method bool QProcessEnvironment::operator!=(const QProcessEnvironment &other)
[const]bool==(const QProcessEnvironment other)Method bool QProcessEnvironment::operator==(const QProcessEnvironment &other)
QProcessEnvironmentassign(const QProcessEnvironment other)Method QProcessEnvironment &QProcessEnvironment::operator=(const QProcessEnvironment &other)
[const]voidassign(const QProcessEnvironment other)Assign the contents of another object to self
voidclearMethod void QProcessEnvironment::clear()
[const]boolcontains(string name)Method bool QProcessEnvironment::contains(const QString &name)
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QProcessEnvironmentdupCreates a copy of self
voidinsert(string name,
string value)
Method void QProcessEnvironment::insert(const QString &name, const QString &value)
[const]boolisEmptyMethod bool QProcessEnvironment::isEmpty()
[const]boolisEmpty?Method bool QProcessEnvironment::isEmpty()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
voidremove(string name)Method void QProcessEnvironment::remove(const QString &name)
[const]string[]toStringListMethod QStringList QProcessEnvironment::toStringList()
[const]stringvalue(string name,
string defaultValue = QString())
Method QString QProcessEnvironment::value(const QString &name, const QString &defaultValue)

Public static methods and constants

QProcessEnvironmentsystemEnvironmentStatic method QProcessEnvironment QProcessEnvironment::systemEnvironment()

Detailed description

[const] bool !=(const QProcessEnvironment other)

Description: Method bool QProcessEnvironment::operator!=(const QProcessEnvironment &other)

[const] bool ==(const QProcessEnvironment other)

Description: Method bool QProcessEnvironment::operator==(const QProcessEnvironment &other)

QProcessEnvironment assign(const QProcessEnvironment other)

Description: Method QProcessEnvironment &QProcessEnvironment::operator=(const QProcessEnvironment &other)

[const] void assign(const QProcessEnvironment other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

void clear

Description: Method void QProcessEnvironment::clear()

[const] bool contains(string name)

Description: Method bool QProcessEnvironment::contains(const QString &name)

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.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, 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] QProcessEnvironment dup

Description: Creates a copy of self

void insert(string name,string value)

Description: Method void QProcessEnvironment::insert(const QString &name, const QString &value)

[const] bool isEmpty

Description: Method bool QProcessEnvironment::isEmpty()

[const] bool isEmpty?

Description: Method bool QProcessEnvironment::isEmpty()

[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.

[static] new QProcessEnvironment new

Description: Constructor QProcessEnvironment::QProcessEnvironment()

This method creates an object of class QProcessEnvironment.

[static] new QProcessEnvironment new(const QProcessEnvironment other)

Description: Constructor QProcessEnvironment::QProcessEnvironment(const QProcessEnvironment &other)

This method creates an object of class QProcessEnvironment.

void remove(string name)

Description: Method void QProcessEnvironment::remove(const QString &name)

[static] QProcessEnvironment systemEnvironment

Description: Static method QProcessEnvironment QProcessEnvironment::systemEnvironment()

This method is static and can be called without an instance.

[const] string[] toStringList

Description: Method QStringList QProcessEnvironment::toStringList()

[const] string value(string name,string defaultValue = QString())

Description: Method QString QProcessEnvironment::value(const QString &name, const QString &defaultValue)