#include <qgsnewconnection.h>
Definition at line 26 of file qgsnewconnection.h.
Public Slots | |
| void | on_btnOk_clicked () |
| Autoconnected SLOTS. | |
| void | on_btnCancel_clicked () |
| void | on_btnHelp_clicked () |
| void | on_btnConnect_clicked () |
| void | on_cb_geometryColumnsOnly_clicked () |
Public Member Functions | |
| QgsNewConnection (QWidget *parent=0, const QString &connName=QString::null, Qt::WFlags fl=QgisGui::ModalDialogFlags) | |
| Constructor. | |
| ~QgsNewConnection () | |
| Destructor. | |
| void | testConnection () |
| Tests the connection using the parameters supplied. | |
| void | saveConnection () |
| Saves the connection to ~/.qt/qgisrc. | |
| void | helpInfo () |
| Display the context help. | |
Static Private Attributes | |
| static const int | context_id = 929865718 |
| QgsNewConnection::QgsNewConnection | ( | QWidget * | parent = 0, |
|
| const QString & | connName = QString::null, |
|||
| Qt::WFlags | fl = QgisGui::ModalDialogFlags | |||
| ) |
Constructor.
Definition at line 33 of file qgsnewconnection.cpp.
References on_cb_geometryColumnsOnly_clicked().
| QgsNewConnection::~QgsNewConnection | ( | ) |
| void QgsNewConnection::testConnection | ( | ) |
Tests the connection using the parameters supplied.
Definition at line 108 of file qgsnewconnection.cpp.
References QgsDataSourceURI::connectionInfo(), QgsLogger::debug(), and QgsDataSourceURI::setConnection().
Referenced by on_btnConnect_clicked().
| void QgsNewConnection::saveConnection | ( | ) |
Saves the connection to ~/.qt/qgisrc.
Definition at line 131 of file qgsnewconnection.cpp.
Referenced by QgsSpit::editConnection(), QgsDbSourceSelect::editConnection(), and on_btnOk_clicked().
| void QgsNewConnection::helpInfo | ( | ) |
Display the context help.
Definition at line 148 of file qgsnewconnection.cpp.
References context_id, and QgsContextHelp::run().
Referenced by on_btnHelp_clicked().
| void QgsNewConnection::on_btnOk_clicked | ( | ) | [slot] |
Autoconnected SLOTS.
Definition at line 73 of file qgsnewconnection.cpp.
References saveConnection().
| void QgsNewConnection::on_btnCancel_clicked | ( | ) | [slot] |
Definition at line 88 of file qgsnewconnection.cpp.
| void QgsNewConnection::on_btnHelp_clicked | ( | ) | [slot] |
| void QgsNewConnection::on_btnConnect_clicked | ( | ) | [slot] |
| void QgsNewConnection::on_cb_geometryColumnsOnly_clicked | ( | ) | [slot] |
const int QgsNewConnection::context_id = 929865718 [static, private] |
1.5.1