QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Signals | Public Member Functions | Protected Member Functions | List of all members
QgsCredentialDialog Class Reference

A generic dialog for requesting credentials. More...

#include <qgscredentialdialog.h>

Inheritance diagram for QgsCredentialDialog:
Inheritance graph
[legend]

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...
 

Additional Inherited Members

- Static Public Member Functions inherited from QgsCredentials
static QgsCredentialsinstance ()
 retrieves instance More...
 

Detailed Description

A generic dialog for requesting credentials.

Constructor & Destructor Documentation

QgsCredentialDialog::QgsCredentialDialog ( QWidget *  parent = 0,
Qt::WindowFlags  fl = QgisGui::ModalDialogFlags 
)
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 
)
protectedvirtual

request a password

Implements QgsCredentials.


The documentation for this class was generated from the following files: