QGIS API Documentation
2.4.0-Chugiak
|
Default implementation of credentials interface. More...
#include <qgscredentials.h>
Signals | |
void | destroyed () |
signals that object will be destroyed and shouldn't be used anymore More... | |
Public Member Functions | |
QgsCredentialsConsole () | |
Public Member Functions inherited from QgsCredentials | |
virtual | ~QgsCredentials () |
virtual destructor More... | |
bool | get (QString realm, QString &username, QString &password, QString message=QString::null) |
void | put (QString realm, QString username, QString password) |
void | lock () |
Lock the instance against access from multiple threads. More... | |
void | unlock () |
Unlock the instance after being locked. More... | |
QMutex * | mutex () |
Return pointer to mutex. More... | |
Protected Member Functions | |
virtual bool | request (QString realm, QString &username, QString &password, QString message=QString::null) |
request a password More... | |
Protected Member Functions inherited from QgsCredentials | |
QgsCredentials () | |
void | setInstance (QgsCredentials *theInstance) |
register instance More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from QgsCredentials | |
static QgsCredentials * | instance () |
retrieves instance More... | |
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 98 of file qgscredentials.h.
QgsCredentialsConsole::QgsCredentialsConsole | ( | ) |
Definition at line 94 of file qgscredentials.cpp.
References QgsCredentials::setInstance().
|
signal |
signals that object will be destroyed and shouldn't be used anymore
|
protectedvirtual |