def editServer( self ):
    settings = QSettings()
    url = settings.value( "/CSWClient/" + self.cmbConnections.currentText() + "/url" ).toString()

    dlgEdit = NewCSWConnectionDialog( self.cmbConnections.currentText() )
    dlgEdit.setWindowTitle( self.tr( "Edit CSW server" ) )
    dlgEdit.leName.setText( self.cmbConnections.currentText() )
    dlgEdit.leURL.setText( url )
    if dlgEdit.exec_() == QDialog.Accepted:
      self.populateConnectionList()
 def newServer( self ):
   dlgNew = NewCSWConnectionDialog()
   dlgNew.setWindowTitle( self.tr( "New CSW server" ) )
   if dlgNew.exec_() == QDialog.Accepted:
     self.populateConnectionList()