Preferences/ConfigurationPages/HelpVirusTotalPage.py

changeset 992
566e87428fc8
parent 979
0ae0c8852d31
child 1131
7781e396c903
equal deleted inserted replaced
991:5ec5e707dfa5 992:566e87428fc8
19 19
20 class HelpVirusTotalPage(ConfigurationPageBase, Ui_HelpVirusTotalPage): 20 class HelpVirusTotalPage(ConfigurationPageBase, Ui_HelpVirusTotalPage):
21 """ 21 """
22 Class documentation goes here. 22 Class documentation goes here.
23 """ 23 """
24 def __init__(self, parent = None): 24 def __init__(self, parent=None):
25 """ 25 """
26 Constructor 26 Constructor
27 27
28 @param parent reference to the parent widget (QWidget) 28 @param parent reference to the parent widget (QWidget)
29 """ 29 """
47 47
48 def save(self): 48 def save(self):
49 """ 49 """
50 Public slot to save the VirusTotal configuration. 50 Public slot to save the VirusTotal configuration.
51 """ 51 """
52 Preferences.setHelp("VirusTotalEnabled", 52 Preferences.setHelp("VirusTotalEnabled",
53 self.vtEnabledCheckBox.isChecked()) 53 self.vtEnabledCheckBox.isChecked())
54 Preferences.setHelp("VirusTotalSecure", 54 Preferences.setHelp("VirusTotalSecure",
55 self.vtSecureCheckBox.isChecked()) 55 self.vtSecureCheckBox.isChecked())
56 Preferences.setHelp("VirusTotalServiceKey", 56 Preferences.setHelp("VirusTotalServiceKey",
57 self.vtServiceKeyEdit.text()) 57 self.vtServiceKeyEdit.text())
58 58
59 @pyqtSlot(str) 59 @pyqtSlot(str)
60 def on_vtServiceKeyEdit_textChanged(self, txt): 60 def on_vtServiceKeyEdit_textChanged(self, txt):
61 """ 61 """

eric ide

mercurial