KIO
KIO::KPasswdServer Class Reference
Interface class for kpasswdserver. More...
#include <kpasswdserver_p.h>
Public Member Functions | |
| KPasswdServer () | |
| ~KPasswdServer () | |
| void | addAuthInfo (const KIO::AuthInfo &info, qlonglong windowId) |
| bool | checkAuthInfo (KIO::AuthInfo &info, qlonglong windowId, qlonglong usertime) |
| qlonglong | queryAuthInfo (KIO::AuthInfo &info, const QString &errorMsg, qlonglong windowId, qlonglong seqNr, qlonglong usertime) |
| void | removeAuthInfo (const QString &host, const QString &protocol, const QString &user) |
Detailed Description
Interface class for kpasswdserver.
- Remarks:
- This is currently only supposed to be used by KIO::SlaveBase but might be reused as public API in the future.
Definition at line 40 of file kpasswdserver_p.h.
Constructor & Destructor Documentation
| builddir build BUILD kdelibs kio kio kpasswdserver cpp builddir build BUILD kdelibs kio kio kpasswdserver cpp KIO::KPasswdServer::KPasswdServer | ( | ) |
Definition at line 37 of file kpasswdserver.cpp.
| KIO::KPasswdServer::~KPasswdServer | ( | ) |
Definition at line 44 of file kpasswdserver.cpp.
Member Function Documentation
| void KIO::KPasswdServer::addAuthInfo | ( | const KIO::AuthInfo & | info, |
| qlonglong | windowId | ||
| ) |
Manually add authentication information to kpasswdserver's cache.
- Parameters:
-
info information to add windowId used as parent window for dialogs
Definition at line 187 of file kpasswdserver.cpp.
| bool KIO::KPasswdServer::checkAuthInfo | ( | KIO::AuthInfo & | info, |
| qlonglong | windowId, | ||
| qlonglong | usertime | ||
| ) |
Check if kpasswdserver has cached authentication information regarding an AuthInfo object.
- Parameters:
-
info information to check cache for windowId used as parent for dialogs usertime FIXME: I'd like to know as well :)
- Returns:
- true if kpasswdserver provided cached information, false if not
- Remarks:
- info will contain the results of the check. To see if information was retrieved, check info.isModified().
Definition at line 49 of file kpasswdserver.cpp.
| qlonglong KIO::KPasswdServer::queryAuthInfo | ( | KIO::AuthInfo & | info, |
| const QString & | errorMsg, | ||
| qlonglong | windowId, | ||
| qlonglong | seqNr, | ||
| qlonglong | usertime | ||
| ) |
Let kpasswdserver ask the user for authentication information.
- Parameters:
-
info information to query the user for errorMsg error message that will be displayed to the user seqNr sequence number to assign to this request windowId used as parent for dialogs usertime FIXME: I'd like to know as well :)
- Returns:
- kpasswdserver's sequence number or -1 on error
- Remarks:
- info will contain the results of the check. To see if information was retrieved, check info.isModified().
Definition at line 115 of file kpasswdserver.cpp.
| void KIO::KPasswdServer::removeAuthInfo | ( | const QString & | host, |
| const QString & | protocol, | ||
| const QString & | user | ||
| ) |
Manually remove authentication information from kpasswdserver's cache.
- Parameters:
-
host hostname of the information to remove protocol protocol to remove information for user username to remove information for
Definition at line 205 of file kpasswdserver.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference