Helpviewer/Sync/SyncHostTypePage.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3145
a9de05d4a22f
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the synchronization host type wizard page. 7 Module implementing the synchronization host type wizard page.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtGui import QWizardPage 12 from PyQt4.QtGui import QWizardPage
11 13
12 from . import SyncGlobals 14 from . import SyncGlobals
13 15
24 """ 26 """
25 Constructor 27 Constructor
26 28
27 @param parent reference to the parent widget (QWidget) 29 @param parent reference to the parent widget (QWidget)
28 """ 30 """
29 super().__init__(parent) 31 super(SyncHostTypePage, self).__init__(parent)
30 self.setupUi(self) 32 self.setupUi(self)
31 33
32 if Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeFtp: 34 if Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeFtp:
33 self.ftpRadioButton.setChecked(True) 35 self.ftpRadioButton.setChecked(True)
34 elif Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeDirectory: 36 elif Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeDirectory:

eric ide

mercurial