|
QGIS API Documentation
2.6.0-Brighton
|
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 | |
| 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. | |
| void | unlock () |
| Unlock the instance after being locked. | |
| QMutex * | mutex () |
| Return pointer to mutex. | |
Protected Member Functions | |
| virtual bool | request (QString realm, QString &username, QString &password, QString message=QString::null) |
| request a password | |
Protected Member Functions inherited from QgsCredentials | |
| QgsCredentials () | |
| void | setInstance (QgsCredentials *theInstance) |
| register instance | |
Additional Inherited Members | |
Static Public Member Functions inherited from QgsCredentials | |
| static QgsCredentials * | instance () |
| retrieves instance | |
A generic dialog for requesting credentials.
| QgsCredentialDialog::QgsCredentialDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | fl = QgisGui::ModalDialogFlags |
||
| ) |
| QgsCredentialDialog::~QgsCredentialDialog | ( | ) |
|
signal |
|
protectedvirtual |
request a password
Implements QgsCredentials.
1.8.1.2