209 """ |
209 """ |
210 Public method to close the database. |
210 Public method to close the database. |
211 """ |
211 """ |
212 if QSqlDatabase.database(self.__connectionName).isOpen(): |
212 if QSqlDatabase.database(self.__connectionName).isOpen(): |
213 QSqlDatabase.database(self.__connectionName).close() |
213 QSqlDatabase.database(self.__connectionName).close() |
214 QSqlDatabase.removeDatabase(self.__language) |
214 QSqlDatabase.removeDatabase(self.__connectionName) |
215 |
215 |
216 def __openCacheDb(self): |
216 def __openCacheDb(self): |
217 """ |
217 """ |
218 Private method to open the cache database. |
218 Private method to open the cache database. |
219 |
219 |