96 |
96 |
97 def createConfigurationPage(configDlg): |
97 def createConfigurationPage(configDlg): |
98 """ |
98 """ |
99 Module function to create the configuration page. |
99 Module function to create the configuration page. |
100 |
100 |
|
101 @param configDlg reference to the configuration dialog (QDialog) |
101 @return reference to the configuration page |
102 @return reference to the configuration page |
102 """ |
103 """ |
103 global subversionCfgPluginObject |
104 global subversionCfgPluginObject |
104 from VcsPlugins.vcsPySvn.ConfigurationPage.SubversionPage import SubversionPage |
105 from VcsPlugins.vcsPySvn.ConfigurationPage.SubversionPage import SubversionPage |
105 if subversionCfgPluginObject is None: |
106 if subversionCfgPluginObject is None: |
187 def getPreferences(self, key): |
188 def getPreferences(self, key): |
188 """ |
189 """ |
189 Public method to retrieve the various settings. |
190 Public method to retrieve the various settings. |
190 |
191 |
191 @param key the key of the value to get |
192 @param key the key of the value to get |
192 @param prefClass preferences class used as the storage area |
|
193 @return the requested refactoring setting |
193 @return the requested refactoring setting |
194 """ |
194 """ |
195 if key in ["StopLogOnCopy"]: |
195 if key in ["StopLogOnCopy"]: |
196 return Preferences.toBool(Preferences.Prefs.settings.value( |
196 return Preferences.toBool(Preferences.Prefs.settings.value( |
197 "Subversion/" + key, self.__subversionDefaults[key])) |
197 "Subversion/" + key, self.__subversionDefaults[key])) |
208 """ |
208 """ |
209 Public method to store the various settings. |
209 Public method to store the various settings. |
210 |
210 |
211 @param key the key of the setting to be set |
211 @param key the key of the setting to be set |
212 @param value the value to be set |
212 @param value the value to be set |
213 @param prefClass preferences class used as the storage area |
|
214 """ |
213 """ |
215 Preferences.Prefs.settings.setValue("Subversion/" + key, value) |
214 Preferences.Prefs.settings.setValue("Subversion/" + key, value) |
216 |
215 |
217 def getServersPath(self): |
216 def getServersPath(self): |
218 """ |
217 """ |