Quantum GIS API Documentation
1.7.4
|
Default implementation of credentials interface. More...
#include <qgscredentials.h>
Signals | |
void | destroyed () |
signals that object will be destroyed and shouldn't be used anymore | |
Public Member Functions | |
QgsCredentialsConsole () | |
Protected Member Functions | |
virtual bool | request (QString realm, QString &username, QString &password, QString message=QString::null) |
request a password |
Default implementation of credentials interface.
This class outputs message to the standard output and retrieves input from standard input. Therefore it won't be the right choice for apps without GUI.
Definition at line 72 of file qgscredentials.h.
Definition at line 76 of file qgscredentials.cpp.
References QgsCredentials::setInstance().
void QgsCredentialsConsole::destroyed | ( | ) | [signal] |
signals that object will be destroyed and shouldn't be used anymore
bool QgsCredentialsConsole::request | ( | QString | realm, |
QString & | username, | ||
QString & | password, | ||
QString | message = QString::null |
||
) | [protected, virtual] |