aboutsummaryrefslogtreecommitdiffstats
path: root/scudcloud-1.0/lib/launcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'scudcloud-1.0/lib/launcher.py')
-rw-r--r--scudcloud-1.0/lib/launcher.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scudcloud-1.0/lib/launcher.py b/scudcloud-1.0/lib/launcher.py
new file mode 100644
index 0000000..32257fd
--- /dev/null
+++ b/scudcloud-1.0/lib/launcher.py
@@ -0,0 +1,8 @@
+from PyQt4.Qt import QApplication
+
+class Launcher:
+ def __init__(self, parent):
+ self.parent = parent
+ def set_property(self, name, value):
+ if "urgent" == name and True == value:
+ QApplication.alert(self.parent)