summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/eip_status.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-04-16 14:48:53 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-04-17 12:12:26 -0300
commitdef537bb5a78e046a75a9e13ea75449eec2b34c8 (patch)
treecfa00c026309f47f1ec6bc2e667639a23b20aa96 /src/leap/bitmask/gui/eip_status.py
parentdcfaeea8c892ecb962080a1fbdc456bdfe851eea (diff)
Use Slot decorator instead of SLOT docstring.
Diffstat (limited to 'src/leap/bitmask/gui/eip_status.py')
-rw-r--r--src/leap/bitmask/gui/eip_status.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/gui/eip_status.py b/src/leap/bitmask/gui/eip_status.py
index f24d87c7..2ced7dc7 100644
--- a/src/leap/bitmask/gui/eip_status.py
+++ b/src/leap/bitmask/gui/eip_status.py
@@ -88,9 +88,9 @@ class EIPStatusWidget(QtGui.QWidget):
self.ui.btnUpload.clicked.connect(onclicked)
self.ui.btnDownload.clicked.connect(onclicked)
+ @QtCore.Slot()
def _on_VPN_status_clicked(self):
"""
- SLOT
TRIGGER: self.ui.btnUpload.clicked
self.ui.btnDownload.clicked
@@ -347,9 +347,9 @@ class EIPStatusWidget(QtGui.QWidget):
self.tr("Traffic is being routed in the clear"))
self.ui.lblEIPStatus.show()
+ @QtCore.Slot(dict)
def update_vpn_status(self, data=None):
"""
- SLOT
TRIGGER: Signaler.eip_status_changed
Updates the download/upload labels based on the data provided by the
@@ -381,9 +381,9 @@ class EIPStatusWidget(QtGui.QWidget):
self.ui.btnUpload.setText(upload_str)
self.ui.btnDownload.setText(download_str)
+ @QtCore.Slot(dict)
def update_vpn_state(self, vpn_state):
"""
- SLOT
TRIGGER: Signaler.eip_state_changed
Updates the displayed VPN state based on the data provided by