From e790d08307644b6718b2a547c21370b82aa4f376 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Sun, 25 Sep 2016 11:01:09 +0200 Subject: Fix examples to properly import python_tqt module This resolves bug 2693 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- examples3/tut7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples3/tut7.py') 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) -- cgit v1.2.3