|
QGIS API Documentation
2.4.0-Chugiak
|
A generic dialog for requesting credentials. More...
#include <qgscredentialdialog.h>


Signals | |
| void | credentialsRequested (QString, QString *, QString *, QString, bool *) |
Public Member Functions | |
| QgsCredentialDialog (QWidget *parent=0, Qt::WindowFlags fl=QgisGui::ModalDialogFlags) | |
| ~QgsCredentialDialog () | |
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... | |
Private Slots | |
| void | requestCredentials (QString, QString *, QString *, QString, bool *) |
Additional Inherited Members | |
Static Public Member Functions inherited from QgsCredentials | |
| static QgsCredentials * | instance () |
| retrieves instance More... | |
A generic dialog for requesting credentials.
Definition at line 30 of file qgscredentialdialog.h.
| QgsCredentialDialog::QgsCredentialDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | fl = QgisGui::ModalDialogFlags |
||
| ) |
Definition at line 24 of file qgscredentialdialog.cpp.
References credentialsRequested(), requestCredentials(), and QgsCredentials::setInstance().
| QgsCredentialDialog::~QgsCredentialDialog | ( | ) |
Definition at line 34 of file qgscredentialdialog.cpp.
|
signal |
Referenced by QgsCredentialDialog(), and request().
|
protectedvirtual |
request a password
Implements QgsCredentials.
Definition at line 38 of file qgscredentialdialog.cpp.
References credentialsRequested(), QgsDebugMsg, and requestCredentials().
|
privateslot |
Definition at line 54 of file qgscredentialdialog.cpp.
References QgsDebugMsg.
Referenced by QgsCredentialDialog(), and request().
1.8.7