rename ICap to Cap (closes #1424)
This commit is contained in:
parent
51958135cb
commit
e025fb0b20
244 changed files with 679 additions and 679 deletions
|
|
@ -24,7 +24,7 @@ from decimal import Decimal
|
|||
|
||||
from weboob.tools.application.qt import QtMainWindow, QtDo, HTMLDelegate
|
||||
from weboob.tools.application.qt.backendcfg import BackendCfg
|
||||
from weboob.capabilities.housing import ICapHousing, Query, City
|
||||
from weboob.capabilities.housing import CapHousing, Query, City
|
||||
from weboob.capabilities.base import NotLoaded, NotAvailable
|
||||
|
||||
from .ui.main_window_ui import Ui_MainWindow
|
||||
|
|
@ -101,7 +101,7 @@ class MainWindow(QtMainWindow):
|
|||
QtMainWindow.closeEvent(self, event)
|
||||
|
||||
def backendsConfig(self):
|
||||
bckndcfg = BackendCfg(self.weboob, (ICapHousing,), self)
|
||||
bckndcfg = BackendCfg(self.weboob, (CapHousing,), self)
|
||||
if bckndcfg.run():
|
||||
pass
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from weboob.capabilities.housing import ICapHousing
|
||||
from weboob.capabilities.housing import CapHousing
|
||||
from weboob.tools.application.qt import QtApplication
|
||||
from weboob.tools.config.yamlconfig import YamlConfig
|
||||
|
||||
|
|
@ -31,12 +31,12 @@ class QFlatBoob(QtApplication):
|
|||
COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon'
|
||||
DESCRIPTION = "Qt application to search for housing."
|
||||
SHORT_DESCRIPTION = "search for housing"
|
||||
CAPS = ICapHousing
|
||||
CAPS = CapHousing
|
||||
CONFIG = {'queries': {}}
|
||||
STORAGE = {'bookmarks': [], 'read': [], 'notes': {}}
|
||||
|
||||
def main(self, argv):
|
||||
self.load_backends(ICapHousing)
|
||||
self.load_backends(CapHousing)
|
||||
self.create_storage()
|
||||
self.load_config(klass=YamlConfig)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue