API reference - Class QAuthenticator

Notation used in Ruby API documentation

Description: Binding of QAuthenticator

Public constructors

new QAuthenticatornewConstructor QAuthenticator::QAuthenticator()
new QAuthenticatornew(const QAuthenticator other)Constructor QAuthenticator::QAuthenticator(const QAuthenticator &other)

Public methods

[const]bool!=(const QAuthenticator other)Method bool QAuthenticator::operator!=(const QAuthenticator &other)
[const]bool==(const QAuthenticator other)Method bool QAuthenticator::operator==(const QAuthenticator &other)
QAuthenticatorassign(const QAuthenticator other)Method QAuthenticator &QAuthenticator::operator=(const QAuthenticator &other)
[const]voidassign(const QAuthenticator other)Assign the contents of another object to self
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
voiddetachMethod void QAuthenticator::detach()
[const]QAuthenticatordupCreates a copy of self
[const]boolisNullMethod bool QAuthenticator::isNull()
[const]boolisNull?Method bool QAuthenticator::isNull()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]stringpasswordMethod QString QAuthenticator::password()
voidpassword=(string password)Method void QAuthenticator::setPassword(const QString &password)
[const]stringrealmMethod QString QAuthenticator::realm()
voidsetPassword(string password)Method void QAuthenticator::setPassword(const QString &password)
voidsetUser(string user)Method void QAuthenticator::setUser(const QString &user)
[const]stringuserMethod QString QAuthenticator::user()
voiduser=(string user)Method void QAuthenticator::setUser(const QString &user)

Detailed description

[const] bool !=(const QAuthenticator other)

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

[const] bool ==(const QAuthenticator other)

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

QAuthenticator assign(const QAuthenticator other)

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

[const] void assign(const QAuthenticator 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 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.

void detach

Description: Method void QAuthenticator::detach()

[const] QAuthenticator dup

Description: Creates a copy of self

[const] bool isNull

Description: Method bool QAuthenticator::isNull()

[const] bool isNull?

Description: Method bool QAuthenticator::isNull()

[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 QAuthenticator new

Description: Constructor QAuthenticator::QAuthenticator()

This method creates an object of class QAuthenticator.

[static] new QAuthenticator new(const QAuthenticator other)

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

This method creates an object of class QAuthenticator.

[const] string password

Description: Method QString QAuthenticator::password()

void password=(string password)

Description: Method void QAuthenticator::setPassword(const QString &password)

[const] string realm

Description: Method QString QAuthenticator::realm()

void setPassword(string password)

Description: Method void QAuthenticator::setPassword(const QString &password)

void setUser(string user)

Description: Method void QAuthenticator::setUser(const QString &user)

[const] string user

Description: Method QString QAuthenticator::user()

void user=(string user)

Description: Method void QAuthenticator::setUser(const QString &user)