A generic dialog for requesting credentials.
More...
#include <qgscredentialdialog.h>
Public Member Functions |
| QgsCredentialDialog (QWidget *parent=0, Qt::WindowFlags fl=QgisGui::ModalDialogFlags) |
| ~QgsCredentialDialog () |
virtual | ~QgsCredentials () |
| virtual destructor
|
bool | get (QString realm, QString &username, QString &password, QString message=QString::null) |
void | lock () |
| Lock the instance against access from multiple threads.
|
QMutex * | mutex () |
| Return pointer to mutex.
|
void | put (QString realm, QString username, QString password) |
void | unlock () |
| Unlock the instance after being locked.
|
Protected Member Functions |
virtual bool | request (QString realm, QString &username, QString &password, QString message=QString::null) override |
| request a password
|
| QgsCredentials () |
void | setInstance (QgsCredentials *theInstance) |
| register instance
|
Detailed Description
A generic dialog for requesting credentials.
Definition at line 30 of file qgscredentialdialog.h.
Constructor & Destructor Documentation
QgsCredentialDialog::~QgsCredentialDialog |
( |
| ) |
|
Member Function Documentation
void QgsCredentialDialog::credentialsRequested |
( |
QString |
, |
|
|
QString * |
, |
|
|
QString * |
, |
|
|
QString |
, |
|
|
bool * |
|
|
) |
| |
|
signal |
bool QgsCredentialDialog::request |
( |
QString |
realm, |
|
|
QString & |
username, |
|
|
QString & |
password, |
|
|
QString |
message = QString::null |
|
) |
| |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: