summaryrefslogtreecommitdiffstats
path: root/examples/aclock.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/aclock.py')
-rwxr-xr-xexamples/aclock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aclock.py b/examples/aclock.py
index 23ef169..ca81eb3 100755
--- a/examples/aclock.py
+++ b/examples/aclock.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys
-from PyTQt.qt import *
+from PyTQt.tqt import *
def TQMIN(x, y):
if y > x: return y
@@ -19,7 +19,7 @@ class AnalogClock(TQWidget):
if new_time.minute() != self.time.minute():
self.update()
- def paintEvent(self, qe):
+ def paintEvent(self, tqe):
if not self.isVisible():
return
self.time = TQTime.currentTime()