diff options
author | Slávek Banko <[email protected]> | 2016-09-25 11:01:09 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-25 11:01:09 +0200 |
commit | e790d08307644b6718b2a547c21370b82aa4f376 (patch) | |
tree | eb4cc574e4f5a98bcc1f24ebab980cc38e3354e0 /examples3/tut7.py | |
parent | 0b2f1c4760ceb98b6e3213999a1e4d48d24e91e8 (diff) | |
download | pytqt-e790d08307644b6718b2a547c21370b82aa4f376.tar.gz pytqt-e790d08307644b6718b2a547c21370b82aa4f376.zip |
Fix examples to properly import python_tqt module
This resolves bug 2693
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'examples3/tut7.py')
-rwxr-xr-x | examples3/tut7.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/tut7.py b/examples3/tut7.py index 20e5455..3c9deea 100755 --- a/examples3/tut7.py +++ b/examples3/tut7.py @@ -3,7 +3,7 @@ # TQt tutorial 7. import sys -import qt +from python_tqt import qt class LCDRange(qt.TQVBox): @@ -31,7 +31,7 @@ class MyWidget(qt.TQVBox): quit = qt.TQPushButton("Quit", self, "quit") quit.setFont(qt.TQFont("Times", 18, qt.TQFont.Bold)) - self.connect(quit, qt.SIGNAL("clicked()"), qt.qApp, qt.SLOT("quit()")) + self.connect(quit, qt.SIGNAL("clicked()"), qt.tqApp, qt.SLOT("quit()")) grid = qt.TQGrid(4, self) |