46 |
46 |
47 def save(self): |
47 def save(self): |
48 """ |
48 """ |
49 Public slot to save the VirusTotal configuration. |
49 Public slot to save the VirusTotal configuration. |
50 """ |
50 """ |
51 Preferences.setHelp("VirusTotalEnabled", |
51 Preferences.setHelp( |
|
52 "VirusTotalEnabled", |
52 self.vtEnabledCheckBox.isChecked()) |
53 self.vtEnabledCheckBox.isChecked()) |
53 Preferences.setHelp("VirusTotalSecure", |
54 Preferences.setHelp( |
|
55 "VirusTotalSecure", |
54 self.vtSecureCheckBox.isChecked()) |
56 self.vtSecureCheckBox.isChecked()) |
55 Preferences.setHelp("VirusTotalServiceKey", |
57 Preferences.setHelp( |
|
58 "VirusTotalServiceKey", |
56 self.vtServiceKeyEdit.text()) |
59 self.vtServiceKeyEdit.text()) |
57 |
60 |
58 @pyqtSlot(str) |
61 @pyqtSlot(str) |
59 def on_vtServiceKeyEdit_textChanged(self, txt): |
62 def on_vtServiceKeyEdit_textChanged(self, txt): |
60 """ |
63 """ |