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

Dialog to allow the user to configure and save connection information for an HTTP Server for WMS, etc. More...

#include <qgsnewhttpconnection.h>

Public Slots

void accept ()
 Saves the connection to ~/.qt/qgisrc.
void on_txtName_textChanged (const QString &)
void on_buttonBox_helpRequested ()

Public Member Functions

 QgsNewHttpConnection (QWidget *parent=0, const QString &baseKey="/Qgis/connections-wms/", const QString &connName=QString::null, Qt::WFlags fl=QgisGui::ModalDialogFlags)
 Constructor.
 ~QgsNewHttpConnection ()
 Destructor.

Private Attributes

QString mBaseKey
QString mCredentialsBaseKey
QString mOriginalConnName

Detailed Description

Dialog to allow the user to configure and save connection information for an HTTP Server for WMS, etc.

Definition at line 26 of file qgsnewhttpconnection.h.

Constructor & Destructor Documentation

QgsNewHttpConnection::QgsNewHttpConnection ( QWidget *  parent = 0,
const QString &  baseKey = "/Qgis/connections-wms/",
const QString &  connName = QString::null,
Qt::WFlags  fl = QgisGui::ModalDialogFlags 
)

Constructor.

Definition at line 24 of file qgsnewhttpconnection.cpp.

References mBaseKey, mCredentialsBaseKey, on_txtName_textChanged(), and tr.

QgsNewHttpConnection::~QgsNewHttpConnection ( )

Destructor.

Definition at line 102 of file qgsnewhttpconnection.cpp.

Member Function Documentation

void QgsNewHttpConnection::accept ( )
slot

Saves the connection to ~/.qt/qgisrc.

Definition at line 111 of file qgsnewhttpconnection.cpp.

References mBaseKey, mCredentialsBaseKey, mOriginalConnName, and tr.

void QgsNewHttpConnection::on_buttonBox_helpRequested ( )
inlineslot

Definition at line 41 of file qgsnewhttpconnection.h.

References QgsContextHelp::run().

void QgsNewHttpConnection::on_txtName_textChanged ( const QString &  text)
slot

Definition at line 106 of file qgsnewhttpconnection.cpp.

Referenced by QgsNewHttpConnection().

Member Data Documentation

QString QgsNewHttpConnection::mBaseKey
private

Definition at line 44 of file qgsnewhttpconnection.h.

Referenced by accept(), and QgsNewHttpConnection().

QString QgsNewHttpConnection::mCredentialsBaseKey
private

Definition at line 45 of file qgsnewhttpconnection.h.

Referenced by accept(), and QgsNewHttpConnection().

QString QgsNewHttpConnection::mOriginalConnName
private

Definition at line 46 of file qgsnewhttpconnection.h.

Referenced by accept().


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