class QgsManageConnectionsDialog : QDialog { %TypeHeaderCode #include %End public: enum Mode { Export, Import }; enum Type { WMS, PostGIS, WFS, MSSQL, WCS }; // constructor // mode argument must be 0 for export and 1 for import // type argument must be 0 for WMS and 1 for PostGIS QgsManageConnectionsDialog( QWidget *parent = NULL, Mode mode = Export, Type type = WMS, QString fileName = "" ); public slots: void doExportImport(); void selectAll(); void clearSelection(); };