change vocabulary
s/module/backend s/backend/configured_backend s/frontend/application
This commit is contained in:
parent
29d28ba175
commit
5c2ab81e16
27 changed files with 347 additions and 347 deletions
|
|
@ -44,10 +44,10 @@ class MainWindow(QtMainWindow):
|
|||
self.ui.tabWidget.addTab(ContactsWidget(self.weboob), self.tr('Contacts'))
|
||||
self.ui.tabWidget.addTab(QWidget(), self.tr('Calendar'))
|
||||
|
||||
self.connect(self.ui.actionModules, SIGNAL("triggered()"), self.modulesConfig)
|
||||
self.connect(self.ui.actionBackends, SIGNAL("triggered()"), self.backendsConfig)
|
||||
self.connect(self.ui.tabWidget, SIGNAL('currentChanged(int)'), self.tabChanged)
|
||||
|
||||
def modulesConfig(self):
|
||||
def backendsConfig(self):
|
||||
bckndcfg = BackendCfg(self.weboob, (ICapDating,), self)
|
||||
bckndcfg.show()
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class QHaveSex(QtApplication):
|
|||
STORAGE_FILENAME = 'dating.storage'
|
||||
|
||||
def main(self, argv):
|
||||
self.load_backends(ICapDating, storage=self.create_storage())
|
||||
self.load_configured_backends(ICapDating, storage=self.create_storage())
|
||||
|
||||
self.main_window = MainWindow(self.config, self.weboob)
|
||||
self.main_window.show()
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<property name="title">
|
||||
<string>File</string>
|
||||
</property>
|
||||
<addaction name="actionModules"/>
|
||||
<addaction name="actionBackends"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionQuit"/>
|
||||
</widget>
|
||||
|
|
@ -54,11 +54,11 @@
|
|||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<addaction name="actionModules"/>
|
||||
<addaction name="actionBackends"/>
|
||||
</widget>
|
||||
<action name="actionModules">
|
||||
<action name="actionBackends">
|
||||
<property name="text">
|
||||
<string>Modules</string>
|
||||
<string>Backends</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionQuit">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue