35 """ |
35 """ |
36 if self.__settings is not None: |
36 if self.__settings is not None: |
37 self.__settings.sync() |
37 self.__settings.sync() |
38 self.__settings = None |
38 self.__settings = None |
39 |
39 |
40 self.__settings = QSettings(name, QSettings.IniFormat) |
40 self.__settings = QSettings(name, QSettings.Format.IniFormat) |
41 |
41 |
42 @pyqtSlot(str, str, str) |
42 @pyqtSlot(str, str, str) |
43 def getValue(self, nspace, name, dValue): |
43 def getValue(self, nspace, name, dValue): |
44 """ |
44 """ |
45 Public slot to get the value for the named variable for the identified |
45 Public slot to get the value for the named variable for the identified |