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/SQL/frmconnect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/SQL/frmconnect.py') diff --git a/examples/SQL/frmconnect.py b/examples/SQL/frmconnect.py index 430f5b2..7945f42 100644 --- a/examples/SQL/frmconnect.py +++ b/examples/SQL/frmconnect.py @@ -104,8 +104,8 @@ class frmConnect(TQDialog): frmConnectLayout.addWidget(self.grpConnection,0,0) - self.connect(self.buttonOK,SIGNAL("clicked()"),self,SLOT("accept()")) - self.connect(self.buttonCancel,SIGNAL("clicked()"),self,SLOT("reject()")) + self.connect(self.buttonOK,TQ_SIGNAL("clicked()"),self,TQ_SLOT("accept()")) + self.connect(self.buttonCancel,TQ_SIGNAL("clicked()"),self,TQ_SLOT("reject()")) self.setTabOrder(self.txtName,self.txtPasswd) self.setTabOrder(self.txtPasswd,self.cmbServer) -- cgit v1.2.3