Plugins/PluginVcsPySvn.py

changeset 2962
d6c9d1ca2da4
parent 2712
4354ab0b67c7
child 3004
c4bf32c791d0
equal deleted inserted replaced
2961:e4e2efb4846a 2962:d6c9d1ca2da4
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 """

eric ide

mercurial