|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.network.QAuthenticator
public class QAuthenticator
The QAuthenticator class provides an authentication object. The QAuthenticator class is usually used in the authenticationRequired()
and proxyAuthenticationRequired()
signals of QHttp
and QAbstractSocket
. The class provides a way to pass back the required authentication information to the socket when accessing services that require authentication.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
---|
QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
Field Summary |
---|
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
currentSender |
Constructor Summary | |
---|---|
QAuthenticator()
Constructs an empty authentication object |
|
QAuthenticator(QAuthenticator other)
Constructs a copy of other. |
Method Summary | |
---|---|
QAuthenticator |
clone()
This method is reimplemented for internal reasons |
boolean |
isNull()
returns true if the authenticator is null. |
java.lang.String |
password()
returns the password used for authentication. |
java.lang.String |
realm()
returns the realm requiring authentication. |
void |
setPassword(java.lang.String password)
Sets the password used for authentication. |
void |
setUser(java.lang.String user)
Sets the user used for authentication. |
java.lang.String |
user()
returns the user used for authentication. |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QAuthenticator()
public QAuthenticator(QAuthenticator other)
Method Detail |
---|
public final boolean isNull()
public final java.lang.String password()
setPassword()
.
public final java.lang.String realm()
public final void setPassword(java.lang.String password)
password()
.
public final void setUser(java.lang.String user)
user()
.
public final java.lang.String user()
setUser()
.
public QAuthenticator clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |