Saves the current profile as a new profile to the manager.

def saveProfileAs( self ):
        """
        Saves the current profile as a new profile to the manager.
        """
        name, ok = QInputDialog.getText(self, 'Create Profile', 'Name:')
        if ( not name ):
            return
        
        manager = self.parent()
        prof    = manager.viewWidget().saveProfile()
        prof.setName(nativestring(name))
        self.parent().addProfile(prof)