From 27f46d6031d41aa6ce071885a7e280e1097680e1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 8 Jan 2024 11:54:27 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa) --- examples/tut4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tut4.py') diff --git a/examples/tut4.py b/examples/tut4.py index f61a054..ca1c577 100755 --- a/examples/tut4.py +++ b/examples/tut4.py @@ -17,7 +17,7 @@ class MyWidget(tqt.TQWidget): quit.setGeometry(62, 40, 75, 30) quit.setFont(tqt.TQFont("Times", 18, tqt.TQFont.Bold)) - self.connect(quit, tqt.SIGNAL("clicked()"), tqt.tqApp, tqt.SLOT("quit()")) + self.connect(quit, tqt.TQ_SIGNAL("clicked()"), tqt.tqApp, tqt.TQ_SLOT("quit()")) a = tqt.TQApplication(sys.argv) -- cgit v1.2.3