QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Protected Member Functions | List of all members
QgsCredentialsConsole Class Reference

Default implementation of credentials interface. More...

#include <qgscredentials.h>

Inheritance diagram for QgsCredentialsConsole:
Inheritance graph
[legend]
Collaboration diagram for QgsCredentialsConsole:
Collaboration graph
[legend]

Signals

void destroyed ()
 signals that object will be destroyed and shouldn't be used anymore

Public Member Functions

 QgsCredentialsConsole ()
- 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)

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
void setInstance (QgsCredentials *theInstance)
 register instance

Additional Inherited Members

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

Detailed Description

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 71 of file qgscredentials.h.

Constructor & Destructor Documentation

QgsCredentialsConsole::QgsCredentialsConsole ( )

Definition at line 77 of file qgscredentials.cpp.

References QgsCredentials::setInstance().

Member Function Documentation

void QgsCredentialsConsole::destroyed ( )
signal

signals that object will be destroyed and shouldn't be used anymore

bool QgsCredentialsConsole::request ( QString  realm,
QString &  username,
QString &  password,
QString  message = QString::null 
)
protectedvirtual

request a password

Implements QgsCredentials.

Definition at line 82 of file qgscredentials.cpp.


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